Skip to content

Commit 0a1f801

Browse files
committed
Update Cargo.toml version from v1.1.0 to v2.0.0
1 parent 9adb764 commit 0a1f801

File tree

1 file changed

+49
-20
lines changed

1 file changed

+49
-20
lines changed

Cargo.toml

+49-20
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
[package]
2-
authors = ["Apollo Devs"]
2+
authors = [ "Apollo Devs" ]
33
description = "Helper library for interacting with Cosmos dexes"
44
edition = "2021"
55
license = "GPL-3.0-or-later"
66
name = "cw-dex"
77
repository = "https://github.com/apollodao/cw-dex"
8-
version = "0.0.1"
8+
version = "2.0.0"
99

1010
[features]
11-
default = ["osmosis"]
12-
osmosis = []
11+
default = [ "osmosis" ]
12+
osmosis = [ ]
1313

1414
[dependencies]
1515
cosmwasm-schema = "1.1.0"
16-
cosmwasm-std = {version = "1.1.0", features = ["stargate"]}
1716
cosmwasm-storage = "1.1.0"
18-
cw-asset = { git = "https://github.com/apollodao/cw-asset.git", features = ["astroport"] }
1917
cw-storage-plus = "0.16"
2018
cw-utils = "0.11"
2119
cw20 = "0.16"
@@ -25,20 +23,51 @@ num-rational = "0.4"
2523
num-traits = "0.2.15"
2624
osmo-bindings = "0.5.1"
2725
schemars = "0.8.8"
28-
serde = {version = "1.0.137", default-features = false, features = ["derive"]}
29-
thiserror = {version = "1.0.31"}
30-
prost = {version = "0.11.0", default-features = false, features = ["prost-derive"]}
31-
apollo-utils = { git = "https://github.com/apollodao/apollo-utils.git" }
26+
stake-cw20 = "0.2"
27+
delegate = "0.8"
3228

33-
# Osmosis
34-
osmosis-std = { git = "https://github.com/apollodao/osmosis-rust", branch = "feat/latest-build" }
29+
[dependencies.cosmwasm-std]
30+
version = "1.1.0"
31+
features = [ "stargate" ]
3532

36-
# Junoswap
37-
wasmswap = { git = "https://github.com/Wasmswap/wasmswap-contracts.git", tag = "v1.1.0-beta", features = ["library"] }
38-
cw20-0_10_3 = { package = "cw20", version = "0.10.3" } # We must import this version separately since it is what wasmswap uses.
39-
stake-cw20 = "0.2"
40-
stake-cw20-external-rewards = { git = "https://github.com/DA0-DA0/dao-contracts", features = ["library"] } # TODO: what version?
33+
[dependencies.cw-asset]
34+
git = "https://github.com/apollodao/cw-asset.git"
35+
features = [ "astroport" ]
4136

42-
# Astroport
43-
astroport-core = { package = "astroport", rev = "126d43216111df786472fe2a845c1e2fadfe4a36", git = "https://github.com/astroport-fi/astroport-core.git" }
44-
delegate = "0.8"
37+
[dependencies.serde]
38+
version = "1.0.137"
39+
default-features = false
40+
features = [ "derive" ]
41+
42+
[dependencies.thiserror]
43+
version = "1.0.31"
44+
45+
[dependencies.prost]
46+
version = "0.11.0"
47+
default-features = false
48+
features = [ "prost-derive" ]
49+
50+
[dependencies.apollo-utils]
51+
git = "https://github.com/apollodao/apollo-utils.git"
52+
53+
[dependencies.osmosis-std]
54+
git = "https://github.com/apollodao/osmosis-rust"
55+
branch = "feat/latest-build"
56+
57+
[dependencies.wasmswap]
58+
git = "https://github.com/Wasmswap/wasmswap-contracts.git"
59+
tag = "v1.1.0-beta"
60+
features = [ "library" ]
61+
62+
[dependencies.cw20-0_10_3]
63+
package = "cw20"
64+
version = "0.10.3"
65+
66+
[dependencies.stake-cw20-external-rewards]
67+
git = "https://github.com/DA0-DA0/dao-contracts"
68+
features = [ "library" ]
69+
70+
[dependencies.astroport-core]
71+
package = "astroport"
72+
rev = "126d43216111df786472fe2a845c1e2fadfe4a36"
73+
git = "https://github.com/astroport-fi/astroport-core.git"

0 commit comments

Comments
 (0)