Skip to content

Commit

Permalink
chore: move common metadata to workspace package
Browse files Browse the repository at this point in the history
  • Loading branch information
aelesbao committed Oct 13, 2023
1 parent fcd27d2 commit 72c5768
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 31 deletions.
26 changes: 16 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
members = ["packages/*", "contracts/*"]
resolver = "2"

[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
opt-level = 3
overflow-checks = true
panic = 'abort'
rpath = false
[workspace.package]
authors = ["Augusto Elesbão <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/archway-network/archway-bindings"
homepage = "https://archway.io"

[workspace.dependencies]
cosmwasm-schema = "1.4.0"
Expand All @@ -23,3 +18,14 @@ cw2 = "1.1.0"
schemars = "0.8.15"
serde = { version = "1.0.188", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.48" }

[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
opt-level = 3
overflow-checks = true
panic = 'abort'
rpath = false
6 changes: 5 additions & 1 deletion contracts/increment/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "increment"
version = "0.2.0"
authors = ["Augusto Elesbão <[email protected]>"]
edition = "2021"
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme = "README.md"

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.
Expand Down
11 changes: 6 additions & 5 deletions packages/bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name = "archway-bindings"
version = "0.2.0"
edition = "2021"
description = "CosmWasm bindings to interact with Archway's modules"
authors = ["Augusto Elesbão <[email protected]>"]
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme = "README.md"

categories = [
"cryptography",
"cryptography::cryptocurrencies",
Expand All @@ -17,10 +22,6 @@ keywords = [
"smart-contracts",
"wasm",
]
license = "Apache-2.0"
repository = "https://github.com/archway-network/archway-bindings"
homepage = "https://archway.io"
readme = "README.md"

[features]
backtraces = ["cosmwasm-std/backtraces"]
Expand Down
31 changes: 16 additions & 15 deletions packages/proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@
name = "archway-proto"
version = "0.1.0"
edition = "2021"
description = "Rust build of Archway's protobuf definitions"
authors = ["Augusto Elesbão <[email protected]>"]
description = "Rust build of Archway's ProtoBuf definitions"
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme = "README.md"

categories = [
"cryptography",
"cryptography::cryptocurrencies",
"database",
"wasm",
"cryptography",
"cryptography::cryptocurrencies",
"database",
"wasm",
]
keywords = [
"archway",
"blockchain",
"cosmwasm",
"proto",
"smart-contracts",
"archway",
"blockchain",
"cosmwasm",
"proto",
"smart-contracts",
]
license = "Apache-2.0"
repository = "https://github.com/archway-network/archway-bindings"
homepage = "https://archway.io"
readme = "README.md"

[dependencies]
prost = "0.11.9"
Expand Down

0 comments on commit 72c5768

Please sign in to comment.