From 51f6274d3e31bfbae3df6201f3c579f68f33cc26 Mon Sep 17 00:00:00 2001 From: Alex Su Date: Fri, 18 Aug 2023 12:25:40 +1000 Subject: [PATCH] increment version number for publish NFT library (#221) --- Cargo.toml | 17 +++++++++++++++++ dispatch_examples/greeter/Cargo.toml | 2 +- frc46_token/Cargo.toml | 16 ++++++++-------- frc53_nft/Cargo.toml | 16 ++++++++-------- fvm_actor_utils/Cargo.toml | 12 ++++++------ fvm_dispatch_tools/Cargo.toml | 6 +++--- testing/integration/Cargo.toml | 16 ++++++++-------- .../actors/basic_nft_actor/Cargo.toml | 12 ++++++------ .../actors/basic_receiving_actor/Cargo.toml | 8 ++++---- .../actors/basic_transfer_actor/Cargo.toml | 10 +++++----- .../actors/frc46_factory_token/Cargo.toml | 12 ++++++------ .../frc46_factory_token/token_impl/Cargo.toml | 12 ++++++------ .../actors/frc46_test_actor/Cargo.toml | 12 ++++++------ .../actors/frc53_test_actor/Cargo.toml | 12 ++++++------ 14 files changed, 90 insertions(+), 73 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 67cee00e..dd0e6a11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,10 @@ members = [ ] [workspace.dependencies] +blake2b_simd = { version = "1.0.0" } +clap = { version = "3.2.12", features = ["derive"] } cid = { version = "0.10.1", default-features = false, features = ["serde-codec"] } +fvm = { version = "^3.0.0", default-features = false } fvm_integration_tests = "~3.1.0" fvm_ipld_amt = { version = "0.6.0", features = ["go-interop"] } fvm_ipld_bitfield = "0.5.4" @@ -26,6 +29,20 @@ fvm_ipld_encoding = "0.4.0" fvm_ipld_hamt = "0.7.0" fvm_sdk = "~3.3.0" fvm_shared = "~3.4.0" +serde = { version = "1.0.136", features = ["derive"] } +serde_tuple = { version = "0.5.0" } +thiserror = { version = "1.0.31" } +integer-encoding = { version = "3.0.4" } +num-traits = { version = "0.2.15" } +anyhow = { version = "1.0.56" } + +# internal deps of published packages +frc42_dispatch = { version = "3.3.0", path = "./frc42_dispatch", default-features=false } +fvm_actor_utils = { version = "7.0.0", path = "./fvm_actor_utils" } + +# only consumed by non-published packages +frc53_nft = { path = "./frc53_nft" } +frc46_token = { path = "./frc46_token" } [profile.wasm] inherits = "release" diff --git a/dispatch_examples/greeter/Cargo.toml b/dispatch_examples/greeter/Cargo.toml index 8e07f123..a248d1cd 100644 --- a/dispatch_examples/greeter/Cargo.toml +++ b/dispatch_examples/greeter/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -frc42_dispatch = { path = "../../frc42_dispatch" } +frc42_dispatch = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } diff --git a/frc46_token/Cargo.toml b/frc46_token/Cargo.toml index 7c984c4a..44877dfc 100644 --- a/frc46_token/Cargo.toml +++ b/frc46_token/Cargo.toml @@ -8,10 +8,10 @@ repository = "https://github.com/helix-onchain/filecoin/" edition = "2021" [dependencies] -frc42_dispatch = { version = "3.3.0", path = "../frc42_dispatch" } -fvm_actor_utils = { version = "7.0.0", path = "../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +fvm_actor_utils = { workspace = true } -anyhow = "1.0.56" +anyhow = { workspace = true } cid = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_hamt = { workspace = true } @@ -19,8 +19,8 @@ fvm_ipld_amt = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -num-traits = { version = "0.2.15" } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } -thiserror = { version = "1.0.31" } -integer-encoding = { version = "3.0.4" } +num-traits = { workspace = true } +serde = { workspace = true } +serde_tuple = { workspace = true } +thiserror = { workspace = true } +integer-encoding = { workspace = true } diff --git a/frc53_nft/Cargo.toml b/frc53_nft/Cargo.toml index 9623ac4b..7d40e50c 100644 --- a/frc53_nft/Cargo.toml +++ b/frc53_nft/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "frc53_nft" -version = "0.1.0" +version = "1.0.0" edition = "2021" [dependencies] -frc42_dispatch = { path = "../frc42_dispatch" } -fvm_actor_utils = { path = "../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +fvm_actor_utils = { workspace = true } cid = { workspace = true } fvm_ipld_bitfield = { workspace = true } @@ -16,8 +16,8 @@ fvm_ipld_amt = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -integer-encoding = { version = "3.0.4" } -num-traits = { version = "0.2.15" } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } -thiserror = { version = "1.0.31" } +integer-encoding = { workspace = true } +num-traits = { workspace = true } +serde = { workspace = true } +serde_tuple = { workspace = true } +thiserror = { workspace = true } diff --git a/fvm_actor_utils/Cargo.toml b/fvm_actor_utils/Cargo.toml index 48d47929..b1641cf1 100644 --- a/fvm_actor_utils/Cargo.toml +++ b/fvm_actor_utils/Cargo.toml @@ -8,15 +8,15 @@ repository = "https://github.com/helix-onchain/filecoin/" edition = "2021" [dependencies] -frc42_dispatch = { version = "3.3.0", path = "../frc42_dispatch", default-features=false } +frc42_dispatch = { workspace = true } -anyhow = "1.0.56" +anyhow = { workspace = true } cid = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_shared = { workspace = true } fvm_sdk = { workspace = true } -num-traits = { version = "0.2.15" } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } -thiserror = { version = "1.0.31" } +num-traits = { workspace = true } +serde = { workspace = true } +serde_tuple = { workspace = true } +thiserror = { workspace = true } diff --git a/fvm_dispatch_tools/Cargo.toml b/fvm_dispatch_tools/Cargo.toml index 3a895769..206a1df9 100644 --- a/fvm_dispatch_tools/Cargo.toml +++ b/fvm_dispatch_tools/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2021" [dependencies] -blake2b_simd = { version = "1.0.0" } -clap = { version = "3.2.12", features = ["derive"] } -frc42_dispatch = { path = "../frc42_dispatch" } \ No newline at end of file +blake2b_simd = { workspace = true } +clap = { workspace = true } +frc42_dispatch = { workspace = true } \ No newline at end of file diff --git a/testing/integration/Cargo.toml b/testing/integration/Cargo.toml index e1f25945..39330f30 100644 --- a/testing/integration/Cargo.toml +++ b/testing/integration/Cargo.toml @@ -5,21 +5,21 @@ repository = "https://github.com/helix-collective/filecoin" edition = "2021" [dependencies] -frc42_dispatch = { path = "../../frc42_dispatch" } -frc46_token = { path = "../../frc46_token" } -frc53_nft = { path = "../../frc53_nft" } -fvm_actor_utils = { path = "../../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +frc46_token = { workspace = true } +frc53_nft = { workspace = true } +fvm_actor_utils = { workspace = true } -anyhow = { version = "1.0.63", features = ["backtrace"] } +anyhow = { workspace = true, features = ["backtrace"] } cid = { workspace = true } -fvm = { version = "^3.0.0", default-features = false } +fvm = { workspace = true } fvm_integration_tests = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_bitfield = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0", features = ["derive"] } -serde_tuple = { version = "0.5.0" } +serde = { workspace = true } +serde_tuple = { workspace = true } [dev-dependencies] actors-v12 = { package = "fil_builtin_actors_bundle", git = "https://github.com/filecoin-project/builtin-actors" } diff --git a/testing/test_actors/actors/basic_nft_actor/Cargo.toml b/testing/test_actors/actors/basic_nft_actor/Cargo.toml index 35c377b8..33ecf947 100644 --- a/testing/test_actors/actors/basic_nft_actor/Cargo.toml +++ b/testing/test_actors/actors/basic_nft_actor/Cargo.toml @@ -4,18 +4,18 @@ version = "0.1.0" edition = "2021" [dependencies] -frc42_dispatch = { path = "../../../../frc42_dispatch" } -frc53_nft = { path = "../../../../frc53_nft" } -fvm_actor_utils = { path = "../../../../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +frc53_nft = { workspace = true } +fvm_actor_utils = { workspace = true } cid = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } -thiserror = { version = "1.0.31" } +serde = { workspace = true } +serde_tuple = { workspace = true } +thiserror = { workspace = true } [lib] crate-type = ["cdylib"] ## cdylib is necessary for Wasm build diff --git a/testing/test_actors/actors/basic_receiving_actor/Cargo.toml b/testing/test_actors/actors/basic_receiving_actor/Cargo.toml index dfb69372..5f4b9e2a 100644 --- a/testing/test_actors/actors/basic_receiving_actor/Cargo.toml +++ b/testing/test_actors/actors/basic_receiving_actor/Cargo.toml @@ -4,10 +4,10 @@ version = "0.1.0" edition = "2021" [dependencies] -frc42_dispatch = { path = "../../../../frc42_dispatch" } -frc46_token = { path = "../../../../frc46_token" } -frc53_nft = { path = "../../../../frc53_nft" } -fvm_actor_utils = { path = "../../../../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +frc46_token = { workspace = true } +frc53_nft = { workspace = true } +fvm_actor_utils = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } diff --git a/testing/test_actors/actors/basic_transfer_actor/Cargo.toml b/testing/test_actors/actors/basic_transfer_actor/Cargo.toml index 097823b9..182cde6d 100644 --- a/testing/test_actors/actors/basic_transfer_actor/Cargo.toml +++ b/testing/test_actors/actors/basic_transfer_actor/Cargo.toml @@ -4,17 +4,17 @@ version = "0.1.0" edition = "2021" [dependencies] -frc42_dispatch = { path = "../../../../frc42_dispatch" } -frc46_token = { path = "../../../../frc46_token" } -fvm_actor_utils = { path = "../../../../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +frc46_token = { workspace = true } +fvm_actor_utils = { workspace = true } cid = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } +serde = { workspace = true } +serde_tuple = { workspace = true } [lib] crate-type = ["cdylib"] ## cdylib is necessary for Wasm build diff --git a/testing/test_actors/actors/frc46_factory_token/Cargo.toml b/testing/test_actors/actors/frc46_factory_token/Cargo.toml index e0a87e90..22de2231 100644 --- a/testing/test_actors/actors/frc46_factory_token/Cargo.toml +++ b/testing/test_actors/actors/frc46_factory_token/Cargo.toml @@ -5,16 +5,16 @@ edition = "2021" [dependencies] cid = { workspace = true } -frc42_dispatch = { path = "../../../../frc42_dispatch" } -frc46_token = { path = "../../../../frc46_token" } -fvm_actor_utils = { path = "../../../../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +frc46_token = { workspace = true } +fvm_actor_utils = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } -thiserror = { version = "1.0.31" } +serde = { workspace = true } +serde_tuple = { workspace = true } +thiserror = { workspace = true } token_impl = { path = "token_impl" } [lib] diff --git a/testing/test_actors/actors/frc46_factory_token/token_impl/Cargo.toml b/testing/test_actors/actors/frc46_factory_token/token_impl/Cargo.toml index 122e2c62..50e76f2b 100644 --- a/testing/test_actors/actors/frc46_factory_token/token_impl/Cargo.toml +++ b/testing/test_actors/actors/frc46_factory_token/token_impl/Cargo.toml @@ -6,14 +6,14 @@ publish = false [dependencies] cid = { workspace = true } -frc42_dispatch = { path = "../../../../../frc42_dispatch" } -frc46_token = { path = "../../../../../frc46_token" } -fvm_actor_utils = { path = "../../../../../fvm_actor_utils" } +frc42_dispatch = { workspace = true } +frc46_token = { workspace = true } +fvm_actor_utils = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0.136", features = ["derive"] } -serde_tuple = { version = "0.5.0" } -thiserror = { version = "1.0.31" } +serde = { workspace = true } +serde_tuple = { workspace = true } +thiserror = { workspace = true } diff --git a/testing/test_actors/actors/frc46_test_actor/Cargo.toml b/testing/test_actors/actors/frc46_test_actor/Cargo.toml index 2939e560..f23ebe2c 100644 --- a/testing/test_actors/actors/frc46_test_actor/Cargo.toml +++ b/testing/test_actors/actors/frc46_test_actor/Cargo.toml @@ -4,18 +4,18 @@ version = "0.1.0" edition = "2021" [dependencies] -frc46_token = { path = "../../../../frc46_token" } -frc42_dispatch = { path = "../../../../frc42_dispatch" } -frc53_nft = { path = "../../../../frc53_nft" } -fvm_actor_utils = { path = "../../../../fvm_actor_utils" } +frc46_token = { workspace = true } +frc42_dispatch = { workspace = true } +frc53_nft = { workspace = true } +fvm_actor_utils = { workspace = true } cid = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0", features = ["derive"] } -serde_tuple = { version = "0.5.0" } +serde = { workspace = true } +serde_tuple = { workspace = true } [lib] crate-type = ["cdylib"] ## cdylib is necessary for Wasm build diff --git a/testing/test_actors/actors/frc53_test_actor/Cargo.toml b/testing/test_actors/actors/frc53_test_actor/Cargo.toml index 061b3611..a48e360b 100644 --- a/testing/test_actors/actors/frc53_test_actor/Cargo.toml +++ b/testing/test_actors/actors/frc53_test_actor/Cargo.toml @@ -4,18 +4,18 @@ version = "0.1.0" edition = "2021" [dependencies] -frc46_token = { path = "../../../../frc46_token" } -fvm_actor_utils = { path = "../../../../fvm_actor_utils" } -frc42_dispatch = { path = "../../../../frc42_dispatch" } -frc53_nft = { path = "../../../../frc53_nft" } +frc46_token = { workspace = true } +fvm_actor_utils = { workspace = true } +frc42_dispatch = { workspace = true } +frc53_nft = { workspace = true } cid = { workspace = true } fvm_ipld_blockstore = { workspace = true } fvm_ipld_encoding = { workspace = true } fvm_sdk = { workspace = true } fvm_shared = { workspace = true } -serde = { version = "1.0", features = ["derive"] } -serde_tuple = { version = "0.5.0" } +serde = { workspace = true } +serde_tuple = { workspace = true } [lib] crate-type = ["cdylib"] ## cdylib is necessary for Wasm build