Skip to content

Commit fdaa6bb

Browse files
committed
feat: start package isolation
1 parent e5b8849 commit fdaa6bb

File tree

4 files changed

+69
-53
lines changed

4 files changed

+69
-53
lines changed

Cargo.lock

Lines changed: 17 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = [ "contracts/*", "packages/*" ]
2+
members = [ "contracts/*"]
33
resolver = "2"
44

55
[profile.release.package.injective-cosmwasm]
@@ -17,13 +17,13 @@ cw-storage-plus = { version = "2.0.0" }
1717
cw2 = { version = "2.0.0" }
1818
ethereum-types = { version = "0.5.2" }
1919
hex = { version = "0.4.3", features = [ "serde" ] }
20-
injective-cosmwasm = { version = "0.3.3", path = "./packages/injective-cosmwasm" }
21-
injective-math = { version = "0.3.3", path = "./packages/injective-math" }
20+
injective-cosmwasm = { version = "0.3.3" }
21+
injective-math = { version = "0.3.3" }
2222
injective-std = { version = "1.16.0-beta.2" }
2323
injective-test-tube = { version = "1.16.0-beta.3" }
2424
injective-testing = { version = "1.1.10", path = "./packages/injective-testing" }
2525
primitive-types = { version = "0.12.2", default-features = false }
26-
prost = { version = "0.13.4", features = [ "prost-derive" ] }
26+
prost = { version = "0.13.5", features = [ "prost-derive" ] }
2727
rand = { version = "0.4.6" }
2828
regex = { version = "1.11.1" }
2929
schemars = { version = "0.8.16" }
Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
11
[package]
2-
authors = [ "Albert Chon <[email protected]>", "F Grabner <[email protected]>", "Markus Waas <[email protected]>" ]
2+
authors = [ "Albert Chon [email protected]", "F Grabner [email protected]", "Markus Waas [email protected]", "Jose Luis [email protected]" ]
33
description = "Bindings for CosmWasm contracts to call into custom modules of Injective Core"
4-
edition = "2021"
5-
license = "Apache-2.0"
6-
name = "injective-cosmwasm"
7-
readme = "README.md"
8-
repository = "https://github.com/InjectiveLabs/cw-injective/tree/dev/packages/injective-cosmwasm"
9-
version = "0.3.3"
10-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
4+
edition = "2021"
5+
license = "Apache-2.0"
6+
name = "injective-cosmwasm"
7+
readme = "README.md"
8+
repository = "https://github.com/InjectiveLabs/cw-injective/tree/dev/packages/injective-cosmwasm"
9+
version = "0.3.4-1"
1110

1211
[dependencies]
13-
cosmwasm-std = { workspace = true }
14-
cw-storage-plus = { workspace = true }
15-
ethereum-types = { workspace = true }
16-
hex = { workspace = true }
17-
injective-math = { workspace = true }
18-
schemars = { workspace = true }
19-
serde = { workspace = true }
20-
serde_repr = { workspace = true }
21-
subtle-encoding = { workspace = true }
22-
tiny-keccak = { workspace = true }
12+
cosmwasm-std = { version = "2.2.2", features = [ "abort", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0", "iterator", "stargate" ] }
13+
cw-storage-plus = { version = "2.0.0" }
14+
ethereum-types = { version = "0.5.2" }
15+
hex = { version = "0.4.3", features = [ "serde" ] }
16+
injective-math = { version = "0.3.3" }
17+
schemars = { version = "0.8.16" }
18+
serde = { version = "1.0.196", default-features = false, features = [ "derive" ] }
19+
serde_repr = { version = "0.1.17" }
20+
subtle-encoding = { version = "0.5.1", features = [ "bech32-preview" ] }
21+
tiny-keccak = { version = "1.2.1" }
22+
2323

2424
[dev-dependencies]
25-
cosmwasm-schema = { workspace = true }
26-
serde-json-wasm = { workspace = true }
27-
serde_test = { workspace = true }
25+
serde-json-wasm = { version = "1.0.0" }
26+
serde_test = { version = "1.0.176" }
27+
28+
[profile.release]
29+
codegen-units = 1
30+
debug = false
31+
debug-assertions = false
32+
incremental = false
33+
lto = true
34+
opt-level = 3
35+
overflow-checks = true
36+
panic = 'abort'
37+
rpath = false
38+
39+

packages/injective-math/Cargo.toml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@ license = "Apache-2.0"
66
name = "injective-math"
77
readme = "README.md"
88
repository = "https://github.com/InjectiveLabs/cw-injective/tree/dev/packages/injective-math"
9-
version = "0.3.3"
9+
version = "0.3.4-1"
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

13-
[features]
14-
1513
[dependencies]
16-
cosmwasm-std = { workspace = true }
17-
primitive-types = { workspace = true }
18-
schemars = { workspace = true }
19-
serde = { workspace = true }
14+
cosmwasm-std = { version = "2.2.2", features = [ "abort", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0", "iterator", "stargate" ] }
15+
primitive-types = { version = "0.12.2", default-features = false }
16+
schemars = { version = "0.8.16" }
17+
serde = { version = "1.0.196", default-features = false, features = [ "derive" ] }
2018

21-
[dev-dependencies]
22-
cosmwasm-schema = { workspace = true }
19+
[profile.release]
20+
codegen-units = 1
21+
debug = false
22+
debug-assertions = false
23+
incremental = false
24+
lto = true
25+
opt-level = 3
26+
overflow-checks = true
27+
panic = 'abort'
28+
rpath = false

0 commit comments

Comments
 (0)