diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 359ecbc..1ba55a2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,14 +30,8 @@ jobs: restore-keys: | ${{ runner.os }}-cargo-registry- - - name: Install Rust toolchain via rustup - run: | - rustup override set nightly - rustup component add clippy --toolchain nightly - rustup component add rustfmt --toolchain nightly - - name: Check lint - run: cargo clippy -- -D warnings + run: cargo +nightly clippy -- -D warnings - name: Check formatting - run: cargo fmt -- --check + run: cargo +nightly fmt -- --check diff --git a/Cargo.toml b/Cargo.toml index f4cbe42..2a537c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,11 @@ edition = "2021" authors = ["malik ", "Shuhui Luo "] description = "The Uniswap SDK Core in Rust provides essential functionality for interacting with the Uniswap decentralized exchange" license = "MIT" +readme = "README.md" +repository = "https://github.com/malik672/uniswap-sdk-core-rust" +categories = ["cryptography::cryptocurrencies", "finance", "no-std"] +keywords = ["sdk-core", "ethereum", "sdk"] +exclude = [".github", ".gitignore", "rustfmt.toml"] [dependencies] alloy-primitives = { version = ">=0.8.5", features = ["map-fxhash"] } diff --git a/README.md b/README.md index 0572963..5e395ee 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Unit Tests](https://github.com/malik672/uniswap-sdk-core-rust/workflows/Rust%20Tests/badge.svg)](https://github.com/malik672/uniswap-sdk-core-rust/actions?query=workflow%3A%22Rust+Tests%22) [![Lint](https://github.com/malik672/uniswap-sdk-core-rust/workflows/Rust%20Linting/badge.svg)](https://github.com/malik672/uniswap-sdk-core-rust/actions?query=workflow%3A%22Rust%20Linting%22) +![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/malik672/uniswap-sdk-core-rust?logo=rust&label=CodeRabbit&color=orange) +[![docs.rs](https://img.shields.io/docsrs/uniswap-sdk-core)](https://docs.rs/uniswap-sdk-core/latest) [![crates.io](https://img.shields.io/crates/v/uniswap-sdk-core.svg)](https://crates.io/crates/uniswap-sdk-core) **A Custom Uniswap SDK Core in Rust provides essential functionality for interacting with the Uniswap decentralized