diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 439dbc73..2aa38078 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,21 @@ env: CARGO_TERM_COLOR: always jobs: + version-alignment: + name: Version Alignment + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - uses: worldcoin/bedrock/.github/actions/version-alignment@main + with: + uniffi_version: ${{ vars.UNIFFI_VERSION }} + rust_toolchain_channel: ${{ vars.RUST_TOOLCHAIN_CHANNEL }} + lint: name: Format, Clippy & Build runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index a6f135a2..ed4ec10f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,11 @@ [workspace] -members = ["uniffi-bindgen", "walletkit-core", "walletkit", "walletkit-db", "walletkit-cli"] +members = [ + "uniffi-bindgen", + "walletkit-core", + "walletkit", + "walletkit-db", + "walletkit-cli", +] resolver = "2" [workspace.package] @@ -8,10 +14,17 @@ license = "MIT" edition = "2021" authors = ["World Contributors"] readme = "./README.md" -homepage = "https://docs.world.org" # TODO: Update to specific WalletKit page -rust-version = "1.91" # MSRV +homepage = "https://docs.world.org" # TODO: Update to specific WalletKit page +rust-version = "1.91" # MSRV repository = "https://github.com/worldcoin/walletkit" -exclude = ["tests/", "uniffi-bindgen/", "walletkit-cli/", "/audits", "/kotlin", "/swift"] +exclude = [ + "tests/", + "uniffi-bindgen/", + "walletkit-cli/", + "/audits", + "/kotlin", + "/swift", +] keywords = ["ZKP", "WorldID", "World", "Identity", "Semaphore"] categories = ["api-bindings", "cryptography::cryptocurrencies"] @@ -21,7 +34,7 @@ alloy-core = { version = "1", default-features = false, features = [ "sol-types", ] } alloy-primitives = { version = "1", default-features = false } -uniffi = { version = "0.31", features = ["tokio"] } +uniffi = { version = "0.31.0", features = ["tokio"] } world-id-core = { version = "0.8.2", default-features = false } # internal diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 33aaf0b6..bb32dc7a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.92.0" +channel = "1.94.1" profile = "default" components = ["rustfmt", "clippy", "rust-analyzer"] targets = [