diff --git a/.github/workflows/ci-crates-publish-dry-run.yml b/.github/workflows/ci-crates-publish-dry-run.yml index f57efbe87e..fa2714e7bb 100644 --- a/.github/workflows/ci-crates-publish-dry-run.yml +++ b/.github/workflows/ci-crates-publish-dry-run.yml @@ -15,6 +15,9 @@ env: jobs: publish-dry-run: runs-on: arc-linux-latest + timeout-minutes: 35 + env: + RUSTUP_PERMIT_COPY_RENAME: 1 steps: - name: Checkout repo uses: actions/checkout@v6 @@ -59,20 +62,60 @@ jobs: - name: Bump versions (local only) run: | cargo workspaces version custom ${{ inputs.version }} \ - --allow-branch ${{ github.ref_name }} \ --no-git-commit \ + --yes + + - name: Preflight publish checks + run: | + python3 tools/internal/check_publish_preflight.py # Dry run may show cascading dependency errors because packages aren't # actually uploaded - these are expected and ignored. We check for real # errors like packaging failures, missing metadata, or invalid Cargo.toml. - name: Publish (dry run) run: | - output=$(cargo workspaces publish --dry-run --allow-dirty 2>&1) || true - echo "$output" + set +e + publish_status=1 + max_attempts=2 + attempt=1 + rm -f /tmp/publish-dry-run.log - # Check for real errors (not cascading dependency errors) - # Cascading errors mention "crates.io index", real errors mention "Cargo.toml" - echo "$output" | grep -i "Cargo.toml" && exit 1 || true + while [ "$attempt" -le "$max_attempts" ]; do + echo "Dry-run publish attempt ${attempt}/${max_attempts}" + cargo workspaces publish --dry-run --allow-dirty 2>&1 | tee /tmp/publish-dry-run.log + publish_status=${PIPESTATUS[0]} + + if [ "$publish_status" -eq 0 ]; then + break + fi + + # Retry once for interruption/runner issues. + if [ "$attempt" -lt "$max_attempts" ] && \ + { [ "$publish_status" -eq 130 ] || [ "$publish_status" -eq 137 ]; }; then + echo "Publish dry-run interrupted (exit ${publish_status}), retrying in 10s..." + sleep 10 + attempt=$((attempt + 1)) + continue + fi + + break + done + set -e + + if grep -Eiq \ + "failed to verify manifest|failed to parse manifest|invalid Cargo.toml|error: package .* has no (description|license|repository)" \ + /tmp/publish-dry-run.log; then + echo "Detected real packaging/manifest errors" + exit 1 + fi + + # In dry-run mode, non-zero publish status is expected due to + # dependency-cascade failures against crates.io index. + if [ "$publish_status" -ne 0 ]; then + echo "Dry-run publish returned non-zero (${publish_status}) but no real manifest blockers were detected." + fi + + echo "Only expected dry-run dependency cascade errors detected (if any)." # Show the list of packages published - name: Show package versions diff --git a/.github/workflows/ci-crates-publish-resume.yml b/.github/workflows/ci-crates-publish-resume.yml index 77f448a2b8..8fcf5ef7b4 100644 --- a/.github/workflows/ci-crates-publish-resume.yml +++ b/.github/workflows/ci-crates-publish-resume.yml @@ -17,6 +17,8 @@ on: jobs: publish: runs-on: arc-linux-latest + env: + RUSTUP_PERMIT_COPY_RENAME: 1 steps: - name: Checkout repo uses: actions/checkout@v6 diff --git a/.github/workflows/ci-crates-publish.yml b/.github/workflows/ci-crates-publish.yml index 3c7250d241..94290c8a2d 100644 --- a/.github/workflows/ci-crates-publish.yml +++ b/.github/workflows/ci-crates-publish.yml @@ -17,6 +17,8 @@ on: jobs: publish: runs-on: arc-linux-latest + env: + RUSTUP_PERMIT_COPY_RENAME: 1 steps: - name: Checkout repo uses: actions/checkout@v6 diff --git a/.github/workflows/ci-crates-version-bump.yml b/.github/workflows/ci-crates-version-bump.yml index 790e2a062a..eebc0d64ac 100644 --- a/.github/workflows/ci-crates-version-bump.yml +++ b/.github/workflows/ci-crates-version-bump.yml @@ -15,6 +15,8 @@ env: jobs: version-bump: runs-on: arc-linux-latest + env: + RUSTUP_PERMIT_COPY_RENAME: 1 permissions: contents: write steps: diff --git a/.github/workflows/resume-publish-crates-io.yml b/.github/workflows/resume-publish-crates-io.yml index ef322790d7..db95e8e0fd 100644 --- a/.github/workflows/resume-publish-crates-io.yml +++ b/.github/workflows/resume-publish-crates-io.yml @@ -25,6 +25,10 @@ jobs: - name: Install cargo-workspaces run: cargo install cargo-workspaces + - name: Preflight publish checks + run: | + python3 tools/internal/check_publish_preflight.py + - name: Publish remaining crates env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index 0f4c797f7a..ca08ebe21f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1691,7 +1691,8 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core-models" version = "0.0.5" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "657f625ff361906f779745d08375ae3cc9fef87a35fba5f22874cf773010daf4" dependencies = [ "hax-lib", "pastey 0.2.1", @@ -4671,7 +4672,8 @@ checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" [[package]] name = "libcrux-aesgcm" version = "0.0.7" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99f2a019dab4097585a7d4f5b9deebe46cd1e628b16a5bc4cb0ce35e1da334e6" dependencies = [ "libcrux-intrinsics", "libcrux-platform", @@ -4681,8 +4683,9 @@ dependencies = [ [[package]] name = "libcrux-chacha20poly1305" -version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc08d044676af21343b32b988411fa98dbb5cf65a03c9df478ced221bbdfdb1b" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4694,7 +4697,8 @@ dependencies = [ [[package]] name = "libcrux-curve25519" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb1e5fd8476a6ed609d24ef42aee5ab6f99f7c65d054f92412da9f499e423299" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4705,7 +4709,8 @@ dependencies = [ [[package]] name = "libcrux-ecdh" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b65f73ce79337c762eb38bbac91e4c9b9e60cf318e8501b812750c640814d45e" dependencies = [ "libcrux-curve25519", "libcrux-p256", @@ -4715,8 +4720,9 @@ dependencies = [ [[package]] name = "libcrux-ed25519" -version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835919315b7042fe9e03b6458efe0db94bf2aa7b873934dbee5b5463a8124b43" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4728,7 +4734,8 @@ dependencies = [ [[package]] name = "libcrux-hacl-rs" version = "0.0.4" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2637dc87d158e1f1b550fd9b226443e84153fded4de69028d897b534d16d22e6" dependencies = [ "libcrux-macros", ] @@ -4736,7 +4743,8 @@ dependencies = [ [[package]] name = "libcrux-hkdf" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c1a89ca0c89be3a268a921e47105fb7873badf7267f5e3ebf4ea46baedd73ef" dependencies = [ "libcrux-hacl-rs", "libcrux-hmac", @@ -4746,7 +4754,8 @@ dependencies = [ [[package]] name = "libcrux-hmac" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7a242707d65960770bd7e14e4f18a92bdf0b967777dd404887db8d087a643b" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4756,7 +4765,8 @@ dependencies = [ [[package]] name = "libcrux-intrinsics" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1b5db005ff8001e026b73a6842ee81bbef8ec5ff0e1915a67ae65fd2a9fafa5" dependencies = [ "core-models", "hax-lib", @@ -4764,8 +4774,9 @@ dependencies = [ [[package]] name = "libcrux-kem" -version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12631592f491d22fd1a176d32b2c6edfb673998fd3987e9d95f8fa79ad2a737b" dependencies = [ "libcrux-curve25519", "libcrux-ecdh", @@ -4780,7 +4791,8 @@ dependencies = [ [[package]] name = "libcrux-macros" version = "0.0.3" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffd6aa2dcd5be681662001b81d493f1569c6d49a32361f470b0c955465cd0338" dependencies = [ "quote", "syn 2.0.106", @@ -4788,8 +4800,9 @@ dependencies = [ [[package]] name = "libcrux-ml-dsa" -version = "0.0.7" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a72929ed421cc3bf16a946b3e7d2a58d215b0b5c2a12be26b53629f081bf49b2" dependencies = [ "core-models", "hax-lib", @@ -4802,8 +4815,9 @@ dependencies = [ [[package]] name = "libcrux-ml-kem" -version = "0.0.7" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a14ab3e477de9df6ee1273a114018ff62c4996ca9220070c4e5cb1743f94a67d" dependencies = [ "hax-lib", "libcrux-intrinsics", @@ -4818,7 +4832,8 @@ dependencies = [ [[package]] name = "libcrux-p256" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4778ba25cb08bb8a96bd100e19ed9aecf78337198fd176036e21042b2dd99bc" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4830,15 +4845,17 @@ dependencies = [ [[package]] name = "libcrux-platform" version = "0.0.3" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9e21d7ed31a92ac539bd69a8c970b183ee883872d2d19ce27036e24cb8ecc4" dependencies = [ "libc", ] [[package]] name = "libcrux-poly1305" -version = "0.0.4" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02491808ee5b9db8cb65fad64ae0be812db64beef179d945c00c7787dc7dfcf9" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4846,8 +4863,9 @@ dependencies = [ [[package]] name = "libcrux-psq" -version = "0.0.7" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "779ade7aa5e1b4b400c716b313cbf69070988dd005f92e961c2da4c3c42fbea4" dependencies = [ "classic-mceliece-rust", "libcrux-aesgcm", @@ -4869,7 +4887,8 @@ dependencies = [ [[package]] name = "libcrux-secrets" version = "0.0.5" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ce650f3041b44ba40d4263852347d007cd2cd9d1cc856a6f6c8b2e10c3fd40b" dependencies = [ "hax-lib", ] @@ -4877,7 +4896,8 @@ dependencies = [ [[package]] name = "libcrux-sha2" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9d253473f259fc74a280c43f29c464f7e374abdf28b4942234dc707f529d4b7" dependencies = [ "libcrux-hacl-rs", "libcrux-macros", @@ -4886,8 +4906,9 @@ dependencies = [ [[package]] name = "libcrux-sha3" -version = "0.0.7" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1ae0b7d0e1cc4793a609fd0ff2ca3b3a3fabae523770c619a3d4bc86417b0d7" dependencies = [ "hax-lib", "libcrux-intrinsics", @@ -4898,7 +4919,8 @@ dependencies = [ [[package]] name = "libcrux-traits" version = "0.0.6" -source = "git+https://github.com/cryspen/libcrux?rev=b17f8687b67cdcfc10b55aeecc998bbbca28f775#b17f8687b67cdcfc10b55aeecc998bbbca28f775" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812e4fa89f3f5e34b47f928b22b1b78395a0d4ec23b1f583db635f128159d65f" dependencies = [ "libcrux-secrets", "rand 0.9.2", diff --git a/Cargo.toml b/Cargo.toml index 66ba465d80..1d1db9f1da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -404,14 +404,14 @@ prometheus = { version = "0.14.0" } # libcrux -libcrux-kem = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-ecdh = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-curve25519 = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-chacha20poly1305 = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-psq = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-ml-kem = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-sha3 = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } -libcrux-traits = { git = "https://github.com/cryspen/libcrux", rev = "b17f8687b67cdcfc10b55aeecc998bbbca28f775" } +libcrux-kem = "0.0.7" +libcrux-ecdh = "0.0.6" +libcrux-curve25519 = "0.0.6" +libcrux-chacha20poly1305 = "0.0.7" +libcrux-psq = "0.0.8" +libcrux-ml-kem = "0.0.8" +libcrux-sha3 = "0.0.8" +libcrux-traits = "0.0.8" # Workspace dep definitions required by crates.io publication - we need a workspace version since `cargo workspaces` doesn't work with path imports from crate manifests nym-api-requests = { version = "1.20.4", path = "nym-api/nym-api-requests" } diff --git a/clients/native/Cargo.toml b/clients/native/Cargo.toml index 755ebcf189..32321ce650 100644 --- a/clients/native/Cargo.toml +++ b/clients/native/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "nym-client" +description = "Implementation of the Nym Client" version = "1.1.74" authors = ["Dave Hrycyszyn ", "Jędrzej Stuczyński "] -description = "Implementation of the Nym Client" edition = "2021" -rust-version = "1.85" license.workspace = true +rust-version = "1.85" publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/clients/native/websocket-requests/Cargo.toml b/clients/native/websocket-requests/Cargo.toml index 25defd82ff..ae232bd83c 100644 --- a/clients/native/websocket-requests/Cargo.toml +++ b/clients/native/websocket-requests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-client-websocket-requests" +description = "Request and response definitions for Nym client websocket connections" version.workspace = true authors = ["Jędrzej Stuczyński "] edition = "2021" license.workspace = true -description = "Request and response definitions for Nym client websocket connections" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/clients/socks5/Cargo.toml b/clients/socks5/Cargo.toml index 249d801cc2..186ff54caa 100644 --- a/clients/socks5/Cargo.toml +++ b/clients/socks5/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "nym-socks5-client" +description = "A SOCKS5 localhost proxy that converts incoming messages to Sphinx and sends them to a Nym address" version = "1.1.74" authors = ["Dave Hrycyszyn "] -description = "A SOCKS5 localhost proxy that converts incoming messages to Sphinx and sends them to a Nym address" edition = "2021" -rust-version = "1.85" license.workspace = true +rust-version = "1.85" publish = false [dependencies] diff --git a/common/async-file-watcher/Cargo.toml b/common/async-file-watcher/Cargo.toml index 4c4af2ab4c..1a8e3a4b87 100644 --- a/common/async-file-watcher/Cargo.toml +++ b/common/async-file-watcher/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-async-file-watcher" +description = "Simple file watcher that sends a notification whenever there was any change in the watched file" version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true -description = "Simple file watcher that sends a notification whenever there was any change in the watched file" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/authenticator-requests/Cargo.toml b/common/authenticator-requests/Cargo.toml index 89873c5c20..27d3fcfc6e 100644 --- a/common/authenticator-requests/Cargo.toml +++ b/common/authenticator-requests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-authenticator-requests" +description = "Crate defining requests and responses for the Nym authenticator client" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Crate defining requests and responses for the Nym authenticator client" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] base64 = { workspace = true } diff --git a/common/bandwidth-controller/Cargo.toml b/common/bandwidth-controller/Cargo.toml index d93ddbab85..228442a053 100644 --- a/common/bandwidth-controller/Cargo.toml +++ b/common/bandwidth-controller/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-bandwidth-controller" +description = "Crate for controlling the use of zknym credentials to ensure constant bandwidth availability for NymVPN app" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Crate for controlling the use of zknym credentials to ensure constant bandwidth availability for NymVPN app" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/bin-common/Cargo.toml b/common/bin-common/Cargo.toml index dd2a70291b..db389c8a4c 100644 --- a/common/bin-common/Cargo.toml +++ b/common/bin-common/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-bin-common" -version.workspace = true description = "Common code for nym binaries" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] clap = { workspace = true, features = ["derive"], optional = true } diff --git a/common/client-core/Cargo.toml b/common/client-core/Cargo.toml index ce2e932b17..351ed58fc8 100644 --- a/common/client-core/Cargo.toml +++ b/common/client-core/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "nym-client-core" +description = "Crate containing core client functionality and configs, used by all other Nym client implentations" version.workspace = true authors = ["Dave Hrycyszyn "] edition = "2024" -rust-version = "1.85" license.workspace = true -description = "Crate containing core client functionality and configs, used by all other Nym client implentations" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/client-core/config-types/Cargo.toml b/common/client-core/config-types/Cargo.toml index 4c586ec1c3..9236820211 100644 --- a/common/client-core/config-types/Cargo.toml +++ b/common/client-core/config-types/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-client-core-config-types" +description = "Low level configs and constants used by Nym clients and nodes" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Low level configs and constants used by Nym clients and nodes" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/client-core/gateways-storage/Cargo.toml b/common/client-core/gateways-storage/Cargo.toml index 1a1e9f7c2d..e788467688 100644 --- a/common/client-core/gateways-storage/Cargo.toml +++ b/common/client-core/gateways-storage/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-client-core-gateways-storage" +description = "Functionality for Nym clients to store and retrive Gateway connections" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -rust-version.workspace = true -description = "Functionality for Nym clients to store and retrive Gateway connections" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/client-core/surb-storage/Cargo.toml b/common/client-core/surb-storage/Cargo.toml index 04168ec19e..6bb6c2f965 100644 --- a/common/client-core/surb-storage/Cargo.toml +++ b/common/client-core/surb-storage/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-client-core-surb-storage" +description = "Functionality for Nym clients to generate and use Single Use Reply Blocks (SURBs)" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Functionality for Nym clients to generate and use Single Use Reply Blocks (SURBs)" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/client-libs/gateway-client/Cargo.toml b/common/client-libs/gateway-client/Cargo.toml index 914c23a45e..8a9a3157f2 100644 --- a/common/client-libs/gateway-client/Cargo.toml +++ b/common/client-libs/gateway-client/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-gateway-client" +description = "Functions and types for Nym client <> Gateway connections" version.workspace = true authors = ["Jędrzej Stuczyński "] edition = "2021" license.workspace = true -description = "Functions and types for Nym client <> Gateway connections" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/client-libs/mixnet-client/Cargo.toml b/common/client-libs/mixnet-client/Cargo.toml index 72f838e50b..614e4e698e 100644 --- a/common/client-libs/mixnet-client/Cargo.toml +++ b/common/client-libs/mixnet-client/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-mixnet-client" +description = "Client for Mix Node <> Mix Node & Mix Node <> Gateway communication" version.workspace = true authors = ["Jedrzej Stuczynski "] edition = "2021" license.workspace = true -description = "Client for Mix Node <> Mix Node & Mix Node <> Gateway communication" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/client-libs/validator-client/Cargo.toml b/common/client-libs/validator-client/Cargo.toml index e7215d456b..ea1de63563 100644 --- a/common/client-libs/validator-client/Cargo.toml +++ b/common/client-libs/validator-client/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "nym-validator-client" +description = "Client for interacting with Nyx Cosmos SDK blockchain" version.workspace = true authors = ["Jędrzej Stuczyński "] edition = "2021" -rust-version = "1.85" license.workspace = true -description = "Client for interacting with Nyx Cosmos SDK blockchain" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/commands/Cargo.toml b/common/commands/Cargo.toml index 1c7d1f8da8..53b29b842f 100644 --- a/common/commands/Cargo.toml +++ b/common/commands/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-cli-commands" +description = "Common commands crate used by the nym-cli tool for interacting with the Nyx Cosmos SDK blockchain and Mixnet endpoints" version.workspace = true authors.workspace = true edition = "2021" license.workspace = true -description = "Common commands crate used by the nym-cli tool for interacting with the Nyx Cosmos SDK blockchain and Mixnet endpoints" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] anyhow = { workspace = true } diff --git a/common/config/Cargo.toml b/common/config/Cargo.toml index 4c364f9292..6e34d07d41 100644 --- a/common/config/Cargo.toml +++ b/common/config/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-config" +description = "Config related helpers and functions" version.workspace = true authors = ["Jedrzej Stuczynski "] edition = "2021" license.workspace = true +repository.workspace = true homepage.workspace = true -description = "Config related helpers and functions" +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/cosmwasm-smart-contracts/coconut-dkg/Cargo.toml b/common/cosmwasm-smart-contracts/coconut-dkg/Cargo.toml index 158b920e24..dc4fe926af 100644 --- a/common/cosmwasm-smart-contracts/coconut-dkg/Cargo.toml +++ b/common/cosmwasm-smart-contracts/coconut-dkg/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-coconut-dkg-common" +description = "Common crate for Nym's DKG cosmwasm contract" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Common crate for Nym's DKG cosmwasm contract" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/cosmwasm-smart-contracts/contracts-common-testing/Cargo.toml b/common/cosmwasm-smart-contracts/contracts-common-testing/Cargo.toml index 69f429b24d..0cef554a87 100644 --- a/common/cosmwasm-smart-contracts/contracts-common-testing/Cargo.toml +++ b/common/cosmwasm-smart-contracts/contracts-common-testing/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-contracts-common-testing" +description = "Common crate for cosmwasm contract tests" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -rust-version.workspace = true +rust-version = "1.85" readme.workspace = true -description = "Common crate for cosmwasm contract tests" +publish = true [dependencies] anyhow = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/contracts-common/Cargo.toml b/common/cosmwasm-smart-contracts/contracts-common/Cargo.toml index 277351d5d0..82ac9871ae 100644 --- a/common/cosmwasm-smart-contracts/contracts-common/Cargo.toml +++ b/common/cosmwasm-smart-contracts/contracts-common/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-contracts-common" -version.workspace = true description = "Common library for Nym cosmwasm contracts" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true [dependencies] bs58 = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/easy_addr/Cargo.toml b/common/cosmwasm-smart-contracts/easy_addr/Cargo.toml index b8a48b40a7..e832cd96e9 100644 --- a/common/cosmwasm-smart-contracts/easy_addr/Cargo.toml +++ b/common/cosmwasm-smart-contracts/easy_addr/Cargo.toml @@ -2,8 +2,8 @@ name = "easy-addr" version.workspace = true edition = "2021" -publish = false license.workspace = true +publish = false [lib] proc-macro = true diff --git a/common/cosmwasm-smart-contracts/ecash-contract/Cargo.toml b/common/cosmwasm-smart-contracts/ecash-contract/Cargo.toml index dce59308ce..dd9a616b2d 100644 --- a/common/cosmwasm-smart-contracts/ecash-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/ecash-contract/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-ecash-contract-common" +description = "Common crate for Nym's ecash/zknym cosmwasm contract" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Common crate for Nym's ecash/zknym cosmwasm contract" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/cosmwasm-smart-contracts/group-contract/Cargo.toml b/common/cosmwasm-smart-contracts/group-contract/Cargo.toml index 17cb3e83db..9de9779622 100644 --- a/common/cosmwasm-smart-contracts/group-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/group-contract/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-group-contract-common" +description = "Common crate for Nym's group cosmwasm contract" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Common crate for Nym's group cosmwasm contract" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true [dependencies] cosmwasm-schema = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/mixnet-contract/Cargo.toml b/common/cosmwasm-smart-contracts/mixnet-contract/Cargo.toml index fb7143723d..b53e1d3420 100644 --- a/common/cosmwasm-smart-contracts/mixnet-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/mixnet-contract/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-mixnet-contract-common" -version.workspace = true description = "Common library for the Nym mixnet contract" -rust-version = "1.85" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true [dependencies] bs58 = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/multisig-contract/Cargo.toml b/common/cosmwasm-smart-contracts/multisig-contract/Cargo.toml index 31aef542af..7fc32eacab 100644 --- a/common/cosmwasm-smart-contracts/multisig-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/multisig-contract/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "nym-multisig-contract-common" +description = "Common code for the Nym multisig CosmWasm smart contract" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Common code for the Nym multisig CosmWasm smart contract" +repository.workspace = true homepage.workspace = true +documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true [dependencies] cosmwasm-schema = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/nym-performance-contract/Cargo.toml b/common/cosmwasm-smart-contracts/nym-performance-contract/Cargo.toml index 8fd19ff838..13612c9b96 100644 --- a/common/cosmwasm-smart-contracts/nym-performance-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/nym-performance-contract/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-performance-contract-common" +description = "Common crate for Nym's group performance contract" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -rust-version.workspace = true +rust-version = "1.85" readme.workspace = true -description = "Common crate for Nym's group performance contract" +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/nym-pool-contract/Cargo.toml b/common/cosmwasm-smart-contracts/nym-pool-contract/Cargo.toml index a4567fb0c2..02f6fdd4a3 100644 --- a/common/cosmwasm-smart-contracts/nym-pool-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/nym-pool-contract/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-pool-contract-common" -version.workspace = true description = "Common library for the Nym Pool contract" +version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -rust-version.workspace = true +rust-version = "1.85" readme.workspace = true +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/cosmwasm-smart-contracts/vesting-contract/Cargo.toml b/common/cosmwasm-smart-contracts/vesting-contract/Cargo.toml index cc29aebe12..dd9553bc05 100644 --- a/common/cosmwasm-smart-contracts/vesting-contract/Cargo.toml +++ b/common/cosmwasm-smart-contracts/vesting-contract/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-vesting-contract-common" -version.workspace = true description = "Common library for the Nym vesting contract" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version = "1.85" +readme.workspace = true +publish = true [dependencies] cosmwasm-std = { workspace = true } diff --git a/common/credential-proxy/Cargo.toml b/common/credential-proxy/Cargo.toml index 65549f2753..56a02266e3 100644 --- a/common/credential-proxy/Cargo.toml +++ b/common/credential-proxy/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-credential-proxy-lib" +description = "Build script and core functionality of the Nym Credential Proxy" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Build script and core functionality of the Nym Credential Proxy" +publish = true [dependencies] anyhow = { workspace = true } diff --git a/common/credential-storage/Cargo.toml b/common/credential-storage/Cargo.toml index 42da92cedc..c6b49edb6c 100644 --- a/common/credential-storage/Cargo.toml +++ b/common/credential-storage/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-credential-storage" +description = "Crate for handling and storing spent and unspent zknym ticketbooks" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -rust-version.workspace = true -description = "Crate for handling and storing spent and unspent zknym ticketbooks" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/credential-utils/Cargo.toml b/common/credential-utils/Cargo.toml index f3d6986d1d..3dfaacf07a 100644 --- a/common/credential-utils/Cargo.toml +++ b/common/credential-utils/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-credential-utils" +description = "Utils crate for dealing with zknym credentials" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Utils crate for dealing with zknym credentials" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/common/credential-verification/Cargo.toml b/common/credential-verification/Cargo.toml index d5af1fff19..80e0918330 100644 --- a/common/credential-verification/Cargo.toml +++ b/common/credential-verification/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-credential-verification" +description = "Store and verify zknym credentials" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Store and verify zknym credentials" +publish = true [dependencies] async-trait = { workspace = true } diff --git a/common/credentials-interface/Cargo.toml b/common/credentials-interface/Cargo.toml index fd2f6d895d..615bec2bbc 100644 --- a/common/credentials-interface/Cargo.toml +++ b/common/credentials-interface/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-credentials-interface" +description = "Interface for Nym's compact eacash / zknym credential scheme" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Interface for Nym's compact eacash / zknym credential scheme" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/credentials/Cargo.toml b/common/credentials/Cargo.toml index 1a429bc24c..ab45bf851f 100644 --- a/common/credentials/Cargo.toml +++ b/common/credentials/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-credentials" +description = "Crate for using Nym's zknym credentials" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Crate for using Nym's zknym credentials" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/crypto/Cargo.toml b/common/crypto/Cargo.toml index 7d037f1a97..1cc48788b6 100644 --- a/common/crypto/Cargo.toml +++ b/common/crypto/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-crypto" -version.workspace = true description = "Crypto library for the nym mixnet" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] aes-gcm-siv = { workspace = true, optional = true } diff --git a/common/dkg/Cargo.toml b/common/dkg/Cargo.toml index e45a2a8d7f..da5584b76a 100644 --- a/common/dkg/Cargo.toml +++ b/common/dkg/Cargo.toml @@ -1,13 +1,17 @@ [package] name = "nym-dkg" -version.workspace = true -edition = "2021" -resolver = "2" -license.workspace = true description = "Nym's Distributed Key Generation functionality" +version.workspace = true +authors.workspace = true +edition = "2021" +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true +resolver = "2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/ecash-signer-check-types/Cargo.toml b/common/ecash-signer-check-types/Cargo.toml index ac3a6f084d..6536ed5b76 100644 --- a/common/ecash-signer-check-types/Cargo.toml +++ b/common/ecash-signer-check-types/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-ecash-signer-check-types" +description = "Crate containing types for the `ecash-signer-check` crate used to check if zknym signers are up and running properly" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Crate containing types for the `ecash-signer-check` crate used to check if zknym signers are up and running properly" +publish = true [dependencies] semver = { workspace = true } diff --git a/common/ecash-signer-check/Cargo.toml b/common/ecash-signer-check/Cargo.toml index 976df1bf55..425b4d3697 100644 --- a/common/ecash-signer-check/Cargo.toml +++ b/common/ecash-signer-check/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-ecash-signer-check" +description = "Functions to interact with zknym signers, checking their status and health" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Functions to interact with zknym signers, checking their status and health" +publish = true [dependencies] futures = { workspace = true } diff --git a/common/ecash-time/Cargo.toml b/common/ecash-time/Cargo.toml index 1780a96afe..bc7021167a 100644 --- a/common/ecash-time/Cargo.toml +++ b/common/ecash-time/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-ecash-time" +description = "Time-related helper functions for Nym's zknym scheme" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Time-related helper functions for Nym's zknym scheme" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/exit-policy/Cargo.toml b/common/exit-policy/Cargo.toml index 3db220a920..172f95c90f 100644 --- a/common/exit-policy/Cargo.toml +++ b/common/exit-policy/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-exit-policy" +description = "Get and set the Nym Exit Policy, used by Exit Gateways" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Get and set the Nym Exit Policy, used by Exit Gateways" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/gateway-requests/Cargo.toml b/common/gateway-requests/Cargo.toml index b9cdf43d01..7803769ada 100644 --- a/common/gateway-requests/Cargo.toml +++ b/common/gateway-requests/Cargo.toml @@ -3,14 +3,17 @@ [package] name = "nym-gateway-requests" +description = "Request and response definitions for Nym Gateway <> client communication" version.workspace = true authors = ["Jedrzej Stuczynski "] edition = "2021" license.workspace = true -description = "Request and response definitions for Nym Gateway <> client communication" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/gateway-stats-storage/Cargo.toml b/common/gateway-stats-storage/Cargo.toml index 7c1f996059..cb37725db1 100644 --- a/common/gateway-stats-storage/Cargo.toml +++ b/common/gateway-stats-storage/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "nym-gateway-stats-storage" +description = "Functionality Nym Gateway statistics storage" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true -description = "Functionality Nym Gateway statistics storage" +readme.workspace = true +publish = true [dependencies] sqlx = { workspace = true, features = [ diff --git a/common/gateway-storage/Cargo.toml b/common/gateway-storage/Cargo.toml index 32424e7d4a..76a8ad56d0 100644 --- a/common/gateway-storage/Cargo.toml +++ b/common/gateway-storage/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "nym-gateway-storage" +description = "Crate handling db setup and use for Nym Gateways, used for credentials, packets, connections" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true -description = "Crate handling db setup and use for Nym Gateways, used for credentials, packets, connections" +readme.workspace = true +publish = true [dependencies] async-trait = { workspace = true } diff --git a/common/http-api-client-macro/Cargo.toml b/common/http-api-client-macro/Cargo.toml index f5e12bef4c..de4e6e619a 100644 --- a/common/http-api-client-macro/Cargo.toml +++ b/common/http-api-client-macro/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-http-api-client-macro" +description = "Proc-macros for configuring HTTP clients globally via the `inventory` crate" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Proc-macros for configuring HTTP clients globally via the `inventory` crate" +publish = true [lib] proc-macro = true diff --git a/common/http-api-client/Cargo.toml b/common/http-api-client/Cargo.toml index 00d083bbf2..0952580bce 100644 --- a/common/http-api-client/Cargo.toml +++ b/common/http-api-client/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-http-api-client" +description = "Nym's HTTP API client, examples, and tests" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Nym's HTTP API client, examples, and tests" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/http-api-common/Cargo.toml b/common/http-api-common/Cargo.toml index 17d7521788..94601f3b61 100644 --- a/common/http-api-common/Cargo.toml +++ b/common/http-api-common/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-http-api-common" +description = "Common crate for Nym-related HTTP API interaction" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Common crate for Nym-related HTTP API interaction" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/inclusion-probability/Cargo.toml b/common/inclusion-probability/Cargo.toml index d27d0a23fa..f73167cd3d 100644 --- a/common/inclusion-probability/Cargo.toml +++ b/common/inclusion-probability/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-inclusion-probability" -version.workspace = true description = "Nym active set probability simulator" -edition.workspace = true +version.workspace = true authors.workspace = true +edition.workspace = true license.workspace = true repository.workspace = true +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] log = { workspace = true } diff --git a/common/ip-packet-requests/Cargo.toml b/common/ip-packet-requests/Cargo.toml index 0d062b2d45..bd95393c99 100644 --- a/common/ip-packet-requests/Cargo.toml +++ b/common/ip-packet-requests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-ip-packet-requests" +description = "Codec, signing functionality, and different version definitions for IP packet request and responses" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Codec, signing functionality, and different version definitions for IP packet request and responses" +rust-version.workspace = true +readme.workspace = true +publish = true [features] diff --git a/common/mixnode-common/Cargo.toml b/common/mixnode-common/Cargo.toml index 50d1c94cde..9a4a587867 100644 --- a/common/mixnode-common/Cargo.toml +++ b/common/mixnode-common/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-mixnode-common" +description = "Common crate for Nym Mix Nodes" version.workspace = true authors = ["Jędrzej Stuczyński "] edition = "2021" license.workspace = true -description = "Common crate for Nym Mix Nodes" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/network-defaults/Cargo.toml b/common/network-defaults/Cargo.toml index 305f31916f..238503673d 100644 --- a/common/network-defaults/Cargo.toml +++ b/common/network-defaults/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-network-defaults" -version.workspace = true description = "Nym network defaults" -edition.workspace = true +version.workspace = true authors.workspace = true +edition.workspace = true license.workspace = true repository.workspace = true +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # Exclude build.rs from published crate - it's only used for dev-time sync # of env files and requires workspace context exclude = ["build.rs"] diff --git a/common/node-tester-utils/Cargo.toml b/common/node-tester-utils/Cargo.toml index d3845fb094..ff1bd497a4 100644 --- a/common/node-tester-utils/Cargo.toml +++ b/common/node-tester-utils/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-node-tester-utils" +description = "Utils for the Nym Node Tester" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Utils for the Nym Node Tester" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/nonexhaustive-delayqueue/Cargo.toml b/common/nonexhaustive-delayqueue/Cargo.toml index f8d4671688..8705ebaa55 100644 --- a/common/nonexhaustive-delayqueue/Cargo.toml +++ b/common/nonexhaustive-delayqueue/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-nonexhaustive-delayqueue" +description = "A copy of tokio-util delay_queue with `Sleep` and `Instant` being replaced with`wasm_timer` equivalents" version.workspace = true authors = ["Jędrzej Stuczyński "] edition = "2021" license.workspace = true -description = "A copy of tokio-util delay_queue with `Sleep` and `Instant` being replaced with`wasm_timer` equivalents" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/nym-cache/Cargo.toml b/common/nym-cache/Cargo.toml index 3d935c3e89..ea344bc050 100644 --- a/common/nym-cache/Cargo.toml +++ b/common/nym-cache/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-cache" +description = "Helper functions around a RwLock for writing to local cache of items" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Helper functions around a RwLock for writing to local cache of items" +publish = true [dependencies] tokio = { workspace = true, features = ["sync"] } diff --git a/common/nym-common/Cargo.toml b/common/nym-common/Cargo.toml index 6bdbef1bce..ba59dbf46e 100644 --- a/common/nym-common/Cargo.toml +++ b/common/nym-common/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-common" +description = "Runtime diagnostics for high frequency logging, debugging and error handling utilities" version.workspace = true authors.workspace = true -repository.workspace = true -license.workspace = true edition.workspace = true -description = "Runtime diagnostics for high frequency logging, debugging and error handling utilities" +license.workspace = true +repository.workspace = true +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [lints] workspace = true diff --git a/common/nym-connection-monitor/Cargo.toml b/common/nym-connection-monitor/Cargo.toml index 03de5da740..c7ce2c445e 100644 --- a/common/nym-connection-monitor/Cargo.toml +++ b/common/nym-connection-monitor/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-connection-monitor" version = "1.18.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false [lints] diff --git a/common/nym-id/Cargo.toml b/common/nym-id/Cargo.toml index 17b4ac31ef..5ef2a3d119 100644 --- a/common/nym-id/Cargo.toml +++ b/common/nym-id/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-id" +description = "Functionality for importing and storing credentials and cryptographic keys" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Functionality for importing and storing credentials and cryptographic keys" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/nym-kcp/Cargo.toml b/common/nym-kcp/Cargo.toml index 3f435e94e5..b866fd7954 100644 --- a/common/nym-kcp/Cargo.toml +++ b/common/nym-kcp/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "nym-kcp" -version = "0.1.0" description = "KCP protocol implementation for Nym" -edition = { workspace = true } +version = "0.1.0" authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } publish = false diff --git a/common/nym-kkt-ciphersuite/Cargo.toml b/common/nym-kkt-ciphersuite/Cargo.toml index ef1b8e7738..d1d69e9fea 100644 --- a/common/nym-kkt-ciphersuite/Cargo.toml +++ b/common/nym-kkt-ciphersuite/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-kkt-ciphersuite" +description = "Nym KKT ciphersuite" +version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -version.workspace = true -publish = false +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/nym-kkt-context/Cargo.toml b/common/nym-kkt-context/Cargo.toml index 9ab1c8e123..53f5bbf530 100644 --- a/common/nym-kkt-context/Cargo.toml +++ b/common/nym-kkt-context/Cargo.toml @@ -1,21 +1,22 @@ [package] name = "nym-kkt-context" +description = "Context types and definitions for the Nym KKT protocol" +version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -version.workspace = true -publish = false +publish = true [dependencies] num_enum = { workspace = true } thiserror = { workspace = true } -nym-kkt-ciphersuite = { path = "../nym-kkt-ciphersuite" } +nym-kkt-ciphersuite = { workspace = true } [lints] workspace = true diff --git a/common/nym-kkt/Cargo.toml b/common/nym-kkt/Cargo.toml index 02c9f50d49..e278e33887 100644 --- a/common/nym-kkt/Cargo.toml +++ b/common/nym-kkt/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "nym-kkt" +description = "Key transport protocol for the Nym network" version = "0.1.0" authors = ["Georgio Nicolas "] edition = { workspace = true } license.workspace = true -publish = false +repository.workspace = true +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/nym-lp/Cargo.toml b/common/nym-lp/Cargo.toml index 56ba2c2c11..24f78711a0 100644 --- a/common/nym-lp/Cargo.toml +++ b/common/nym-lp/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-lp" +description = "Lewes Protocol session and transport layer for the Nym network" +version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -version.workspace = true -publish = false +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/nym-metrics/Cargo.toml b/common/nym-metrics/Cargo.toml index 491b72f07d..ab459c35f3 100644 --- a/common/nym-metrics/Cargo.toml +++ b/common/nym-metrics/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-metrics" +description = "Metrics macros" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Metrics macros" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/nym_offline_compact_ecash/Cargo.toml b/common/nym_offline_compact_ecash/Cargo.toml index e70063bd17..1eac6b4af8 100644 --- a/common/nym_offline_compact_ecash/Cargo.toml +++ b/common/nym_offline_compact_ecash/Cargo.toml @@ -3,14 +3,17 @@ [package] name = "nym-compact-ecash" +description = "Nym's ecash implementation" version.workspace = true authors = ["Ania Piotrowska "] edition = "2021" license = { workspace = true } -description = "Nym's ecash implementation" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/nymnoise/Cargo.toml b/common/nymnoise/Cargo.toml index 64dd0470f5..aa7d184518 100644 --- a/common/nymnoise/Cargo.toml +++ b/common/nymnoise/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-noise" +description = "Nym's Noise protocol implementation" version.workspace = true authors = ["Simon Wicky "] edition = "2021" license.workspace = true -description = "Nym's Noise protocol implementation" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] arc-swap = { workspace = true } diff --git a/common/nymnoise/keys/Cargo.toml b/common/nymnoise/keys/Cargo.toml index 3dfc1c64d2..779dae7a02 100644 --- a/common/nymnoise/keys/Cargo.toml +++ b/common/nymnoise/keys/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-noise-keys" +description = "Helpers and type definition of Nym's Noise protocol keys" version.workspace = true authors = ["Simon Wicky "] edition = "2021" license.workspace = true -description = "Helpers and type definition of Nym's Noise protocol keys" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] schemars = { workspace = true, features = ["preserve_order"] } diff --git a/common/nymsphinx/Cargo.toml b/common/nymsphinx/Cargo.toml index 1fba34a0c2..2ff13840ec 100644 --- a/common/nymsphinx/Cargo.toml +++ b/common/nymsphinx/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx" -version.workspace = true description = "Top-level crate for sphinx packets as used by the Nym mixnet" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] tracing = { workspace = true } diff --git a/common/nymsphinx/acknowledgements/Cargo.toml b/common/nymsphinx/acknowledgements/Cargo.toml index 6d0fe4fcff..bf94fd649a 100644 --- a/common/nymsphinx/acknowledgements/Cargo.toml +++ b/common/nymsphinx/acknowledgements/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-acknowledgements" -version.workspace = true description = "Sphinx packet ack messages" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] rand = { workspace = true } diff --git a/common/nymsphinx/addressing/Cargo.toml b/common/nymsphinx/addressing/Cargo.toml index 5aec9af3ed..a5b2ed291e 100644 --- a/common/nymsphinx/addressing/Cargo.toml +++ b/common/nymsphinx/addressing/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-addressing" -version.workspace = true description = "Nym mixnet addressing" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] nym-crypto = { workspace = true, features = ["asymmetric", "sphinx"] } # all addresses are expressed in terms on their crypto keys diff --git a/common/nymsphinx/anonymous-replies/Cargo.toml b/common/nymsphinx/anonymous-replies/Cargo.toml index fe9f272146..75d651fe60 100644 --- a/common/nymsphinx/anonymous-replies/Cargo.toml +++ b/common/nymsphinx/anonymous-replies/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-anonymous-replies" -version.workspace = true description = "Anonymous sphinx packet replies using singly-use-reply-blocks (SURB)" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] rand = { workspace = true } diff --git a/common/nymsphinx/chunking/Cargo.toml b/common/nymsphinx/chunking/Cargo.toml index 708ecb5c10..625a330a1d 100644 --- a/common/nymsphinx/chunking/Cargo.toml +++ b/common/nymsphinx/chunking/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-chunking" -version.workspace = true description = "Sphinx packet chunking of underlying data packets" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/nymsphinx/cover/Cargo.toml b/common/nymsphinx/cover/Cargo.toml index 69dcf6fe65..cf65805c02 100644 --- a/common/nymsphinx/cover/Cargo.toml +++ b/common/nymsphinx/cover/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-cover" -version.workspace = true description = "Sphinx packets used as cover traffic" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] rand = { workspace = true } diff --git a/common/nymsphinx/forwarding/Cargo.toml b/common/nymsphinx/forwarding/Cargo.toml index e9a299c626..6ba8d1403f 100644 --- a/common/nymsphinx/forwarding/Cargo.toml +++ b/common/nymsphinx/forwarding/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-forwarding" -version.workspace = true description = "Sphinx packet forwarding as Nym mix packets" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] nym-sphinx-addressing = { workspace = true } diff --git a/common/nymsphinx/framing/Cargo.toml b/common/nymsphinx/framing/Cargo.toml index a2f42c7e16..78a4e5954e 100644 --- a/common/nymsphinx/framing/Cargo.toml +++ b/common/nymsphinx/framing/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-framing" -version.workspace = true description = "Sphinx packet framing for the Nym mixnet" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] bytes = { workspace = true } diff --git a/common/nymsphinx/params/Cargo.toml b/common/nymsphinx/params/Cargo.toml index c5fd617d63..88ffe4a225 100644 --- a/common/nymsphinx/params/Cargo.toml +++ b/common/nymsphinx/params/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-params" -version.workspace = true description = "Sphinx packet parameters for the Nym mixnet" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/nymsphinx/routing/Cargo.toml b/common/nymsphinx/routing/Cargo.toml index 209c9baefb..53d424b803 100644 --- a/common/nymsphinx/routing/Cargo.toml +++ b/common/nymsphinx/routing/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-routing" -version.workspace = true description = "Sphinx packet routing as Nym mix packets" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] thiserror = { workspace = true } diff --git a/common/nymsphinx/types/Cargo.toml b/common/nymsphinx/types/Cargo.toml index 776f88a41a..234382035c 100644 --- a/common/nymsphinx/types/Cargo.toml +++ b/common/nymsphinx/types/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-sphinx-types" -version.workspace = true description = "Re-export sphinx packet types" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] sphinx-packet = { workspace = true, optional = true } diff --git a/common/nyxd-scraper-psql/Cargo.toml b/common/nyxd-scraper-psql/Cargo.toml index c99249f0cd..51e62a2092 100644 --- a/common/nyxd-scraper-psql/Cargo.toml +++ b/common/nyxd-scraper-psql/Cargo.toml @@ -2,11 +2,11 @@ name = "nyxd-scraper-psql" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/common/nyxd-scraper-shared/Cargo.toml b/common/nyxd-scraper-shared/Cargo.toml index 299d2a6186..986b39319c 100644 --- a/common/nyxd-scraper-shared/Cargo.toml +++ b/common/nyxd-scraper-shared/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nyxd-scraper-shared" +description = "Common crate for the sqlite and psql Nyxd blockchain scrapers" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Common crate for the sqlite and psql Nyxd blockchain scrapers" +publish = true [dependencies] async-trait.workspace = true diff --git a/common/nyxd-scraper-sqlite/Cargo.toml b/common/nyxd-scraper-sqlite/Cargo.toml index bcf59ce2cf..20bf4bd39b 100644 --- a/common/nyxd-scraper-sqlite/Cargo.toml +++ b/common/nyxd-scraper-sqlite/Cargo.toml @@ -2,11 +2,11 @@ name = "nyxd-scraper-sqlite" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/pemstore/Cargo.toml b/common/pemstore/Cargo.toml index 5534b81dd0..ff2d78250e 100644 --- a/common/pemstore/Cargo.toml +++ b/common/pemstore/Cargo.toml @@ -2,10 +2,15 @@ name = "nym-pemstore" description = "Store private-public keypairs in PEM format" version.workspace = true -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] pem = { workspace = true } diff --git a/common/registration/Cargo.toml b/common/registration/Cargo.toml index c361b21461..75f882a4f5 100644 --- a/common/registration/Cargo.toml +++ b/common/registration/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-registration-common" +description = "Struct definitions for NymNode, GatewayData, and AssignedAddresses" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Struct definitions for NymNode, GatewayData, and AssignedAddresses" +rust-version.workspace = true +readme.workspace = true +publish = true [lints] workspace = true diff --git a/common/serde-helpers/Cargo.toml b/common/serde-helpers/Cargo.toml index 9b219e23cb..609474808d 100644 --- a/common/serde-helpers/Cargo.toml +++ b/common/serde-helpers/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-serde-helpers" +description = "Serde helpers for hex/base64/base58/datetime" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Serde helpers for hex/base64/base58/datetime" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/service-provider-requests-common/Cargo.toml b/common/service-provider-requests-common/Cargo.toml index b289a776b7..c25adafdde 100644 --- a/common/service-provider-requests-common/Cargo.toml +++ b/common/service-provider-requests-common/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-service-provider-requests-common" +description = "Common crate for requests and responses for Nym Service Providers" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Common crate for requests and responses for Nym Service Providers" +publish = true [dependencies] serde = { workspace = true, features = ["derive"] } diff --git a/common/socks5-client-core/Cargo.toml b/common/socks5-client-core/Cargo.toml index f86c6cf686..911e9e23fa 100644 --- a/common/socks5-client-core/Cargo.toml +++ b/common/socks5-client-core/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-socks5-client-core" +description = "Core functionality of the Nym SOCKS client" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Core functionality of the Nym SOCKS client" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/socks5/ordered-buffer/Cargo.toml b/common/socks5/ordered-buffer/Cargo.toml index 572f2c0d59..fc66833eb4 100644 --- a/common/socks5/ordered-buffer/Cargo.toml +++ b/common/socks5/ordered-buffer/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-ordered-buffer" +description = "This crate takes care of reliably and speedily turning bytes into a series of ordered message fragments on one side, and of reliably reassembling the fragments into the original message on the other" version.workspace = true authors = ["Dave Hrycyszyn "] edition = "2021" license.workspace = true -description = "This crate takes care of reliably and speedily turning bytes into a series of ordered message fragments on one side, and of reliably reassembling the fragments into the original message on the other" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/socks5/proxy-helpers/Cargo.toml b/common/socks5/proxy-helpers/Cargo.toml index 9b74fd005d..6d58b118a1 100644 --- a/common/socks5/proxy-helpers/Cargo.toml +++ b/common/socks5/proxy-helpers/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-socks5-proxy-helpers" +description = "Helpers for the Nym SOCKS client" version.workspace = true authors = ["Jedrzej Stuczynski "] edition = "2021" license.workspace = true -description = "Helpers for the Nym SOCKS client" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/socks5/requests/Cargo.toml b/common/socks5/requests/Cargo.toml index 1197c4beb3..b1aae2ed1a 100644 --- a/common/socks5/requests/Cargo.toml +++ b/common/socks5/requests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-socks5-requests" +description = "Request and response definitions for the Nym SOCKS client" version.workspace = true authors = ["Dave Hrycyszyn "] edition = "2021" license.workspace = true -description = "Request and response definitions for the Nym SOCKS client" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/statistics/Cargo.toml b/common/statistics/Cargo.toml index c086bd8374..b92798f180 100644 --- a/common/statistics/Cargo.toml +++ b/common/statistics/Cargo.toml @@ -3,13 +3,17 @@ [package] name = "nym-statistics-common" +description = "This crate contains basic statistics utilities and abstractions to be re-used and applied throughout both the client and gateway implementations" version.workspace = true +authors.workspace = true edition.workspace = true license.workspace = true -description = "This crate contains basic statistics utilities and abstractions to be re-used and applied throughout both the client and gateway implementations" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/store-cipher/Cargo.toml b/common/store-cipher/Cargo.toml index a2066a5247..29792d9ce6 100644 --- a/common/store-cipher/Cargo.toml +++ b/common/store-cipher/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-store-cipher" +description = "Helpers for various ciphers used throughout the Nym network" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Helpers for various ciphers used throughout the Nym network" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/task/Cargo.toml b/common/task/Cargo.toml index 0daef2c763..a6d9e396c7 100644 --- a/common/task/Cargo.toml +++ b/common/task/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-task" -version.workspace = true description = "Task handling" -edition.workspace = true +version.workspace = true authors.workspace = true +edition.workspace = true license.workspace = true repository.workspace = true +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] cfg-if = { workspace = true } diff --git a/common/test-utils/Cargo.toml b/common/test-utils/Cargo.toml index ead0cff923..8d8cb55116 100644 --- a/common/test-utils/Cargo.toml +++ b/common/test-utils/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-test-utils" +description = "Helpers, traits, and mock definitions for tests" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Helpers, traits, and mock definitions for tests" +publish = true [dependencies] anyhow = { workspace = true } diff --git a/common/ticketbooks-merkle/Cargo.toml b/common/ticketbooks-merkle/Cargo.toml index 037852a91d..feb2354c47 100644 --- a/common/ticketbooks-merkle/Cargo.toml +++ b/common/ticketbooks-merkle/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-ticketbooks-merkle" +description = "Generate and verify merkleproofs of zknym ticketbooks" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Generate and verify merkleproofs of zknym ticketbooks" +publish = true [dependencies] sha2 = { workspace = true } diff --git a/common/topology/Cargo.toml b/common/topology/Cargo.toml index da51f63bbd..32530840bc 100644 --- a/common/topology/Cargo.toml +++ b/common/topology/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-topology" +description = "Nym's topology crate" version.workspace = true -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } -description = "Nym's topology crate" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/tun/Cargo.toml b/common/tun/Cargo.toml index e5451f0f81..318c53fa6b 100644 --- a/common/tun/Cargo.toml +++ b/common/tun/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-tun" +description = "Nym's tun implementation" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Nym's tun implementation" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/types/Cargo.toml b/common/types/Cargo.toml index 2f6ae032b4..31fdcfc200 100644 --- a/common/types/Cargo.toml +++ b/common/types/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "nym-types" -version.workspace = true description = "Nym common types" +version.workspace = true authors.workspace = true edition = "2021" -rust-version.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] base64 = { workspace = true } diff --git a/common/upgrade-mode-check/Cargo.toml b/common/upgrade-mode-check/Cargo.toml index d47d4ba5f9..e3fe21f506 100644 --- a/common/upgrade-mode-check/Cargo.toml +++ b/common/upgrade-mode-check/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-upgrade-mode-check" +description = "Functions and tests for checking Nym's Credential Proxy is being properly upgraded" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Functions and tests for checking Nym's Credential Proxy is being properly upgraded" +publish = true [dependencies] jwt-simple = { workspace = true } diff --git a/common/verloc/Cargo.toml b/common/verloc/Cargo.toml index fa218f9aee..0617192dff 100644 --- a/common/verloc/Cargo.toml +++ b/common/verloc/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "nym-verloc" +description = "Nym's verloc (Verifiable Location) implementation" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true -description = "Nym's verloc (Verifiable Location) implementation" +publish = true [dependencies] bytes = { workspace = true } diff --git a/common/wasm/client-core/Cargo.toml b/common/wasm/client-core/Cargo.toml index f7811e6f84..749272e9a2 100644 --- a/common/wasm/client-core/Cargo.toml +++ b/common/wasm/client-core/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-wasm-client-core" -authors = ["Jedrzej Stuczynski "] +description = "Crate containing core WASM client functionality and configs" version.workspace = true +authors = ["Jedrzej Stuczynski "] edition = "2021" license = "Apache-2.0" repository = "https://github.com/nymtech/nym" -description = "Crate containing core WASM client functionality and configs" +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/wasm/storage/Cargo.toml b/common/wasm/storage/Cargo.toml index 7c07592da2..2e4f4430c4 100644 --- a/common/wasm/storage/Cargo.toml +++ b/common/wasm/storage/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wasm-storage" +description = "indexeddb-backed in-browser storage with optional encryption implentation and helpers" version.workspace = true authors = ["Jedrzej Stuczynski "] edition = "2021" license.workspace = true -description = "indexeddb-backed in-browser storage with optional encryption implentation and helpers" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/wasm/utils/Cargo.toml b/common/wasm/utils/Cargo.toml index 49af79aa41..73984f73e6 100644 --- a/common/wasm/utils/Cargo.toml +++ b/common/wasm/utils/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wasm-utils" +description = "Helpers and macros for the Nym WASM client" version.workspace = true authors = ["Jedrzej Stuczynski "] edition = "2021" license.workspace = true -description = "Helpers and macros for the Nym WASM client" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/wireguard-private-metadata/client/Cargo.toml b/common/wireguard-private-metadata/client/Cargo.toml index d039810387..dc5ee67df4 100644 --- a/common/wireguard-private-metadata/client/Cargo.toml +++ b/common/wireguard-private-metadata/client/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wireguard-private-metadata-client" +description = "nym-wireguard client implementation" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "nym-wireguard client implementation" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] async-trait = { workspace = true } diff --git a/common/wireguard-private-metadata/server/Cargo.toml b/common/wireguard-private-metadata/server/Cargo.toml index b16725b149..5e551a986c 100644 --- a/common/wireguard-private-metadata/server/Cargo.toml +++ b/common/wireguard-private-metadata/server/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wireguard-private-metadata-server" +description = "nym-wireguard server implementation" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "nym-wireguard server implementation" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] anyhow = { workspace = true } diff --git a/common/wireguard-private-metadata/shared/Cargo.toml b/common/wireguard-private-metadata/shared/Cargo.toml index 4c4ffacca8..cc43487b3a 100644 --- a/common/wireguard-private-metadata/shared/Cargo.toml +++ b/common/wireguard-private-metadata/shared/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wireguard-private-metadata-shared" +description = "Common crate for nym-wireguard server, client, and tests" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Common crate for nym-wireguard server, client, and tests" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] axum = { workspace = true } diff --git a/common/wireguard-private-metadata/tests/Cargo.toml b/common/wireguard-private-metadata/tests/Cargo.toml index de8a2ab501..552afc0468 100644 --- a/common/wireguard-private-metadata/tests/Cargo.toml +++ b/common/wireguard-private-metadata/tests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wireguard-private-metadata-tests" +description = "Tests for nym-wireguard implementation" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Tests for nym-wireguard implementation" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] async-trait = { workspace = true } diff --git a/common/wireguard-types/Cargo.toml b/common/wireguard-types/Cargo.toml index 8d271feb0e..30df325d31 100644 --- a/common/wireguard-types/Cargo.toml +++ b/common/wireguard-types/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wireguard-types" +description = "Wireguard public key and config definitions" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Wireguard public key and config definitions" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/wireguard/Cargo.toml b/common/wireguard/Cargo.toml index f6b3c0e6fb..70b95559ff 100644 --- a/common/wireguard/Cargo.toml +++ b/common/wireguard/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-wireguard" +description = "Interface and peer handling functionality for Wireguard protocol" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Interface and peer handling functionality for Wireguard protocol" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/common/zulip-client/Cargo.toml b/common/zulip-client/Cargo.toml index 8661cbe247..bef2cc57fc 100644 --- a/common/zulip-client/Cargo.toml +++ b/common/zulip-client/Cargo.toml @@ -2,11 +2,11 @@ name = "zulip-client" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/contracts/coconut-dkg/Cargo.toml b/contracts/coconut-dkg/Cargo.toml index 66cb2acbe0..bc410dc4ef 100644 --- a/contracts/coconut-dkg/Cargo.toml +++ b/contracts/coconut-dkg/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "nym-coconut-dkg" version = "0.1.0" -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/ecash/Cargo.toml b/contracts/ecash/Cargo.toml index 6391ebd269..81d323f29c 100644 --- a/contracts/ecash/Cargo.toml +++ b/contracts/ecash/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "nym-ecash" version = "0.1.0" -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +publish = false [[bin]] name = "schema" diff --git a/contracts/mixnet-vesting-integration-tests/Cargo.toml b/contracts/mixnet-vesting-integration-tests/Cargo.toml index a1f6aa3104..361885e353 100644 --- a/contracts/mixnet-vesting-integration-tests/Cargo.toml +++ b/contracts/mixnet-vesting-integration-tests/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "mixnet-vesting-integration-tests" version = "0.1.0" -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } publish = false diff --git a/contracts/mixnet/Cargo.toml b/contracts/mixnet/Cargo.toml index e5c7b47719..20222063f6 100644 --- a/contracts/mixnet/Cargo.toml +++ b/contracts/mixnet/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "nym-mixnet-contract" -version = "1.5.1" description = "Nym mixnet contract" -edition = { workspace = true } +version = "1.5.1" authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } readme = "README.md" - +publish = false exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. "contract.wasm", diff --git a/contracts/multisig/cw3-flex-multisig/Cargo.toml b/contracts/multisig/cw3-flex-multisig/Cargo.toml index e016a5f4c8..649b946357 100644 --- a/contracts/multisig/cw3-flex-multisig/Cargo.toml +++ b/contracts/multisig/cw3-flex-multisig/Cargo.toml @@ -1,13 +1,14 @@ [package] name = "cw3-flex-multisig" +description = "Implementing cw3 with multiple voting patterns and dynamic groups" version = "2.0.0" authors = ["Ethan Frey "] edition = "2021" -description = "Implementing cw3 with multiple voting patterns and dynamic groups" license = "Apache-2.0" repository = "https://github.com/CosmWasm/cw-plus" homepage = "https://cosmwasm.com" documentation = "https://docs.cosmwasm.com" +publish = false [[bin]] name = "schema" diff --git a/contracts/multisig/cw4-group/Cargo.toml b/contracts/multisig/cw4-group/Cargo.toml index b8334b756e..e6c2940d73 100644 --- a/contracts/multisig/cw4-group/Cargo.toml +++ b/contracts/multisig/cw4-group/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "cw4-group" +description = "Simple cw4 implementation of group membership controlled by admin " version = "2.0.0" authors = ["Ethan Frey "] edition = "2021" -description = "Simple cw4 implementation of group membership controlled by admin " license = "Apache-2.0" repository = "https://github.com/CosmWasm/cw-plus" homepage = "https://cosmwasm.com" documentation = "https://docs.cosmwasm.com" - +publish = false exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. "artifacts/*", diff --git a/contracts/nym-pool/Cargo.toml b/contracts/nym-pool/Cargo.toml index f3fc80740e..d4d68fde37 100644 --- a/contracts/nym-pool/Cargo.toml +++ b/contracts/nym-pool/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "nym-pool-contract" version = "0.1.0" -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +publish = false [[bin]] name = "schema" diff --git a/contracts/performance/Cargo.toml b/contracts/performance/Cargo.toml index 72086ad419..78069a02de 100644 --- a/contracts/performance/Cargo.toml +++ b/contracts/performance/Cargo.toml @@ -2,11 +2,12 @@ name = "nym-performance-contract" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true +publish = false [[bin]] name = "schema" diff --git a/contracts/vesting/Cargo.toml b/contracts/vesting/Cargo.toml index bc227c5806..467e35c7d7 100644 --- a/contracts/vesting/Cargo.toml +++ b/contracts/vesting/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "nym-vesting-contract" -version = "1.4.1" description = "Nym vesting contract" -edition = { workspace = true } +version = "1.4.1" authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } readme = "README.md" - +publish = false exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. "contract.wasm", diff --git a/cpu-cycles/Cargo.toml b/cpu-cycles/Cargo.toml index 4c234b8d30..fe139b5d47 100644 --- a/cpu-cycles/Cargo.toml +++ b/cpu-cycles/Cargo.toml @@ -2,9 +2,10 @@ name = "cpu-cycles" version = "0.1.0" edition = "2021" +license = "LicenseRef-PD-hp OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT" +publish = false build = "build.rs" links = "cpucycles" -license = "LicenseRef-PD-hp OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT" [dependencies] libc = "0.2.140" diff --git a/documentation/autodoc/Cargo.toml b/documentation/autodoc/Cargo.toml index 1905285f99..6586cdd256 100644 --- a/documentation/autodoc/Cargo.toml +++ b/documentation/autodoc/Cargo.toml @@ -2,11 +2,11 @@ name = "autodoc" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false [dependencies] diff --git a/examples/cli/commands/verify-signature/Cargo.toml b/examples/cli/commands/verify-signature/Cargo.toml index 5ad0673115..bd4c0553a0 100644 --- a/examples/cli/commands/verify-signature/Cargo.toml +++ b/examples/cli/commands/verify-signature/Cargo.toml @@ -2,6 +2,7 @@ name = "example-verify-signature" version = "0.1.0" edition = "2021" +publish = false [workspace] diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index 51e3c98c6c..d5c76b9b54 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -3,14 +3,14 @@ [package] name = "nym-gateway" -license = "GPL-3.0" +description = "Implementation of the Nym Mixnet Gateway" version = "1.1.36" authors = [ "Dave Hrycyszyn ", "Jędrzej Stuczyński ", ] -description = "Implementation of the Nym Mixnet Gateway" edition = "2021" +license = "GPL-3.0" rust-version = "1.85" publish = false diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index aaeced8b6d..9f7fe77d06 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -2,11 +2,11 @@ name = "integration-tests" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/lefthook.yml b/lefthook.yml index 0687e78972..27c29ce3a2 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -51,3 +51,6 @@ pre-commit: glob: "*.rs" run: cargo fmt stage_fixed: true + cargo-toml-order: + glob: "**/Cargo.toml" + run: python3 tools/internal/check_cargo_toml_field_order.py {staged_files} diff --git a/nym-api/Cargo.toml b/nym-api/Cargo.toml index 8ce67d316a..446d463ce9 100644 --- a/nym-api/Cargo.toml +++ b/nym-api/Cargo.toml @@ -3,10 +3,10 @@ [package] name = "nym-api" -license = "GPL-3.0" version = "1.1.77" authors.workspace = true edition = "2021" +license = "GPL-3.0" rust-version.workspace = true publish = false diff --git a/nym-api/nym-api-requests/Cargo.toml b/nym-api/nym-api-requests/Cargo.toml index 176eb0920f..28d18fc632 100644 --- a/nym-api/nym-api-requests/Cargo.toml +++ b/nym-api/nym-api-requests/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-api-requests" +description = "Nym API request types and functions" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Nym API request types and functions" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-authenticator-client/Cargo.toml b/nym-authenticator-client/Cargo.toml index b1793b6cbf..b502237316 100644 --- a/nym-authenticator-client/Cargo.toml +++ b/nym-authenticator-client/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-authenticator-client" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false [lints] diff --git a/nym-browser-extension/storage/Cargo.toml b/nym-browser-extension/storage/Cargo.toml index e25c1b107f..5ee0d1b961 100644 --- a/nym-browser-extension/storage/Cargo.toml +++ b/nym-browser-extension/storage/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "extension-storage" +description = "WebAssembly-based secure storage for browser extension mnemonics" version = "1.4.1" +authors = ["Nym Technologies SA "] edition = "2024" license = "Apache-2.0" repository = "https://github.com/nymtech/nym" -description = "WebAssembly-based secure storage for browser extension mnemonics" -authors = ["Nym Technologies SA "] publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-credential-proxy/nym-credential-proxy-requests/Cargo.toml b/nym-credential-proxy/nym-credential-proxy-requests/Cargo.toml index d81b35e70b..2adbd39d9a 100644 --- a/nym-credential-proxy/nym-credential-proxy-requests/Cargo.toml +++ b/nym-credential-proxy/nym-credential-proxy-requests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-credential-proxy-requests" +description = "Request and response definitions for interacting with the Nym Credential Proxy" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Request and response definitions for interacting with the Nym Credential Proxy" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-credential-proxy/nym-credential-proxy/Cargo.toml b/nym-credential-proxy/nym-credential-proxy/Cargo.toml index 9a680358a7..4354534ee3 100644 --- a/nym-credential-proxy/nym-credential-proxy/Cargo.toml +++ b/nym-credential-proxy/nym-credential-proxy/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-credential-proxy" version = "0.3.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true publish = false diff --git a/nym-data-observatory/Cargo.toml b/nym-data-observatory/Cargo.toml index 4a6a09685b..906f8dd651 100644 --- a/nym-data-observatory/Cargo.toml +++ b/nym-data-observatory/Cargo.toml @@ -5,11 +5,11 @@ name = "nym-data-observatory" version = "1.0.1" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true publish = false diff --git a/nym-gateway-probe/Cargo.toml b/nym-gateway-probe/Cargo.toml index 684f54a288..7cb0bf8575 100644 --- a/nym-gateway-probe/Cargo.toml +++ b/nym-gateway-probe/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-gateway-probe" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false [lints] diff --git a/nym-ip-packet-client/Cargo.toml b/nym-ip-packet-client/Cargo.toml index e631a759ca..47b2de02c3 100644 --- a/nym-ip-packet-client/Cargo.toml +++ b/nym-ip-packet-client/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-ip-packet-client" +description = "Nym's implementation of a client that sends and receives IP packets" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Nym's implementation of a client that sends and receives IP packets" +rust-version.workspace = true +readme.workspace = true +publish = true [lints] workspace = true diff --git a/nym-network-monitor/Cargo.toml b/nym-network-monitor/Cargo.toml index 5f68dec06e..eba4bd06d9 100644 --- a/nym-network-monitor/Cargo.toml +++ b/nym-network-monitor/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-network-monitor" version = "1.0.2" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-node-status-api/nym-node-status-agent/Cargo.toml b/nym-node-status-api/nym-node-status-agent/Cargo.toml index 653bda4b95..6171d7c927 100644 --- a/nym-node-status-api/nym-node-status-agent/Cargo.toml +++ b/nym-node-status-api/nym-node-status-agent/Cargo.toml @@ -5,11 +5,11 @@ name = "nym-node-status-agent" version = "2.0.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/nym-node-status-api/nym-node-status-api/Cargo.toml b/nym-node-status-api/nym-node-status-api/Cargo.toml index 49e6f44b8c..64db4e1f4c 100644 --- a/nym-node-status-api/nym-node-status-api/Cargo.toml +++ b/nym-node-status-api/nym-node-status-api/Cargo.toml @@ -5,11 +5,11 @@ name = "nym-node-status-api" version = "4.6.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true publish = false diff --git a/nym-node-status-api/nym-node-status-client/Cargo.toml b/nym-node-status-api/nym-node-status-client/Cargo.toml index 8bd8541f55..63272148a1 100644 --- a/nym-node-status-api/nym-node-status-client/Cargo.toml +++ b/nym-node-status-api/nym-node-status-client/Cargo.toml @@ -5,11 +5,11 @@ name = "nym-node-status-client" version = "0.3.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/nym-node/Cargo.toml b/nym-node/Cargo.toml index 1cd66c1de3..6d41224654 100644 --- a/nym-node/Cargo.toml +++ b/nym-node/Cargo.toml @@ -5,11 +5,11 @@ name = "nym-node" version = "1.29.0" authors.workspace = true +edition.workspace = true +license = "GPL-3.0" repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license = "GPL-3.0" publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-node/nym-node-metrics/Cargo.toml b/nym-node/nym-node-metrics/Cargo.toml index 28b32ac5e8..9e6b4c416c 100644 --- a/nym-node/nym-node-metrics/Cargo.toml +++ b/nym-node/nym-node-metrics/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-node-metrics" +description = "Crate defining various metrics for Nym Nodes (Mix Nodes and Gateways) such as ongoing connections, packets mixed, and packets dropped" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Crate defining various metrics for Nym Nodes (Mix Nodes and Gateways) such as ongoing connections, packets mixed, and packets dropped" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] dashmap = { workspace = true } diff --git a/nym-node/nym-node-requests/Cargo.toml b/nym-node/nym-node-requests/Cargo.toml index b051086220..bd78701287 100644 --- a/nym-node/nym-node-requests/Cargo.toml +++ b/nym-node/nym-node-requests/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "nym-node-requests" +description = "Nym Node API endpoint definitions and functions" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Nym Node API endpoint definitions and functions" +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-outfox/Cargo.toml b/nym-outfox/Cargo.toml index d3ea59291d..075c380d28 100644 --- a/nym-outfox/Cargo.toml +++ b/nym-outfox/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "nym-outfox" -version.workspace = true description = "Outfox package format" -edition = { workspace = true } +version.workspace = true authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-registration-client/Cargo.toml b/nym-registration-client/Cargo.toml index a1c3aa335a..0a7e845864 100644 --- a/nym-registration-client/Cargo.toml +++ b/nym-registration-client/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "nym-registration-client" +description = "Crate for dealing with Mixnet and Wireguard registration between Nym clients and Gateways" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true -description = "Crate for dealing with Mixnet and Wireguard registration between Nym clients and Gateways" publish = false [lints] diff --git a/nym-signers-monitor/Cargo.toml b/nym-signers-monitor/Cargo.toml index 56adfc4ac5..265ee22192 100644 --- a/nym-signers-monitor/Cargo.toml +++ b/nym-signers-monitor/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-signers-monitor" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/nym-sqlx-pool-guard/Cargo.toml b/nym-sqlx-pool-guard/Cargo.toml index 3eecfffb99..85622863ad 100644 --- a/nym-sqlx-pool-guard/Cargo.toml +++ b/nym-sqlx-pool-guard/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-sqlx-pool-guard" +description = "Platform-specific functions for SQLX dbs" version.workspace = true +authors.workspace = true edition = "2024" license.workspace = true -description = "Platform-specific functions for SQLX dbs" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [lints] workspace = true diff --git a/nym-statistics-api/Cargo.toml b/nym-statistics-api/Cargo.toml index d603503585..e826ca90ac 100644 --- a/nym-statistics-api/Cargo.toml +++ b/nym-statistics-api/Cargo.toml @@ -5,11 +5,11 @@ name = "nym-statistics-api" version = "0.3.1" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true publish = false diff --git a/nym-validator-rewarder/Cargo.toml b/nym-validator-rewarder/Cargo.toml index bf2fc671f8..66de013893 100644 --- a/nym-validator-rewarder/Cargo.toml +++ b/nym-validator-rewarder/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-validator-rewarder" version = "0.3.0" authors.workspace = true +edition.workspace = true +license = "GPL-3.0" repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license = "GPL-3.0" publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-wallet/nym-wallet-recovery-cli/Cargo.toml b/nym-wallet/nym-wallet-recovery-cli/Cargo.toml index 5d78d02d41..4a60d01ba5 100644 --- a/nym-wallet/nym-wallet-recovery-cli/Cargo.toml +++ b/nym-wallet/nym-wallet-recovery-cli/Cargo.toml @@ -2,6 +2,7 @@ name = "nym-wallet-recovery-cli" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nym-wallet/nym-wallet-types/Cargo.toml b/nym-wallet/nym-wallet-types/Cargo.toml index b07382912a..a91188a94a 100644 --- a/nym-wallet/nym-wallet-types/Cargo.toml +++ b/nym-wallet/nym-wallet-types/Cargo.toml @@ -2,8 +2,9 @@ name = "nym-wallet-types" version = "1.0.0" edition = "2021" -rust-version = "1.85" license = "Apache-2.0" +rust-version = "1.85" +publish = false [dependencies] hex-literal = "0.3.3" diff --git a/nym-wallet/src-tauri/Cargo.toml b/nym-wallet/src-tauri/Cargo.toml index ace8911a78..0ade98b950 100644 --- a/nym-wallet/src-tauri/Cargo.toml +++ b/nym-wallet/src-tauri/Cargo.toml @@ -1,14 +1,15 @@ [package] name = "NymWallet" -version = "1.2.19" description = "Nym Native Wallet" +version = "1.2.19" authors = ["Nym Technologies SA"] +edition = "2021" license = "" repository = "" -default-run = "NymWallet" -edition = "2021" -build = "src/build.rs" rust-version = "1.85" +publish = false +build = "src/build.rs" +default-run = "NymWallet" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/nyx-chain-watcher/Cargo.toml b/nyx-chain-watcher/Cargo.toml index e8f2b4b2e0..04c7b41793 100644 --- a/nyx-chain-watcher/Cargo.toml +++ b/nyx-chain-watcher/Cargo.toml @@ -5,11 +5,11 @@ name = "nyx-chain-watcher" version = "0.1.15" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/sdk/ffi/cpp/Cargo.toml b/sdk/ffi/cpp/Cargo.toml index 307f669a15..786009064e 100644 --- a/sdk/ffi/cpp/Cargo.toml +++ b/sdk/ffi/cpp/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-cpp-ffi" +description = "C++ FFI bindings for Nym Rust SDK" version.workspace = true +authors.workspace = true edition = "2021" +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -license.workspace = true -description = "C++ FFI bindings for Nym Rust SDK" +rust-version.workspace = true +readme.workspace = true +publish = true [lib] name = "nym_cpp_ffi" diff --git a/sdk/ffi/go/Cargo.toml b/sdk/ffi/go/Cargo.toml index 76b1e91a57..a47eb63308 100644 --- a/sdk/ffi/go/Cargo.toml +++ b/sdk/ffi/go/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-go-ffi" +description = "Go FFI bindings for Nym Rust SDK" version.workspace = true +authors.workspace = true edition = "2021" +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -license.workspace = true -description = "Go FFI bindings for Nym Rust SDK" +rust-version.workspace = true +readme.workspace = true +publish = true [lib] crate-type = ["cdylib"] diff --git a/sdk/ffi/shared/Cargo.toml b/sdk/ffi/shared/Cargo.toml index d5e3434892..c4531df638 100644 --- a/sdk/ffi/shared/Cargo.toml +++ b/sdk/ffi/shared/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-ffi-shared" +description = "Common crate for use by Rust SDK FFI crates" version.workspace = true +authors.workspace = true edition = "2021" +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -license.workspace = true -description = "Common crate for use by Rust SDK FFI crates" +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] # Async runtime diff --git a/sdk/rust/nym-sdk/Cargo.toml b/sdk/rust/nym-sdk/Cargo.toml index 9fddca8295..931c640edb 100644 --- a/sdk/rust/nym-sdk/Cargo.toml +++ b/sdk/rust/nym-sdk/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "nym-sdk" +description = "Nym's Rust SDK" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Nym's Rust SDK" repository = "https://github.com/nymtech/nym/sdk/rust/nym-sdk/" +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # documentation = "https://docs.rs/nym-sdk" Max: once we upload to crates.io and this is generated, this can be uncommented. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/service-providers/common/Cargo.toml b/service-providers/common/Cargo.toml index 93661af48f..0966f51cf5 100644 --- a/service-providers/common/Cargo.toml +++ b/service-providers/common/Cargo.toml @@ -1,12 +1,16 @@ [package] name = "nym-service-providers-common" +description = "Common crate for Nym Service Providers" version.workspace = true +authors.workspace = true edition = "2021" license.workspace = true -description = "Common crate for Nym Service Providers" repository.workspace = true homepage.workspace = true documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/service-providers/ip-packet-router/Cargo.toml b/service-providers/ip-packet-router/Cargo.toml index 956205f8b5..8c05b495e7 100644 --- a/service-providers/ip-packet-router/Cargo.toml +++ b/service-providers/ip-packet-router/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-ip-packet-router" version.workspace = true authors.workspace = true +edition.workspace = true +license = "GPL-3.0" repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license = "GPL-3.0" publish = false [dependencies] diff --git a/service-providers/network-requester/Cargo.toml b/service-providers/network-requester/Cargo.toml index 426c6a6b22..91b0ca6f5e 100644 --- a/service-providers/network-requester/Cargo.toml +++ b/service-providers/network-requester/Cargo.toml @@ -3,10 +3,10 @@ [package] name = "nym-network-requester" -license = "GPL-3.0" version = "1.1.75" authors.workspace = true edition.workspace = true +license = "GPL-3.0" rust-version = "1.85" publish = false diff --git a/smolmix/core/Cargo.toml b/smolmix/core/Cargo.toml index 173e519178..9ef598b42d 100644 --- a/smolmix/core/Cargo.toml +++ b/smolmix/core/Cargo.toml @@ -1,8 +1,16 @@ [package] name = "smolmix" +description = "Tunnel for TCP and UDP traffic to be sent over Nym mixnet to clearnet remote hosts" version = "0.0.1" +authors.workspace = true edition = "2021" license.workspace = true +repository.workspace = true +homepage.workspace = true +documentation.workspace = true +rust-version.workspace = true +readme.workspace = true +publish = true [dependencies] smoltcp = { workspace = true, features = [ diff --git a/tools/echo-server/Cargo.toml b/tools/echo-server/Cargo.toml index 4f9ec4de02..73f57d986d 100644 --- a/tools/echo-server/Cargo.toml +++ b/tools/echo-server/Cargo.toml @@ -2,11 +2,11 @@ name = "echo-server" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true publish = false diff --git a/tools/internal/check_cargo_toml_field_order.py b/tools/internal/check_cargo_toml_field_order.py new file mode 100644 index 0000000000..dbe3ddfa64 --- /dev/null +++ b/tools/internal/check_cargo_toml_field_order.py @@ -0,0 +1,66 @@ +#!/usr/bin/env python3 +"""Check [package] field ordering and required fields in Cargo.toml files.""" +import re, sys + +ORDER = [ + "name", "description", "version", "authors", "edition", "license", + "repository", "homepage", "documentation", "rust-version", "readme", + "publish", "keywords", "exclude", "build", "links", "default-run", + "resolver", +] + +# Required when publish = true or publish.workspace = true +REQUIRED = { + "name", "description", "version", "authors", "edition", "license", + "repository", "homepage", "documentation", "rust-version", "readme", + "publish", +} + +bad = [] +for path in sys.argv[1:]: + fields, values, in_pkg = [], {}, False + for line in open(path): + s = line.strip() + if s == "[package]": + in_pkg = True + continue + if in_pkg and s.startswith("["): + break + if in_pkg: + m = re.match(r"^(\w[\w-]*)", s) + if m and "=" in line: + fields.append(m.group(1)) + values[m.group(1)] = s + + if not fields: + continue + + unknown = [f for f in fields if f not in ORDER] + if unknown: + bad.append((path, f"unknown field(s): {', '.join(unknown)}")) + continue + + expected = sorted(fields, key=ORDER.index) + if fields != expected: + first = next(a for a, b in zip(fields, expected) if a != b) + bad.append((path, f"field ordering: first mismatch is '{first}'")) + + # publish must always be present (explicit intent) + field_set = set(fields) + if "publish" not in field_set: + bad.append((path, "missing 'publish' field (must be explicit)")) + # Check remaining required fields when publishable + elif "true" in values["publish"] or "workspace" in values["publish"]: + missing = sorted(REQUIRED - field_set, key=ORDER.index) + if missing: + bad.append((path, f"missing required: {', '.join(missing)}")) + +if bad: + print("[package] field issues:") + for path, reason in bad: + print(f" {path} ({reason})") + print("\nCanonical order:") + for f in ORDER: + req = " (required)" if f in REQUIRED else "" + print(f" - {f}{req}") + sys.exit(1) diff --git a/tools/internal/check_publish_preflight.py b/tools/internal/check_publish_preflight.py new file mode 100644 index 0000000000..5e6f857051 --- /dev/null +++ b/tools/internal/check_publish_preflight.py @@ -0,0 +1,217 @@ +#!/usr/bin/env python3 + +import json +import pathlib +import subprocess +import sys +from collections import defaultdict + + +def dependency_section(dep): + kind = dep.get("kind") or "normal" + section = { + "normal": "dependencies", + "dev": "dev-dependencies", + "build": "build-dependencies", + }.get(kind, f"{kind}-dependencies") + target = dep.get("target") + if target: + return f"target.{target}.{section}" + return section + + +def manifest_member(root, manifest_path): + manifest_parent = pathlib.Path(manifest_path).resolve().parent + try: + return str(manifest_parent.relative_to(root)) + except ValueError: + return str(manifest_parent) + + +def publish_status(pkg): + publish = pkg.get("publish") + if publish is None: + return True, "publishable to crates.io" + + if isinstance(publish, list): + if not publish: + return False, "publish disabled (`publish = false`)" + if "crates-io" in publish: + return True, "publishable to crates.io" + registries = ", ".join(publish) + return False, f"publish restricted to non-crates.io registries ({registries})" + + return False, f"unrecognized `publish` setting: {publish!r}" + + +def main(): + root = pathlib.Path(".").resolve() + metadata = json.loads( + subprocess.check_output( + ["cargo", "metadata", "--no-deps", "--format-version", "1"], + text=True, + ) + ) + packages_by_id = {pkg["id"]: pkg for pkg in metadata["packages"]} + workspace_ids = set(metadata["workspace_members"]) + workspace_packages = [ + packages_by_id[pkg_id] for pkg_id in workspace_ids if pkg_id in packages_by_id + ] + workspace_by_name = {pkg["name"]: pkg for pkg in workspace_packages} + workspace_dir_to_name = { + str(pathlib.Path(pkg["manifest_path"]).resolve().parent): pkg["name"] + for pkg in workspace_packages + } + + package_info = {} + for pkg in workspace_packages: + name = pkg["name"] + member = manifest_member(root, pkg["manifest_path"]) + explicitly_publishable, publish_reason = publish_status(pkg) + package_info[name] = { + "pkg": pkg, + "member": member, + "explicitly_publishable": explicitly_publishable, + "publish_reason": publish_reason, + } + + direct_issues = defaultdict(set) + workspace_deps = defaultdict(list) + + for name, info in package_info.items(): + pkg = info["pkg"] + member = info["member"] + explicitly_publishable = info["explicitly_publishable"] + + if not explicitly_publishable: + direct_issues[name].add(info["publish_reason"]) + continue + + for field in ("description", "license", "repository"): + value = pkg.get(field) + if not isinstance(value, str) or not value.strip(): + direct_issues[name].add(f"missing required field '{field}'") + + for dep in pkg.get("dependencies", []): + section = dependency_section(dep) + dep_name = dep["name"] + dep_source = dep.get("source") + + dep_workspace_name = workspace_by_name.get(dep_name, {}).get("name") + dep_path = dep.get("path") + if dep_workspace_name is None and dep_path: + dep_workspace_name = workspace_dir_to_name.get( + str(pathlib.Path(dep_path).resolve()) + ) + + if dep_path and dep.get("req") in ("*", ""): + direct_issues[name].add( + f"{section}: path dependency '{dep_name}' has no explicit version ({dep_path})" + ) + + if dep_workspace_name: + dep_info = package_info[dep_workspace_name] + if not dep_info["explicitly_publishable"]: + direct_issues[name].add( + f"{section}: depends on non-publishable workspace crate '{dep_workspace_name}' ({dep_info['publish_reason']})" + ) + continue + workspace_deps[name].append((dep_workspace_name, section)) + continue + + if dep_source and not dep_source.startswith("registry+"): + direct_issues[name].add( + f"{section}: non-registry dependency '{dep_name}' from '{dep_source}'" + ) + + effective_issues = {} + + def collect_effective_issues(crate_name, stack): + cached = effective_issues.get(crate_name) + if cached is not None: + return cached + + issues = set(direct_issues.get(crate_name, set())) + stack = stack | {crate_name} + + for dep_name, dep_section in workspace_deps.get(crate_name, []): + dep_info = package_info[dep_name] + if not dep_info["explicitly_publishable"]: + issues.add( + f"{dep_section}: depends on non-publishable workspace crate '{dep_name}' ({dep_info['publish_reason']})" + ) + continue + + if dep_name in stack: + continue + + dep_issues = collect_effective_issues(dep_name, stack) + if dep_issues: + issues.add( + f"{dep_section}: depends on blocked workspace crate '{dep_name}'" + ) + + effective_issues[crate_name] = issues + return issues + + for crate_name in package_info: + collect_effective_issues(crate_name, set()) + + publish_targets = sorted( + name for name, info in package_info.items() if info["explicitly_publishable"] + ) + root_blockers = sorted( + name + for name in publish_targets + if direct_issues.get(name) + ) + transitive_blocked = sorted( + name + for name in publish_targets + if not direct_issues.get(name) and effective_issues.get(name) + ) + + disabled_by_config = sorted( + name for name, info in package_info.items() if not info["explicitly_publishable"] + ) + + print("Publishability preflight report:") + print(f"- workspace crates inspected: {len(package_info)}") + print(f"- crates configured for crates.io publish: {len(publish_targets)}") + print(f"- root blockers (direct issues): {len(root_blockers)}") + print(f"- downstream blocked crates (transitive): {len(transitive_blocked)}") + print(f"- crates excluded by config (publish = false / restricted): {len(disabled_by_config)}") + + if root_blockers: + print("\nAction required: root blockers") + for crate_name in root_blockers: + info = package_info[crate_name] + print(f"- {crate_name} ({info['member']})") + for issue in sorted(direct_issues[crate_name]): + print(f" - {issue}") + + if transitive_blocked: + print("\nDownstream blocked crates") + print("- These crates have no direct issue; they are blocked by dependencies listed below.") + for crate_name in transitive_blocked: + info = package_info[crate_name] + blockers = set() + for dep_name, dep_section in workspace_deps.get(crate_name, []): + dep_info = package_info[dep_name] + if not dep_info["explicitly_publishable"] or effective_issues.get(dep_name): + blockers.add(f"{dep_name} via {dep_section}") + + print(f"- {crate_name} ({info['member']})") + for blocker in sorted(blockers): + print(f" - blocked by {blocker}") + + if root_blockers or transitive_blocked: + print("\nPreflight checks failed:") + print(f"- {len(root_blockers) + len(transitive_blocked)} crate(s) configured for crates.io publish are blocked.") + sys.exit(1) + + print("\nPreflight checks passed.") + + +if __name__ == "__main__": + main() diff --git a/tools/internal/contract-state-importer/importer-cli/Cargo.toml b/tools/internal/contract-state-importer/importer-cli/Cargo.toml index 143b18ffbb..63e0aa5b3d 100644 --- a/tools/internal/contract-state-importer/importer-cli/Cargo.toml +++ b/tools/internal/contract-state-importer/importer-cli/Cargo.toml @@ -2,11 +2,11 @@ name = "importer-cli" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/tools/internal/contract-state-importer/importer-contract/Cargo.toml b/tools/internal/contract-state-importer/importer-contract/Cargo.toml index 72f0476206..99290faff4 100644 --- a/tools/internal/contract-state-importer/importer-contract/Cargo.toml +++ b/tools/internal/contract-state-importer/importer-contract/Cargo.toml @@ -2,11 +2,11 @@ name = "importer-contract" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true readme.workspace = true publish = false diff --git a/tools/internal/localnet-orchestrator/Cargo.toml b/tools/internal/localnet-orchestrator/Cargo.toml index 7aef726f07..8d6421cb3f 100644 --- a/tools/internal/localnet-orchestrator/Cargo.toml +++ b/tools/internal/localnet-orchestrator/Cargo.toml @@ -2,11 +2,11 @@ name = "localnet-orchestrator" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/tools/internal/localnet-orchestrator/dkg-bypass-contract/Cargo.toml b/tools/internal/localnet-orchestrator/dkg-bypass-contract/Cargo.toml index 5074d8d91f..895f133786 100644 --- a/tools/internal/localnet-orchestrator/dkg-bypass-contract/Cargo.toml +++ b/tools/internal/localnet-orchestrator/dkg-bypass-contract/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "dkg-bypass-contract" version = "0.1.0" -edition = { workspace = true } authors = { workspace = true } +edition = { workspace = true } license = { workspace = true } repository = { workspace = true } publish = false diff --git a/tools/internal/mixnet-connectivity-check/Cargo.toml b/tools/internal/mixnet-connectivity-check/Cargo.toml index 9d2d36c9d8..34210518c4 100644 --- a/tools/internal/mixnet-connectivity-check/Cargo.toml +++ b/tools/internal/mixnet-connectivity-check/Cargo.toml @@ -2,11 +2,11 @@ name = "mixnet-connectivity-check" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/tools/internal/sdk-version-bump/Cargo.toml b/tools/internal/sdk-version-bump/Cargo.toml index ba51b1caf6..281aa976ef 100644 --- a/tools/internal/sdk-version-bump/Cargo.toml +++ b/tools/internal/sdk-version-bump/Cargo.toml @@ -2,11 +2,12 @@ name = "sdk-version-bump" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tools/internal/validator-status-check/Cargo.toml b/tools/internal/validator-status-check/Cargo.toml index 7b335095b7..774b5c4cbb 100644 --- a/tools/internal/validator-status-check/Cargo.toml +++ b/tools/internal/validator-status-check/Cargo.toml @@ -2,11 +2,11 @@ name = "validator-status-check" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true rust-version.workspace = true readme.workspace = true publish = false diff --git a/tools/nym-id-cli/Cargo.toml b/tools/nym-id-cli/Cargo.toml index 7d264bb2e8..f718450ac0 100644 --- a/tools/nym-id-cli/Cargo.toml +++ b/tools/nym-id-cli/Cargo.toml @@ -2,11 +2,11 @@ name = "nym-id-cli" version = "0.1.0" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tools/nym-lp-client/Cargo.toml b/tools/nym-lp-client/Cargo.toml index e91e052662..c33b04f366 100644 --- a/tools/nym-lp-client/Cargo.toml +++ b/tools/nym-lp-client/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "nym-lp-client" +description = "LP+KCP mixnet client" version = "0.1.0" edition = "2021" -description = "LP+KCP mixnet client" license.workspace = true publish = false diff --git a/tools/nymvisor/Cargo.toml b/tools/nymvisor/Cargo.toml index a99cb29472..f61d3c10b9 100644 --- a/tools/nymvisor/Cargo.toml +++ b/tools/nymvisor/Cargo.toml @@ -2,11 +2,11 @@ name = "nymvisor" version = "0.1.39" authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wasm/client/Cargo.toml b/wasm/client/Cargo.toml index 2377ddcb6d..eed416767b 100644 --- a/wasm/client/Cargo.toml +++ b/wasm/client/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "nym-client-wasm" +description = "A webassembly client which can be used to interact with the the Nym privacy platform. Wasm is used for Sphinx packet generation." +version = "1.4.1" authors = [ "Dave Hrycyszyn ", "Jedrzej Stuczynski ", ] -version = "1.4.1" edition = "2021" -keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy"] license = "Apache-2.0" repository = "https://github.com/nymtech/nym" -description = "A webassembly client which can be used to interact with the the Nym privacy platform. Wasm is used for Sphinx packet generation." rust-version = "1.85" publish = false +keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy"] [lib] crate-type = ["cdylib", "rlib"] diff --git a/wasm/full-nym-wasm/Cargo.toml b/wasm/full-nym-wasm/Cargo.toml index f3a7357e6c..ee6aadf5fe 100644 --- a/wasm/full-nym-wasm/Cargo.toml +++ b/wasm/full-nym-wasm/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "nym-wasm-sdk" -authors = ["Jedrzej Stuczynski "] version = "1.2.2" +authors = ["Jedrzej Stuczynski "] edition = "2021" -keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy"] license = "Apache-2.0" repository = "https://github.com/nymtech/nym" rust-version = "1.85" publish = false +keywords = ["nym", "sphinx", "wasm", "webassembly", "privacy"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wasm/mix-fetch/Cargo.toml b/wasm/mix-fetch/Cargo.toml index 9573365b4d..8fca01cdc8 100644 --- a/wasm/mix-fetch/Cargo.toml +++ b/wasm/mix-fetch/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "mix-fetch-wasm" -authors = ["Jedrzej Stuczynski "] version = "1.4.3" +authors = ["Jedrzej Stuczynski "] edition = "2021" -keywords = ["nym", "fetch", "wasm", "webassembly", "privacy"] license = "Apache-2.0" repository = "https://github.com/nymtech/nym" rust-version = "1.85" publish = false +keywords = ["nym", "fetch", "wasm", "webassembly", "privacy"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wasm/node-tester/Cargo.toml b/wasm/node-tester/Cargo.toml index 8a61eb06ab..88e7e5b9a5 100644 --- a/wasm/node-tester/Cargo.toml +++ b/wasm/node-tester/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "nym-node-tester-wasm" -authors = ["Jedrzej Stuczynski "] version = "1.3.1" +authors = ["Jedrzej Stuczynski "] edition = "2021" -keywords = ["nym", "sphinx", "webassembly", "privacy", "tester"] license = "Apache-2.0" repository = "https://github.com/nymtech/nym" rust-version = "1.85" publish = false +keywords = ["nym", "sphinx", "webassembly", "privacy", "tester"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wasm/zknym-lib/Cargo.toml b/wasm/zknym-lib/Cargo.toml index 385ed467f1..23cc1f50ea 100644 --- a/wasm/zknym-lib/Cargo.toml +++ b/wasm/zknym-lib/Cargo.toml @@ -2,11 +2,11 @@ name = "zknym-lib" version.workspace = true authors.workspace = true +edition.workspace = true +license.workspace = true repository.workspace = true homepage.workspace = true documentation.workspace = true -edition.workspace = true -license.workspace = true publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html