From 9261bb355ca9830cd18536d8576bf1cc20a6848a Mon Sep 17 00:00:00 2001 From: Jake Hartnell Date: Tue, 4 Apr 2023 13:56:44 -0400 Subject: [PATCH] Use workspace for edition, license, repository, and version (#690) * Use workspace for edition, license, repository, and version * Update schema --- Cargo.lock | 2 +- Cargo.toml | 3 +++ ci/bootstrap-env/Cargo.toml | 4 ++-- ci/integration-tests/Cargo.toml | 2 +- contracts/dao-core/Cargo.toml | 6 +++--- contracts/external/cw-admin-factory/Cargo.toml | 6 +++--- contracts/external/cw-fund-distributor/Cargo.toml | 8 ++++---- contracts/external/cw-payroll-factory/Cargo.toml | 6 +++--- .../cw-payroll-factory/schema/cw-payroll-factory.json | 2 +- contracts/external/cw-token-swap/Cargo.toml | 6 +++--- contracts/external/cw-vesting/Cargo.toml | 8 +++++--- .../dao-pre-propose-approval-single/Cargo.toml | 8 ++++---- contracts/pre-propose/dao-pre-propose-approver/Cargo.toml | 6 +++--- contracts/pre-propose/dao-pre-propose-multiple/Cargo.toml | 6 +++--- contracts/pre-propose/dao-pre-propose-single/Cargo.toml | 8 ++++---- contracts/proposal/dao-proposal-condorcet/Cargo.toml | 8 ++++---- contracts/proposal/dao-proposal-multiple/Cargo.toml | 6 +++--- contracts/proposal/dao-proposal-single/Cargo.toml | 8 ++++---- contracts/staking/cw20-stake-external-rewards/Cargo.toml | 3 ++- .../staking/cw20-stake-reward-distributor/Cargo.toml | 3 ++- contracts/staking/cw20-stake/Cargo.toml | 6 +++--- contracts/voting/dao-voting-cw20-staked/Cargo.toml | 6 +++--- contracts/voting/dao-voting-cw4/Cargo.toml | 6 +++--- contracts/voting/dao-voting-cw721-staked/Cargo.toml | 6 +++--- contracts/voting/dao-voting-native-staked/Cargo.toml | 6 +++--- packages/cw-denom/Cargo.toml | 6 +++--- packages/cw-hooks/Cargo.toml | 7 +++---- packages/cw-paginate/Cargo.toml | 6 +++--- packages/cw-stake-tracker/Cargo.toml | 5 +++-- packages/cw-wormhole/Cargo.toml | 5 +++-- packages/cw721-controllers/Cargo.toml | 6 +++--- packages/dao-interface/Cargo.toml | 6 +++--- packages/dao-macros/Cargo.toml | 6 +++--- packages/dao-pre-propose-base/Cargo.toml | 6 +++--- packages/dao-proposal-hooks/Cargo.toml | 6 +++--- packages/dao-testing/Cargo.toml | 8 ++++---- packages/dao-vote-hooks/Cargo.toml | 6 +++--- packages/dao-voting/Cargo.toml | 6 +++--- test-contracts/dao-proposal-hook-counter/Cargo.toml | 6 ++++-- test-contracts/dao-proposal-sudo/Cargo.toml | 6 ++++-- test-contracts/dao-voting-cw20-balance/Cargo.toml | 6 ++++-- 41 files changed, 125 insertions(+), 111 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b88db5e08..98eff573b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -728,7 +728,7 @@ dependencies = [ [[package]] name = "cw-payroll-factory" -version = "2.0.0-beta" +version = "2.1.0" dependencies = [ "cosmwasm-schema", "cosmwasm-std", diff --git a/Cargo.toml b/Cargo.toml index 52803a2d3..178eb2c7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,10 @@ members = [ exclude = ["ci/configs/"] [workspace.package] +edition = "2021" license = "BSD-3-Clause" +repository = "https://github.com/DA0-DA0/dao-contracts" +version = "2.1.0" [profile.release.package.stake-cw20-external-rewards] codegen-units = 1 diff --git a/ci/bootstrap-env/Cargo.toml b/ci/bootstrap-env/Cargo.toml index f2e830ad0..a2c66693e 100644 --- a/ci/bootstrap-env/Cargo.toml +++ b/ci/bootstrap-env/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "bootstrap-env" version = "0.2.0" -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" +edition = { workspace = true } +repository = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] cosm-orc = { version = "4.0" } diff --git a/ci/integration-tests/Cargo.toml b/ci/integration-tests/Cargo.toml index dfd84dc09..fca2adb56 100644 --- a/ci/integration-tests/Cargo.toml +++ b/ci/integration-tests/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "integration-tests" version = "0.1.0" -edition = "2021" +edition = { workspace = true } # This crate depends on rand. These are not featured in # wasm builds of cosmwasm. Despite this crate only being used as a dev diff --git a/contracts/dao-core/Cargo.toml b/contracts/dao-core/Cargo.toml index d0933db69..93ecdc7b7 100644 --- a/contracts/dao-core/Cargo.toml +++ b/contracts/dao-core/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-core" -version = "2.1.0" authors = ["ekez "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO core module." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/external/cw-admin-factory/Cargo.toml b/contracts/external/cw-admin-factory/Cargo.toml index f925c81be..68716219b 100644 --- a/contracts/external/cw-admin-factory/Cargo.toml +++ b/contracts/external/cw-admin-factory/Cargo.toml @@ -1,11 +1,11 @@ [package] name ="cw-admin-factory" -version = "2.1.0" authors = ["Jake Hartnell", "blue-note", "ekez "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A CosmWasm factory contract for instantiating a contract as its own admin." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/external/cw-fund-distributor/Cargo.toml b/contracts/external/cw-fund-distributor/Cargo.toml index 57e2098bb..80023bd55 100644 --- a/contracts/external/cw-fund-distributor/Cargo.toml +++ b/contracts/external/cw-fund-distributor/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "cw-fund-distributor" -version = "0.1.0" authors = ["bekauz "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A CosmWasm contract for distributing funds to DAO members based on voting power." +edition = { workspace = true } +repository = { workspace = true } +version = "0.1.0" [lib] crate-type = ["cdylib", "rlib"] @@ -31,4 +31,4 @@ cw-paginate = { workspace = true } [dev-dependencies] dao-core = { workspace = true, features = ["library"] } cw-multi-test = { workspace = true } -cw20-base = { workspace = true, features = ["library"] } \ No newline at end of file +cw20-base = { workspace = true, features = ["library"] } diff --git a/contracts/external/cw-payroll-factory/Cargo.toml b/contracts/external/cw-payroll-factory/Cargo.toml index 8925a8615..db539643d 100644 --- a/contracts/external/cw-payroll-factory/Cargo.toml +++ b/contracts/external/cw-payroll-factory/Cargo.toml @@ -1,10 +1,10 @@ [package] name ="cw-payroll-factory" -version = "2.0.0-beta" authors = ["Jake Hartnell"] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A CosmWasm factory contract for instantiating a payroll contract." +edition = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/external/cw-payroll-factory/schema/cw-payroll-factory.json b/contracts/external/cw-payroll-factory/schema/cw-payroll-factory.json index 18e5da632..c0bb31100 100644 --- a/contracts/external/cw-payroll-factory/schema/cw-payroll-factory.json +++ b/contracts/external/cw-payroll-factory/schema/cw-payroll-factory.json @@ -1,6 +1,6 @@ { "contract_name": "cw-payroll-factory", - "contract_version": "2.0.0-beta", + "contract_version": "2.1.0", "idl_version": "1.0.0", "instantiate": { "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/contracts/external/cw-token-swap/Cargo.toml b/contracts/external/cw-token-swap/Cargo.toml index 650984644..e974d5453 100644 --- a/contracts/external/cw-token-swap/Cargo.toml +++ b/contracts/external/cw-token-swap/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "cw-token-swap" -version = "2.1.0" authors = ["ekez "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A CosmWasm contract for swapping native and cw20 assets." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/external/cw-vesting/Cargo.toml b/contracts/external/cw-vesting/Cargo.toml index 3ccbf9912..deafe7e68 100644 --- a/contracts/external/cw-vesting/Cargo.toml +++ b/contracts/external/cw-vesting/Cargo.toml @@ -1,8 +1,10 @@ [package] name = "cw-vesting" -version = "2.1.0" authors = ["Jake Hartnell", "ekez ", "blue-note"] -edition = "2021" +edition = { workspace = true } +license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] @@ -33,4 +35,4 @@ wynd-utils = { workspace = true } anyhow = { workspace = true } cw-multi-test = { workspace = true } cw20-base = { workspace = true } -dao-testing = { workspace = true } \ No newline at end of file +dao-testing = { workspace = true } diff --git a/contracts/pre-propose/dao-pre-propose-approval-single/Cargo.toml b/contracts/pre-propose/dao-pre-propose-approval-single/Cargo.toml index b19283303..d33aa8a3d 100644 --- a/contracts/pre-propose/dao-pre-propose-approval-single/Cargo.toml +++ b/contracts/pre-propose/dao-pre-propose-approval-single/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-pre-propose-approval-single" -version = "2.1.0" authors = ["ekez ", "Jake Hartnell "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO pre-propose module handling a proposal approval flow for for dao-proposal-single." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] @@ -40,4 +40,4 @@ dao-testing = { workspace = true } dao-voting = { workspace = true } dao-voting-cw4 = { workspace = true } dao-voting-cw20-staked = { workspace = true } -dao-proposal-single = { workspace = true } \ No newline at end of file +dao-proposal-single = { workspace = true } diff --git a/contracts/pre-propose/dao-pre-propose-approver/Cargo.toml b/contracts/pre-propose/dao-pre-propose-approver/Cargo.toml index 969547a3e..7eb419fa7 100644 --- a/contracts/pre-propose/dao-pre-propose-approver/Cargo.toml +++ b/contracts/pre-propose/dao-pre-propose-approver/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-pre-propose-approver" -version = "2.1.0" authors = ["ekez ", "Jake Hartnell "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO pre-propose module for automatically making approval proposals for dao-pre-propose-approval-single." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/pre-propose/dao-pre-propose-multiple/Cargo.toml b/contracts/pre-propose/dao-pre-propose-multiple/Cargo.toml index c3d807aef..f5d404cca 100644 --- a/contracts/pre-propose/dao-pre-propose-multiple/Cargo.toml +++ b/contracts/pre-propose/dao-pre-propose-multiple/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-pre-propose-multiple" -version = "2.1.0" authors = ["ekez ", "Jake Hartnell ", "blue-note"] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO pre-propose module for dao-proposal-multiple for native and cw20 deposits." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/pre-propose/dao-pre-propose-single/Cargo.toml b/contracts/pre-propose/dao-pre-propose-single/Cargo.toml index 1b05b8997..f98abdae0 100644 --- a/contracts/pre-propose/dao-pre-propose-single/Cargo.toml +++ b/contracts/pre-propose/dao-pre-propose-single/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-pre-propose-single" -version = "2.1.0" authors = ["ekez "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO pre-propose module for dao-proposal-single for native and cw20 deposits." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] @@ -38,4 +38,4 @@ dao-interface = { workspace = true } dao-testing = { workspace = true } dao-proposal-hooks = { workspace = true } dao-proposal-single = { workspace = true } -cw-hooks = { workspace = true } \ No newline at end of file +cw-hooks = { workspace = true } diff --git a/contracts/proposal/dao-proposal-condorcet/Cargo.toml b/contracts/proposal/dao-proposal-condorcet/Cargo.toml index 0664143cb..c9675b568 100644 --- a/contracts/proposal/dao-proposal-condorcet/Cargo.toml +++ b/contracts/proposal/dao-proposal-condorcet/Cargo.toml @@ -1,11 +1,11 @@ [package] name ="dao-proposal-condorcet" -version = "0.1.0" authors = ["ekez "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO proposal module with ranked-choice, Condorcet voting." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = "0.1.0" [lib] crate-type = ["cdylib", "rlib"] @@ -39,4 +39,4 @@ dao-testing = { workspace = true } dao-voting-cw4 = { workspace = true } cw4-group = { workspace = true } cw4 = { workspace = true } -anyhow = { workspace = true } \ No newline at end of file +anyhow = { workspace = true } diff --git a/contracts/proposal/dao-proposal-multiple/Cargo.toml b/contracts/proposal/dao-proposal-multiple/Cargo.toml index 629f3eda0..927a14b3a 100644 --- a/contracts/proposal/dao-proposal-multiple/Cargo.toml +++ b/contracts/proposal/dao-proposal-multiple/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-proposal-multiple" -version = "2.1.0" authors = ["blue-note"] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO proposal module for multiple choice (a or b or c or ...) voting." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } 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/contracts/proposal/dao-proposal-single/Cargo.toml b/contracts/proposal/dao-proposal-single/Cargo.toml index 6203755be..79799674c 100644 --- a/contracts/proposal/dao-proposal-single/Cargo.toml +++ b/contracts/proposal/dao-proposal-single/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-proposal-single" -version = "2.1.0" authors = ["ekez "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO proposal module for single choice (yes / no) voting." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] @@ -56,4 +56,4 @@ cw20-base = { workspace = true } cw721-base = { workspace = true } cw4 = { workspace = true } cw4-group = { workspace = true } -cw-core-v1 = { workspace = true, features = ["library"] } \ No newline at end of file +cw-core-v1 = { workspace = true, features = ["library"] } diff --git a/contracts/staking/cw20-stake-external-rewards/Cargo.toml b/contracts/staking/cw20-stake-external-rewards/Cargo.toml index a89b9cf2d..58772630c 100644 --- a/contracts/staking/cw20-stake-external-rewards/Cargo.toml +++ b/contracts/staking/cw20-stake-external-rewards/Cargo.toml @@ -1,9 +1,10 @@ [package] name = "cw20-stake-external-rewards" -version = "2.1.0" authors = ["Ben2x4 ", "ekez "] edition = "2018" license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/staking/cw20-stake-reward-distributor/Cargo.toml b/contracts/staking/cw20-stake-reward-distributor/Cargo.toml index 4446c4caa..ee115eea4 100644 --- a/contracts/staking/cw20-stake-reward-distributor/Cargo.toml +++ b/contracts/staking/cw20-stake-reward-distributor/Cargo.toml @@ -1,9 +1,10 @@ [package] name = "cw20-stake-reward-distributor" -version = "2.1.0" edition = "2018" authors = ["Vernon Johnson , ekez "] license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/staking/cw20-stake/Cargo.toml b/contracts/staking/cw20-stake/Cargo.toml index 78af12f91..6d7943032 100644 --- a/contracts/staking/cw20-stake/Cargo.toml +++ b/contracts/staking/cw20-stake/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "cw20-stake" -version = "2.1.0" +version = { workspace = true } authors = ["Ben2x4 "] -edition = "2018" -repository = "https://github.com/DA0-DA0/cw-dao/contracts/cw20-stake" description = "CW20 token that can be staked and staked balance can be queried at any height" +edition = "2018" license = { workspace = true } +repository = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/voting/dao-voting-cw20-staked/Cargo.toml b/contracts/voting/dao-voting-cw20-staked/Cargo.toml index 8e35e6a75..143da5454 100644 --- a/contracts/voting/dao-voting-cw20-staked/Cargo.toml +++ b/contracts/voting/dao-voting-cw20-staked/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-voting-cw20-staked" -version = "2.1.0" authors = ["Callum Anderson "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO voting module based on staked cw20 tokens." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/voting/dao-voting-cw4/Cargo.toml b/contracts/voting/dao-voting-cw4/Cargo.toml index 8c3037cc6..160aa8cd3 100644 --- a/contracts/voting/dao-voting-cw4/Cargo.toml +++ b/contracts/voting/dao-voting-cw4/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-voting-cw4" -version = "2.1.0" authors = ["Callum Anderson "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO voting module based on cw4 membership." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/voting/dao-voting-cw721-staked/Cargo.toml b/contracts/voting/dao-voting-cw721-staked/Cargo.toml index e1a96801a..884db9fa0 100644 --- a/contracts/voting/dao-voting-cw721-staked/Cargo.toml +++ b/contracts/voting/dao-voting-cw721-staked/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-voting-cw721-staked" -version = "2.1.0" authors = ["CypherApe cypherape@protonmail.com"] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO voting module based on staked cw721 tokens." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/contracts/voting/dao-voting-native-staked/Cargo.toml b/contracts/voting/dao-voting-native-staked/Cargo.toml index f72c6d4a0..56c6b4b05 100644 --- a/contracts/voting/dao-voting-native-staked/Cargo.toml +++ b/contracts/voting/dao-voting-native-staked/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-voting-native-staked" -version = "2.1.0" authors = ["Callum Anderson "] -edition = "2021" -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A DAO DAO voting module based on staked cw721 tokens." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/packages/cw-denom/Cargo.toml b/packages/cw-denom/Cargo.toml index 95c9d9358..dfb3b543d 100644 --- a/packages/cw-denom/Cargo.toml +++ b/packages/cw-denom/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "cw-denom" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package for validation and handling of cw20 and native Cosmos SDK denominations." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/packages/cw-hooks/Cargo.toml b/packages/cw-hooks/Cargo.toml index e1d165f27..14946920a 100644 --- a/packages/cw-hooks/Cargo.toml +++ b/packages/cw-hooks/Cargo.toml @@ -1,14 +1,13 @@ [package] name = "cw-hooks" -version = "2.1.0" -edition = "2021" authors = ["Callum Anderson "] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package for managing a set of hooks which can be accessed by their index." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] - thiserror = { workspace = true } cosmwasm-std = { workspace = true } cosmwasm-schema = { workspace = true } diff --git a/packages/cw-paginate/Cargo.toml b/packages/cw-paginate/Cargo.toml index 7a602a317..5b3150b23 100644 --- a/packages/cw-paginate/Cargo.toml +++ b/packages/cw-paginate/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "cw-paginate" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package for paginating cosmwasm maps." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/packages/cw-stake-tracker/Cargo.toml b/packages/cw-stake-tracker/Cargo.toml index f2684d1e7..cb813d58d 100644 --- a/packages/cw-stake-tracker/Cargo.toml +++ b/packages/cw-stake-tracker/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "cw-stake-tracker" -version = "2.1.0" -edition = "2021" authors = ["ekez "] description = "A package for tracking staked and unbonding tokens in x/staking." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-schema = { workspace = true } diff --git a/packages/cw-wormhole/Cargo.toml b/packages/cw-wormhole/Cargo.toml index d4b94cd83..65650462f 100644 --- a/packages/cw-wormhole/Cargo.toml +++ b/packages/cw-wormhole/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "cw-wormhole" -version = "2.1.0" -edition = "2021" authors = ["ekez "] description = "A CosmWasm map that allows incrementing and decrementing values from the past." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-schema = { workspace = true } diff --git a/packages/cw721-controllers/Cargo.toml b/packages/cw721-controllers/Cargo.toml index e1ce2cbc4..b497f17c0 100644 --- a/packages/cw721-controllers/Cargo.toml +++ b/packages/cw721-controllers/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "cw721-controllers" -version = "2.1.0" authors = ["CypherApe cypherape@protonmail.com"] -edition = "2021" description = "A package for managing cw721 claims." -repository = "https://github.com/DA0-DA0/dao-contracts" +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/packages/dao-interface/Cargo.toml b/packages/dao-interface/Cargo.toml index ba2a9a242..2f736a3e4 100644 --- a/packages/dao-interface/Cargo.toml +++ b/packages/dao-interface/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-interface" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package containing interface definitions for DAO DAO DAOs." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/packages/dao-macros/Cargo.toml b/packages/dao-macros/Cargo.toml index bfa1d855c..273aa2711 100644 --- a/packages/dao-macros/Cargo.toml +++ b/packages/dao-macros/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-macros" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package macros for deriving DAO module interfaces." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] proc-macro = true diff --git a/packages/dao-pre-propose-base/Cargo.toml b/packages/dao-pre-propose-base/Cargo.toml index 2de0e8119..ebc864973 100644 --- a/packages/dao-pre-propose-base/Cargo.toml +++ b/packages/dao-pre-propose-base/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-pre-propose-base" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package for implementing pre-propose modules." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/packages/dao-proposal-hooks/Cargo.toml b/packages/dao-proposal-hooks/Cargo.toml index 7ba5e736b..7ecb29919 100644 --- a/packages/dao-proposal-hooks/Cargo.toml +++ b/packages/dao-proposal-hooks/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-proposal-hooks" -version = "2.1.0" -edition = "2021" authors = ["Callum Anderson "] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package for managing proposal hooks." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/packages/dao-testing/Cargo.toml b/packages/dao-testing/Cargo.toml index c81a979b1..49793d160 100644 --- a/packages/dao-testing/Cargo.toml +++ b/packages/dao-testing/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-testing" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "Testing helper functions and interfaces for testing DAO modules." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } # This crate depends on multi-test and rand. These are not features in # wasm builds of cosmwasm. Despite this crate only being used as a dev @@ -44,4 +44,4 @@ dao-voting-cw4 = { workspace = true } dao-voting-cw721-staked = { workspace = true } dao-voting-native-staked = { workspace = true } voting-v1 = { workspace = true } -stake-cw20-v03 = { workspace = true } \ No newline at end of file +stake-cw20-v03 = { workspace = true } diff --git a/packages/dao-vote-hooks/Cargo.toml b/packages/dao-vote-hooks/Cargo.toml index 86f186eaa..067e11158 100644 --- a/packages/dao-vote-hooks/Cargo.toml +++ b/packages/dao-vote-hooks/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-vote-hooks" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "A package for managing vote hooks." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/packages/dao-voting/Cargo.toml b/packages/dao-voting/Cargo.toml index 7cc035572..489578235 100644 --- a/packages/dao-voting/Cargo.toml +++ b/packages/dao-voting/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "dao-voting" -version = "2.1.0" -edition = "2021" authors = ["ekez ekez@withoutdoing.com"] -repository = "https://github.com/DA0-DA0/dao-contracts" description = "Types and methods for CosmWasm DAO voting." +edition = { workspace = true } license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [dependencies] cosmwasm-std = { workspace = true } diff --git a/test-contracts/dao-proposal-hook-counter/Cargo.toml b/test-contracts/dao-proposal-hook-counter/Cargo.toml index 29e3ce217..b658a72e7 100644 --- a/test-contracts/dao-proposal-hook-counter/Cargo.toml +++ b/test-contracts/dao-proposal-hook-counter/Cargo.toml @@ -1,8 +1,10 @@ [package] name = "dao-proposal-hook-counter" -version = "2.1.0" authors = ["Callum Anderson "] -edition = "2021" +edition = { workspace = true } +license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/test-contracts/dao-proposal-sudo/Cargo.toml b/test-contracts/dao-proposal-sudo/Cargo.toml index 45b947f5c..2aa89d69b 100644 --- a/test-contracts/dao-proposal-sudo/Cargo.toml +++ b/test-contracts/dao-proposal-sudo/Cargo.toml @@ -1,8 +1,10 @@ [package] name = "dao-proposal-sudo" -version = "2.1.0" authors = ["ekez "] -edition = "2021" +edition = { workspace = true } +license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"] diff --git a/test-contracts/dao-voting-cw20-balance/Cargo.toml b/test-contracts/dao-voting-cw20-balance/Cargo.toml index 64aee456c..6676c04b6 100644 --- a/test-contracts/dao-voting-cw20-balance/Cargo.toml +++ b/test-contracts/dao-voting-cw20-balance/Cargo.toml @@ -1,8 +1,10 @@ [package] name = "dao-voting-cw20-balance" -version = "2.1.0" authors = ["ekez "] -edition = "2021" +edition = { workspace = true } +license = { workspace = true } +repository = { workspace = true } +version = { workspace = true } [lib] crate-type = ["cdylib", "rlib"]