From 7c1f6ce02ecb9b5075bf8408fdcfb064628d31fb Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Fri, 4 Oct 2024 15:00:23 +0200 Subject: [PATCH 1/8] Update MSRV --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c80be272..ec31c47b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ exclude = ["examples/transfers/contracts", "examples/transfers/enclave"] [workspace.package] version = "0.1.0" edition = "2021" -rust-version = "1.74.1" +rust-version = "1.75.0" license = "" readme = "README.md" repository = "https://github.com/informalsystems/cycles-quartz" From 83a804eaebc634472ade8cc335805491d782cf61 Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Fri, 4 Oct 2024 17:28:40 +0200 Subject: [PATCH 2/8] Add and use custom license --- Cargo.toml | 2 +- LICENSE | 10 ++++++++++ crates/cli/Cargo.toml | 2 +- crates/common/Cargo.toml | 2 +- crates/contracts/core/Cargo.toml | 2 +- crates/contracts/cw-proof/Cargo.toml | 2 +- crates/contracts/dcap-verifier/msgs/Cargo.toml | 2 +- crates/contracts/tcbinfo/Cargo.toml | 2 +- crates/contracts/tcbinfo/msgs/Cargo.toml | 2 +- crates/contracts/tee-ra/Cargo.toml | 2 +- crates/contracts/tm-stateless-verifier/Cargo.toml | 2 +- crates/enclave/core/Cargo.toml | 2 +- crates/enclave/proto/Cargo.toml | 2 +- crates/utils/cw-client/Cargo.toml | 2 +- crates/utils/cw-prover/Cargo.toml | 2 +- crates/utils/print-fmspc/Cargo.toml | 2 +- crates/utils/tm-prover/Cargo.toml | 2 +- 17 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index ec31c47b..69b27dfe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ exclude = ["examples/transfers/contracts", "examples/transfers/enclave"] version = "0.1.0" edition = "2021" rust-version = "1.75.0" -license = "" +license-file = "LICENSE" readme = "README.md" repository = "https://github.com/informalsystems/cycles-quartz" authors = ["Informal Systems "] diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..e570af1a --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ +This code is not yet licensed. We are making the source available for this early pre-production release, but all rights reserved by the copyright holder (Informal Systems). + +We accept contributions to the code, however by contributing to the codebase you hereby agree to allow Informal Systems to license your contribution however it deems appropriate in the future. We reserve the right to use, make derivative works from and/or license such contributions however we see fit, including via open-source or other business or proprietary licenses. + +This is not a long term viable strategy and we apologize on behalf of our civilization for the abysmal state of intellectual property law and really capitalism in general. You deserve better. + + +— + +In the meantime, enjoy this poem: diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index a85b1d63..56b13078 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 21ef10e1..e1a05aa4 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -3,7 +3,7 @@ name = "quartz-common" version.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true readme.workspace = true repository.workspace = true authors.workspace = true diff --git a/crates/contracts/core/Cargo.toml b/crates/contracts/core/Cargo.toml index 40d2c104..966186c6 100644 --- a/crates/contracts/core/Cargo.toml +++ b/crates/contracts/core/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] readme = "README.md" diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index 9313a5ca..825b2998 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] readme = "README.md" diff --git a/crates/contracts/dcap-verifier/msgs/Cargo.toml b/crates/contracts/dcap-verifier/msgs/Cargo.toml index a1916d06..34036c14 100644 --- a/crates/contracts/dcap-verifier/msgs/Cargo.toml +++ b/crates/contracts/dcap-verifier/msgs/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true [dependencies] diff --git a/crates/contracts/tcbinfo/Cargo.toml b/crates/contracts/tcbinfo/Cargo.toml index fff6d624..0bcf95b6 100644 --- a/crates/contracts/tcbinfo/Cargo.toml +++ b/crates/contracts/tcbinfo/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/contracts/tcbinfo/msgs/Cargo.toml b/crates/contracts/tcbinfo/msgs/Cargo.toml index 14209063..4a4d79e4 100644 --- a/crates/contracts/tcbinfo/msgs/Cargo.toml +++ b/crates/contracts/tcbinfo/msgs/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true [dependencies] diff --git a/crates/contracts/tee-ra/Cargo.toml b/crates/contracts/tee-ra/Cargo.toml index b9aeeb32..fe3becdc 100644 --- a/crates/contracts/tee-ra/Cargo.toml +++ b/crates/contracts/tee-ra/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] readme = "README.md" diff --git a/crates/contracts/tm-stateless-verifier/Cargo.toml b/crates/contracts/tm-stateless-verifier/Cargo.toml index 019d62a6..30a447b0 100644 --- a/crates/contracts/tm-stateless-verifier/Cargo.toml +++ b/crates/contracts/tm-stateless-verifier/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" diff --git a/crates/enclave/core/Cargo.toml b/crates/enclave/core/Cargo.toml index b65b4c89..0723cd53 100644 --- a/crates/enclave/core/Cargo.toml +++ b/crates/enclave/core/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" diff --git a/crates/enclave/proto/Cargo.toml b/crates/enclave/proto/Cargo.toml index b0cfc1d9..9ba8cac9 100644 --- a/crates/enclave/proto/Cargo.toml +++ b/crates/enclave/proto/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index 7e9226a1..738492d0 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -3,7 +3,7 @@ name = "cw-client" version.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true readme.workspace = true repository.workspace = true authors.workspace = true diff --git a/crates/utils/cw-prover/Cargo.toml b/crates/utils/cw-prover/Cargo.toml index a81efd1d..d4e18089 100644 --- a/crates/utils/cw-prover/Cargo.toml +++ b/crates/utils/cw-prover/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] readme = "README.md" diff --git a/crates/utils/print-fmspc/Cargo.toml b/crates/utils/print-fmspc/Cargo.toml index 0bd8595d..478b16f8 100644 --- a/crates/utils/print-fmspc/Cargo.toml +++ b/crates/utils/print-fmspc/Cargo.toml @@ -3,7 +3,7 @@ name = "quartz-print-fmspc" version.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true readme.workspace = true repository.workspace = true authors.workspace = true diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index d8e55432..9595505b 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true -license.workspace = true +license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" From 826829bdd0eb0036be921173a3cc534d7fd79c48 Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Fri, 4 Oct 2024 18:33:45 +0200 Subject: [PATCH 3/8] Uniform Cargo.tomls --- crates/cli/Cargo.toml | 2 ++ crates/common/Cargo.toml | 7 ++-- crates/contracts/core/Cargo.toml | 4 ++- crates/contracts/cw-proof/Cargo.toml | 4 ++- crates/contracts/dcap-verifier/Cargo.toml | 12 +++++-- .../contracts/dcap-verifier/msgs/Cargo.toml | 4 +++ crates/contracts/tcbinfo/Cargo.toml | 4 +++ crates/contracts/tcbinfo/msgs/Cargo.toml | 4 +++ crates/contracts/tee-ra/Cargo.toml | 4 ++- .../tm-stateless-verifier/Cargo.toml | 2 ++ crates/enclave/core/Cargo.toml | 4 ++- crates/enclave/proto/Cargo.toml | 2 ++ crates/utils/cw-client/Cargo.toml | 7 ++-- crates/utils/cw-prover/Cargo.toml | 4 ++- crates/utils/print-fmspc/Cargo.toml | 7 ++-- crates/utils/tm-prover/Cargo.toml | 2 ++ examples/transfers/contracts/Cargo.toml | 10 ++++-- examples/transfers/enclave/Cargo.toml | 34 +++++++++++-------- 18 files changed, 87 insertions(+), 30 deletions(-) diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 56b13078..feedefb1 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -8,6 +8,8 @@ license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [[bin]] name = "quartz" diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index e1a05aa4..62d635c0 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -1,12 +1,15 @@ [package] name = "quartz-common" version.workspace = true +authors.workspace = true edition.workspace = true rust-version.workspace = true license-file.workspace = true -readme.workspace = true repository.workspace = true -authors.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" [features] full = ["contract", "enclave", "proto"] diff --git a/crates/contracts/core/Cargo.toml b/crates/contracts/core/Cargo.toml index 966186c6..de1616b8 100644 --- a/crates/contracts/core/Cargo.toml +++ b/crates/contracts/core/Cargo.toml @@ -6,8 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true -keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [features] default = [] diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index 825b2998..db693426 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -6,8 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true -keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [dependencies] # external diff --git a/crates/contracts/dcap-verifier/Cargo.toml b/crates/contracts/dcap-verifier/Cargo.toml index 1666a38a..b4f202ec 100644 --- a/crates/contracts/dcap-verifier/Cargo.toml +++ b/crates/contracts/dcap-verifier/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "quartz-dcap-verifier" -version = "0.1.0" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license-file.workspace = true +repository.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" 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. diff --git a/crates/contracts/dcap-verifier/msgs/Cargo.toml b/crates/contracts/dcap-verifier/msgs/Cargo.toml index 34036c14..446a8dd0 100644 --- a/crates/contracts/dcap-verifier/msgs/Cargo.toml +++ b/crates/contracts/dcap-verifier/msgs/Cargo.toml @@ -6,6 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" [dependencies] # cosmos diff --git a/crates/contracts/tcbinfo/Cargo.toml b/crates/contracts/tcbinfo/Cargo.toml index 0bcf95b6..2fa67a0b 100644 --- a/crates/contracts/tcbinfo/Cargo.toml +++ b/crates/contracts/tcbinfo/Cargo.toml @@ -6,6 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/contracts/tcbinfo/msgs/Cargo.toml b/crates/contracts/tcbinfo/msgs/Cargo.toml index 4a4d79e4..fb4b9bc0 100644 --- a/crates/contracts/tcbinfo/msgs/Cargo.toml +++ b/crates/contracts/tcbinfo/msgs/Cargo.toml @@ -6,6 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" [dependencies] # external diff --git a/crates/contracts/tee-ra/Cargo.toml b/crates/contracts/tee-ra/Cargo.toml index fe3becdc..42b72462 100644 --- a/crates/contracts/tee-ra/Cargo.toml +++ b/crates/contracts/tee-ra/Cargo.toml @@ -6,8 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true -keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [dependencies] # external diff --git a/crates/contracts/tm-stateless-verifier/Cargo.toml b/crates/contracts/tm-stateless-verifier/Cargo.toml index 30a447b0..8c64d0a3 100644 --- a/crates/contracts/tm-stateless-verifier/Cargo.toml +++ b/crates/contracts/tm-stateless-verifier/Cargo.toml @@ -8,6 +8,8 @@ license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [dependencies] # external diff --git a/crates/enclave/core/Cargo.toml b/crates/enclave/core/Cargo.toml index 0723cd53..78aa30d2 100644 --- a/crates/enclave/core/Cargo.toml +++ b/crates/enclave/core/Cargo.toml @@ -8,6 +8,8 @@ license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [features] mock-sgx = ["quartz-contract-core/mock-sgx"] @@ -41,7 +43,7 @@ cosmrs.workspace = true cosmwasm-std.workspace = true tendermint.workspace = true tendermint-light-client.workspace = true -tendermint-rpc = { workspace = true, features=["websocket-client", "http-client"] } +tendermint-rpc = { workspace = true, features = ["websocket-client", "http-client"] } # quartz quartz-cw-proof.workspace = true diff --git a/crates/enclave/proto/Cargo.toml b/crates/enclave/proto/Cargo.toml index 9ba8cac9..f17eaf0e 100644 --- a/crates/enclave/proto/Cargo.toml +++ b/crates/enclave/proto/Cargo.toml @@ -8,6 +8,8 @@ license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [dependencies] diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index 738492d0..c264a306 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -1,12 +1,15 @@ [package] name = "cw-client" version.workspace = true +authors.workspace = true edition.workspace = true rust-version.workspace = true license-file.workspace = true -readme.workspace = true repository.workspace = true -authors.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" [lib] path = "src/lib.rs" diff --git a/crates/utils/cw-prover/Cargo.toml b/crates/utils/cw-prover/Cargo.toml index d4e18089..f0f53637 100644 --- a/crates/utils/cw-prover/Cargo.toml +++ b/crates/utils/cw-prover/Cargo.toml @@ -6,8 +6,10 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true -keywords = ["blockchain", "cosmos", "cosmwasm", "cycles", "quartz"] +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [dependencies] # external diff --git a/crates/utils/print-fmspc/Cargo.toml b/crates/utils/print-fmspc/Cargo.toml index 478b16f8..c0e90450 100644 --- a/crates/utils/print-fmspc/Cargo.toml +++ b/crates/utils/print-fmspc/Cargo.toml @@ -1,12 +1,15 @@ [package] name = "quartz-print-fmspc" version.workspace = true +authors.workspace = true edition.workspace = true rust-version.workspace = true license-file.workspace = true -readme.workspace = true repository.workspace = true -authors.workspace = true +keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +readme = "README.md" +description = """ +""" [dependencies] dcap-qvl = "0.1.0" diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index 9595505b..d6ac1f15 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -8,6 +8,8 @@ license-file.workspace = true repository.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" +description = """ +""" [[bin]] name = "main" diff --git a/examples/transfers/contracts/Cargo.toml b/examples/transfers/contracts/Cargo.toml index 992d2e5b..be017a6a 100644 --- a/examples/transfers/contracts/Cargo.toml +++ b/examples/transfers/contracts/Cargo.toml @@ -1,11 +1,15 @@ -[workspace] - [package] name = "transfers-contract" version = "0.1.0" edition = "2021" +rust-version = "1.75.0" +license-file = "LICENSE" +readme = "README.md" +repository = "https://github.com/informalsystems/cycles-quartz" authors = ["Informal Systems "] exclude = ["contract.wasm", "hash.txt"] +description = """ +""" [[bin]] name = "schema" @@ -37,7 +41,7 @@ thiserror = { version = "1.0.63" } # cosmwasm cosmwasm-std = { version = "2.1.1", default-features = false, features = [ - "abort", + "abort", ] } cosmwasm-schema = { version = "2.1.1", default-features = false } cw-storage-plus = { version = "2.0.0", default-features = false } diff --git a/examples/transfers/enclave/Cargo.toml b/examples/transfers/enclave/Cargo.toml index c4f52e89..f5eedb00 100644 --- a/examples/transfers/enclave/Cargo.toml +++ b/examples/transfers/enclave/Cargo.toml @@ -4,8 +4,14 @@ name = "quartz-app-transfers-enclave" version = "0.1.0" edition = "2021" +rust-version = "1.75.0" +license-file = "LICENSE" +readme = "README.md" +repository = "https://github.com/informalsystems/cycles-quartz" authors = ["Informal Systems "] default-run = "quartz-app-transfers-enclave" +description = """ +""" [[bin]] name = "encrypt" @@ -21,32 +27,32 @@ async-trait = "0.1.81" anyhow = { version = "1.0.86" } base64 = "0.22.1" clap = { version = "4.1.8", default-features = false, features = [ - "derive", - "std", + "derive", + "std", ] } color-eyre = { version = "0.6.2", default-features = false } ecies = { version = "0.2.3", default-features = false, features = ["pure"] } hex = { version = "0.4.3", default-features = false } k256 = { version = "0.13.2", default-features = false, features = [ - "ecdsa", - "alloc", + "ecdsa", + "alloc", ] } prost = { version = "0.13.1", default-features = false } serde = { version = "1.0.203", default-features = false, features = ["derive"] } serde_json = { version = "1.0.94", default-features = false, features = [ - "alloc", + "alloc", ] } sha2 = { version = "0.10.8", default-features = false } reqwest = "0.12.7" thiserror = { version = "1.0.49", default-features = false } tokio = { version = "1.39.2", default-features = false, features = [ - "macros", - "rt", + "macros", + "rt", ] } tonic = { version = "0.12.1", default-features = false, features = [ - "codegen", - "prost", - "transport", + "codegen", + "prost", + "transport", ] } tracing = "0.1.39" futures-util = "0.3.30" @@ -54,12 +60,12 @@ futures-util = "0.3.30" # cosmos cosmrs = { version = "0.18.0", default-features = false } cosmwasm-std = { version = "2.1.1", default-features = false, features = [ - "std", + "std", ] } tendermint = { version = "=0.38.1", default-features = false } tendermint-rpc = { version = "=0.38.1", default-features = false } tendermint-light-client = { version = "=0.38.1", default-features = false, features = [ - "rust-crypto", + "rust-crypto", ] } transfers-contract = { path = "../contracts", default-features = false } @@ -77,6 +83,6 @@ cw-multi-test = "2.1.0" [build-dependencies] tonic-build = { version = "0.12.1", default-features = false, features = [ - "prost", - "transport", + "prost", + "transport", ] } From cdfd5e3ad3ff8351d4c59d11ebfc3ce67910ae3f Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Fri, 4 Oct 2024 18:37:56 +0200 Subject: [PATCH 4/8] Add homepage to Cargo.toml --- Cargo.toml | 1 + crates/cli/Cargo.toml | 1 + crates/common/Cargo.toml | 1 + crates/contracts/core/Cargo.toml | 1 + crates/contracts/cw-proof/Cargo.toml | 1 + crates/contracts/dcap-verifier/Cargo.toml | 1 + crates/contracts/dcap-verifier/msgs/Cargo.toml | 1 + crates/contracts/tcbinfo/Cargo.toml | 1 + crates/contracts/tcbinfo/msgs/Cargo.toml | 1 + crates/contracts/tee-ra/Cargo.toml | 1 + crates/contracts/tm-stateless-verifier/Cargo.toml | 1 + crates/enclave/core/Cargo.toml | 1 + crates/enclave/proto/Cargo.toml | 1 + crates/utils/cw-client/Cargo.toml | 1 + crates/utils/cw-prover/Cargo.toml | 1 + crates/utils/print-fmspc/Cargo.toml | 1 + crates/utils/tm-prover/Cargo.toml | 1 + examples/transfers/contracts/Cargo.toml | 1 + examples/transfers/enclave/Cargo.toml | 1 + 19 files changed, 19 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 69b27dfe..012d8abd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ rust-version = "1.75.0" license-file = "LICENSE" readme = "README.md" repository = "https://github.com/informalsystems/cycles-quartz" +homepage = "https://cycles.money" authors = ["Informal Systems "] [workspace.dependencies] diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index feedefb1..cabd193b 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 62d635c0..953b3fa6 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/core/Cargo.toml b/crates/contracts/core/Cargo.toml index de1616b8..f6800768 100644 --- a/crates/contracts/core/Cargo.toml +++ b/crates/contracts/core/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index db693426..eadbf674 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/dcap-verifier/Cargo.toml b/crates/contracts/dcap-verifier/Cargo.toml index b4f202ec..fc310735 100644 --- a/crates/contracts/dcap-verifier/Cargo.toml +++ b/crates/contracts/dcap-verifier/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/dcap-verifier/msgs/Cargo.toml b/crates/contracts/dcap-verifier/msgs/Cargo.toml index 446a8dd0..e0e43f7a 100644 --- a/crates/contracts/dcap-verifier/msgs/Cargo.toml +++ b/crates/contracts/dcap-verifier/msgs/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tcbinfo/Cargo.toml b/crates/contracts/tcbinfo/Cargo.toml index 2fa67a0b..3b8baf2a 100644 --- a/crates/contracts/tcbinfo/Cargo.toml +++ b/crates/contracts/tcbinfo/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tcbinfo/msgs/Cargo.toml b/crates/contracts/tcbinfo/msgs/Cargo.toml index fb4b9bc0..f9584b3a 100644 --- a/crates/contracts/tcbinfo/msgs/Cargo.toml +++ b/crates/contracts/tcbinfo/msgs/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tee-ra/Cargo.toml b/crates/contracts/tee-ra/Cargo.toml index 42b72462..57b0394f 100644 --- a/crates/contracts/tee-ra/Cargo.toml +++ b/crates/contracts/tee-ra/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tm-stateless-verifier/Cargo.toml b/crates/contracts/tm-stateless-verifier/Cargo.toml index 8c64d0a3..244d8554 100644 --- a/crates/contracts/tm-stateless-verifier/Cargo.toml +++ b/crates/contracts/tm-stateless-verifier/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/enclave/core/Cargo.toml b/crates/enclave/core/Cargo.toml index 78aa30d2..316e059e 100644 --- a/crates/enclave/core/Cargo.toml +++ b/crates/enclave/core/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/enclave/proto/Cargo.toml b/crates/enclave/proto/Cargo.toml index f17eaf0e..ad5855ac 100644 --- a/crates/enclave/proto/Cargo.toml +++ b/crates/enclave/proto/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index c264a306..6532ae7a 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/cw-prover/Cargo.toml b/crates/utils/cw-prover/Cargo.toml index f0f53637..4508e892 100644 --- a/crates/utils/cw-prover/Cargo.toml +++ b/crates/utils/cw-prover/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/print-fmspc/Cargo.toml b/crates/utils/print-fmspc/Cargo.toml index c0e90450..e86059ff 100644 --- a/crates/utils/print-fmspc/Cargo.toml +++ b/crates/utils/print-fmspc/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index d6ac1f15..667f025e 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -6,6 +6,7 @@ edition.workspace = true rust-version.workspace = true license-file.workspace = true repository.workspace = true +homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/examples/transfers/contracts/Cargo.toml b/examples/transfers/contracts/Cargo.toml index be017a6a..405f58c0 100644 --- a/examples/transfers/contracts/Cargo.toml +++ b/examples/transfers/contracts/Cargo.toml @@ -6,6 +6,7 @@ rust-version = "1.75.0" license-file = "LICENSE" readme = "README.md" repository = "https://github.com/informalsystems/cycles-quartz" +homepage = "https://cycles.money" authors = ["Informal Systems "] exclude = ["contract.wasm", "hash.txt"] description = """ diff --git a/examples/transfers/enclave/Cargo.toml b/examples/transfers/enclave/Cargo.toml index f5eedb00..c583ed80 100644 --- a/examples/transfers/enclave/Cargo.toml +++ b/examples/transfers/enclave/Cargo.toml @@ -8,6 +8,7 @@ rust-version = "1.75.0" license-file = "LICENSE" readme = "README.md" repository = "https://github.com/informalsystems/cycles-quartz" +homepage = "https://cycles.money" authors = ["Informal Systems "] default-run = "quartz-app-transfers-enclave" description = """ From e88088a8905f7d6e516feaa9396a564fd3505d6c Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 9 Oct 2024 15:35:17 +0200 Subject: [PATCH 5/8] add cargo descriptions --- crates/cli/Cargo.toml | 1 + crates/common/Cargo.toml | 1 + crates/contracts/core/Cargo.toml | 1 + crates/contracts/cw-proof/Cargo.toml | 1 + crates/contracts/dcap-verifier/Cargo.toml | 1 + crates/contracts/tcbinfo/Cargo.toml | 1 + crates/contracts/tee-ra/Cargo.toml | 1 + crates/contracts/tm-stateless-verifier/Cargo.toml | 1 + crates/enclave/core/Cargo.toml | 1 + crates/enclave/proto/Cargo.toml | 1 + crates/utils/cw-client/Cargo.toml | 2 ++ crates/utils/cw-prover/Cargo.toml | 1 + crates/utils/print-fmspc/Cargo.toml | 1 + crates/utils/tm-prover/Cargo.toml | 3 ++- 14 files changed, 16 insertions(+), 1 deletion(-) diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index cabd193b..65ebc80a 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +A CLI tool to streamline development and deployment of Quartz applications. Quartz is a flexible framework for privacy-preserving computation via Trusted Execution Environments (TEEs) organized and secured by smart contracts. """ [[bin]] diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 953b3fa6..a1aa911b 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +A wrapper crate around quartz-contract-core, quartz-enclave-core, and quartz-proto. """ [features] diff --git a/crates/contracts/core/Cargo.toml b/crates/contracts/core/Cargo.toml index f6800768..b3d08b39 100644 --- a/crates/contracts/core/Cargo.toml +++ b/crates/contracts/core/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +A CosmWasm framework for securely interacting with Intel SGX enclaves. """ [features] diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index eadbf674..c42960ba 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Produce and verify merkle proofs of CosmWasm contract state. """ [dependencies] diff --git a/crates/contracts/dcap-verifier/Cargo.toml b/crates/contracts/dcap-verifier/Cargo.toml index fc310735..ccb4b140 100644 --- a/crates/contracts/dcap-verifier/Cargo.toml +++ b/crates/contracts/dcap-verifier/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Standalone CosmWasm smart contract for verifying Intel SGX DCAP attestations that can be called by other contracts. """ exclude = [ diff --git a/crates/contracts/tcbinfo/Cargo.toml b/crates/contracts/tcbinfo/Cargo.toml index 3b8baf2a..0ea5ea75 100644 --- a/crates/contracts/tcbinfo/Cargo.toml +++ b/crates/contracts/tcbinfo/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Standalone CosmWasm smart contract for storage and verification of TcbInfos for Intel SGX. """ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/contracts/tee-ra/Cargo.toml b/crates/contracts/tee-ra/Cargo.toml index 57b0394f..ec6f6306 100644 --- a/crates/contracts/tee-ra/Cargo.toml +++ b/crates/contracts/tee-ra/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Internal CosmWasm library for handling Intel SGX DCAP remote attestations. """ [dependencies] diff --git a/crates/contracts/tm-stateless-verifier/Cargo.toml b/crates/contracts/tm-stateless-verifier/Cargo.toml index 244d8554..96e25ba6 100644 --- a/crates/contracts/tm-stateless-verifier/Cargo.toml +++ b/crates/contracts/tm-stateless-verifier/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Stateless verification of a tendermint light client proof. """ [dependencies] diff --git a/crates/enclave/core/Cargo.toml b/crates/enclave/core/Cargo.toml index 316e059e..bb9f5313 100644 --- a/crates/enclave/core/Cargo.toml +++ b/crates/enclave/core/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +A Rust framework for building Intel SGX enclaves managed by a CosmWasm contract. """ [features] diff --git a/crates/enclave/proto/Cargo.toml b/crates/enclave/proto/Cargo.toml index ad5855ac..77393288 100644 --- a/crates/enclave/proto/Cargo.toml +++ b/crates/enclave/proto/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Protobuf types defining the Quartz handshake to initialize connection between a smart contract and trusted execution environment. """ diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index 6532ae7a..738b65fe 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -10,6 +10,8 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Rust library for interacting with CosmWasm-enabled blockchains. +Deploy contracts, query them, execute transactions, and query results. """ [lib] diff --git a/crates/utils/cw-prover/Cargo.toml b/crates/utils/cw-prover/Cargo.toml index 4508e892..6b7de256 100644 --- a/crates/utils/cw-prover/Cargo.toml +++ b/crates/utils/cw-prover/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +CLI to generate a merkle proof of a key in the state of a CosmWasm contract. """ [dependencies] diff --git a/crates/utils/print-fmspc/Cargo.toml b/crates/utils/print-fmspc/Cargo.toml index e86059ff..93972b2e 100644 --- a/crates/utils/print-fmspc/Cargo.toml +++ b/crates/utils/print-fmspc/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +Convenience tool to print the FMSPC (Family-Model-Stepping-Platform-Custom) of the local SGX processor. """ [dependencies] diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index 667f025e..53b9778e 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -10,6 +10,7 @@ homepage.workspace = true keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ +CLI for generating a tendermint light client proof (i.e. verification trace) for a given block height and trusted height/hash. Resulting proofs can be verified by quartz-tm-stateless-verifier. """ [[bin]] @@ -35,4 +36,4 @@ tendermint-light-client.workspace = true tendermint-light-client-detector.workspace = true # quartz -quartz-cw-proof.workspace = true \ No newline at end of file +quartz-cw-proof.workspace = true From f33ebb42ca2cad685e5e35cc305e2e9aca3f6ff5 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 9 Oct 2024 15:48:14 +0200 Subject: [PATCH 6/8] add cargo categories --- crates/cli/Cargo.toml | 1 + crates/common/Cargo.toml | 1 + crates/contracts/core/Cargo.toml | 1 + crates/contracts/cw-proof/Cargo.toml | 1 + crates/contracts/dcap-verifier/Cargo.toml | 1 + crates/contracts/tcbinfo/Cargo.toml | 1 + crates/contracts/tee-ra/Cargo.toml | 1 + crates/contracts/tm-stateless-verifier/Cargo.toml | 1 + crates/enclave/core/Cargo.toml | 1 + crates/enclave/proto/Cargo.toml | 1 + crates/utils/cw-client/Cargo.toml | 1 + crates/utils/cw-prover/Cargo.toml | 1 + crates/utils/print-fmspc/Cargo.toml | 1 + crates/utils/tm-prover/Cargo.toml | 1 + 14 files changed, 14 insertions(+) diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 65ebc80a..a424a590 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["command-line-utilities", "cryptography::cryptocurrencies", "hardware-support", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index a1aa911b..07c0d66b 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/core/Cargo.toml b/crates/contracts/core/Cargo.toml index b3d08b39..a6d8f680 100644 --- a/crates/contracts/core/Cargo.toml +++ b/crates/contracts/core/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index c42960ba..8ed8044d 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/dcap-verifier/Cargo.toml b/crates/contracts/dcap-verifier/Cargo.toml index ccb4b140..93ff52fa 100644 --- a/crates/contracts/dcap-verifier/Cargo.toml +++ b/crates/contracts/dcap-verifier/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tcbinfo/Cargo.toml b/crates/contracts/tcbinfo/Cargo.toml index 0ea5ea75..1fe48fe6 100644 --- a/crates/contracts/tcbinfo/Cargo.toml +++ b/crates/contracts/tcbinfo/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tee-ra/Cargo.toml b/crates/contracts/tee-ra/Cargo.toml index ec6f6306..7e66da6b 100644 --- a/crates/contracts/tee-ra/Cargo.toml +++ b/crates/contracts/tee-ra/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/contracts/tm-stateless-verifier/Cargo.toml b/crates/contracts/tm-stateless-verifier/Cargo.toml index 96e25ba6..2c336ff6 100644 --- a/crates/contracts/tm-stateless-verifier/Cargo.toml +++ b/crates/contracts/tm-stateless-verifier/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/enclave/core/Cargo.toml b/crates/enclave/core/Cargo.toml index bb9f5313..7b9e89b2 100644 --- a/crates/enclave/core/Cargo.toml +++ b/crates/enclave/core/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "hardware-support", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/enclave/proto/Cargo.toml b/crates/enclave/proto/Cargo.toml index 77393288..2d5b4107 100644 --- a/crates/enclave/proto/Cargo.toml +++ b/crates/enclave/proto/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index 738b65fe..006717ac 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/cw-prover/Cargo.toml b/crates/utils/cw-prover/Cargo.toml index 6b7de256..c80d2ad2 100644 --- a/crates/utils/cw-prover/Cargo.toml +++ b/crates/utils/cw-prover/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/print-fmspc/Cargo.toml b/crates/utils/print-fmspc/Cargo.toml index 93972b2e..a55ef913 100644 --- a/crates/utils/print-fmspc/Cargo.toml +++ b/crates/utils/print-fmspc/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["command-line-utilities", "cryptography::cryptocurrencies", "hardware-support", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index 53b9778e..b5f3abf8 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -7,6 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true +categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ From 4632b9237aa4d86775e62844505968711d1086bb Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 9 Oct 2024 15:51:17 +0200 Subject: [PATCH 7/8] cargo description fixes --- crates/contracts/cw-proof/Cargo.toml | 2 +- crates/utils/cw-client/Cargo.toml | 2 +- crates/utils/tm-prover/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index 8ed8044d..b5ccf4ef 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -11,7 +11,7 @@ categories = ["cryptography::cryptocurrencies", "wasm"] keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ -Produce and verify merkle proofs of CosmWasm contract state. +Merkle proofs of CosmWasm contract state. This crate contains proof types and a verifier implementation. """ [dependencies] diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index 006717ac..f516fc66 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ Rust library for interacting with CosmWasm-enabled blockchains. -Deploy contracts, query them, execute transactions, and query results. +Deploy contracts, query them, and execute transactions. """ [lib] diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index b5f3abf8..5a72c921 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -11,7 +11,7 @@ categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm" keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] readme = "README.md" description = """ -CLI for generating a tendermint light client proof (i.e. verification trace) for a given block height and trusted height/hash. Resulting proofs can be verified by quartz-tm-stateless-verifier. +CLI for generating a Merkle proof of CosmWasm state and accompanying tendermint light client proof (i.e. verification trace) for a given block height and trusted height/hash. Resulting proofs can be verified by quartz-tm-stateless-verifier. """ [[bin]] From 7aaba2523b93742cb44e11ded6c4d01ff3e8c808 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 9 Oct 2024 16:07:19 +0200 Subject: [PATCH 8/8] fix keywords --- crates/cli/Cargo.toml | 2 +- crates/common/Cargo.toml | 2 +- crates/contracts/core/Cargo.toml | 2 +- crates/contracts/cw-proof/Cargo.toml | 2 +- crates/contracts/dcap-verifier/Cargo.toml | 2 +- crates/contracts/dcap-verifier/msgs/Cargo.toml | 2 +- crates/contracts/tcbinfo/Cargo.toml | 2 +- crates/contracts/tcbinfo/msgs/Cargo.toml | 2 +- crates/contracts/tee-ra/Cargo.toml | 2 +- crates/contracts/tm-stateless-verifier/Cargo.toml | 2 +- crates/enclave/core/Cargo.toml | 2 +- crates/enclave/proto/Cargo.toml | 2 +- crates/utils/cw-client/Cargo.toml | 2 +- crates/utils/cw-prover/Cargo.toml | 2 +- crates/utils/print-fmspc/Cargo.toml | 2 +- crates/utils/tm-prover/Cargo.toml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index a424a590..3eb12352 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["command-line-utilities", "cryptography::cryptocurrencies", "hardware-support", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ A CLI tool to streamline development and deployment of Quartz applications. Quartz is a flexible framework for privacy-preserving computation via Trusted Execution Environments (TEEs) organized and secured by smart contracts. diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml index 07c0d66b..fa99f331 100644 --- a/crates/common/Cargo.toml +++ b/crates/common/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ A wrapper crate around quartz-contract-core, quartz-enclave-core, and quartz-proto. diff --git a/crates/contracts/core/Cargo.toml b/crates/contracts/core/Cargo.toml index a6d8f680..07ab35f1 100644 --- a/crates/contracts/core/Cargo.toml +++ b/crates/contracts/core/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ A CosmWasm framework for securely interacting with Intel SGX enclaves. diff --git a/crates/contracts/cw-proof/Cargo.toml b/crates/contracts/cw-proof/Cargo.toml index b5ccf4ef..00fd26c0 100644 --- a/crates/contracts/cw-proof/Cargo.toml +++ b/crates/contracts/cw-proof/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Merkle proofs of CosmWasm contract state. This crate contains proof types and a verifier implementation. diff --git a/crates/contracts/dcap-verifier/Cargo.toml b/crates/contracts/dcap-verifier/Cargo.toml index 93ff52fa..8da0fe02 100644 --- a/crates/contracts/dcap-verifier/Cargo.toml +++ b/crates/contracts/dcap-verifier/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Standalone CosmWasm smart contract for verifying Intel SGX DCAP attestations that can be called by other contracts. diff --git a/crates/contracts/dcap-verifier/msgs/Cargo.toml b/crates/contracts/dcap-verifier/msgs/Cargo.toml index e0e43f7a..0f441b28 100644 --- a/crates/contracts/dcap-verifier/msgs/Cargo.toml +++ b/crates/contracts/dcap-verifier/msgs/Cargo.toml @@ -7,7 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ """ diff --git a/crates/contracts/tcbinfo/Cargo.toml b/crates/contracts/tcbinfo/Cargo.toml index 1fe48fe6..4eef8e62 100644 --- a/crates/contracts/tcbinfo/Cargo.toml +++ b/crates/contracts/tcbinfo/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Standalone CosmWasm smart contract for storage and verification of TcbInfos for Intel SGX. diff --git a/crates/contracts/tcbinfo/msgs/Cargo.toml b/crates/contracts/tcbinfo/msgs/Cargo.toml index f9584b3a..c9a6b658 100644 --- a/crates/contracts/tcbinfo/msgs/Cargo.toml +++ b/crates/contracts/tcbinfo/msgs/Cargo.toml @@ -7,7 +7,7 @@ rust-version.workspace = true license-file.workspace = true repository.workspace = true homepage.workspace = true -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ """ diff --git a/crates/contracts/tee-ra/Cargo.toml b/crates/contracts/tee-ra/Cargo.toml index 7e66da6b..981da24c 100644 --- a/crates/contracts/tee-ra/Cargo.toml +++ b/crates/contracts/tee-ra/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Internal CosmWasm library for handling Intel SGX DCAP remote attestations. diff --git a/crates/contracts/tm-stateless-verifier/Cargo.toml b/crates/contracts/tm-stateless-verifier/Cargo.toml index 2c336ff6..dd73b448 100644 --- a/crates/contracts/tm-stateless-verifier/Cargo.toml +++ b/crates/contracts/tm-stateless-verifier/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Stateless verification of a tendermint light client proof. diff --git a/crates/enclave/core/Cargo.toml b/crates/enclave/core/Cargo.toml index 7b9e89b2..dbf6e9b5 100644 --- a/crates/enclave/core/Cargo.toml +++ b/crates/enclave/core/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "hardware-support", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ A Rust framework for building Intel SGX enclaves managed by a CosmWasm contract. diff --git a/crates/enclave/proto/Cargo.toml b/crates/enclave/proto/Cargo.toml index 2d5b4107..f3fbc2a3 100644 --- a/crates/enclave/proto/Cargo.toml +++ b/crates/enclave/proto/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Protobuf types defining the Quartz handshake to initialize connection between a smart contract and trusted execution environment. diff --git a/crates/utils/cw-client/Cargo.toml b/crates/utils/cw-client/Cargo.toml index f516fc66..d4f2b4b9 100644 --- a/crates/utils/cw-client/Cargo.toml +++ b/crates/utils/cw-client/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Rust library for interacting with CosmWasm-enabled blockchains. diff --git a/crates/utils/cw-prover/Cargo.toml b/crates/utils/cw-prover/Cargo.toml index c80d2ad2..d085192b 100644 --- a/crates/utils/cw-prover/Cargo.toml +++ b/crates/utils/cw-prover/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ CLI to generate a merkle proof of a key in the state of a CosmWasm contract. diff --git a/crates/utils/print-fmspc/Cargo.toml b/crates/utils/print-fmspc/Cargo.toml index a55ef913..8c68de43 100644 --- a/crates/utils/print-fmspc/Cargo.toml +++ b/crates/utils/print-fmspc/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["command-line-utilities", "cryptography::cryptocurrencies", "hardware-support", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ Convenience tool to print the FMSPC (Family-Model-Stepping-Platform-Custom) of the local SGX processor. diff --git a/crates/utils/tm-prover/Cargo.toml b/crates/utils/tm-prover/Cargo.toml index 5a72c921..c3694933 100644 --- a/crates/utils/tm-prover/Cargo.toml +++ b/crates/utils/tm-prover/Cargo.toml @@ -8,7 +8,7 @@ license-file.workspace = true repository.workspace = true homepage.workspace = true categories = ["command-line-utilities", "cryptography::cryptocurrencies", "wasm"] -keywords = ["blockchain", "cosmos", "tendermint", "cycles", "quartz"] +keywords = ["cosmos", "cosmwasm", "cycles", "quartz", "sgx"] readme = "README.md" description = """ CLI for generating a Merkle proof of CosmWasm state and accompanying tendermint light client proof (i.e. verification trace) for a given block height and trusted height/hash. Resulting proofs can be verified by quartz-tm-stateless-verifier.