fix: disable default features for futures-core
          
            #3
        
      
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: 📋 Code Quality | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'main' | |
| paths: | |
| - '.github/workflows/code-quality.yml' | |
| - 'src/**/*.rs' | |
| - 'Cargo.toml' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/code-quality.yml' | |
| - 'src/**/*.rs' | |
| - 'Cargo.toml' | |
| env: | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| lint-and-fmt: | |
| name: Lint & format | |
| runs-on: ubuntu-24.04 | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install nightly Rust toolchain | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| toolchain: nightly-2024-11-11 | |
| components: rustfmt, clippy | |
| - name: Check fmt | |
| run: cargo fmt --all -- --check | |
| - name: Run clippy | |
| run: cargo clippy |