-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
69 lines (60 loc) · 1.88 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
authors = ["Apollo Devs <[email protected]>"]
edition = "2021"
name = "cw-dex-router"
version = "0.5.0"
readme = "README.md"
repository = "https://github.com/apollodao/cw-dex-router"
homepage = "https://apollo.farm"
documentation = "https://docs.rs/cw-dex-router"
license = "MPL-2.0"
description = "A cosmwasm contract for routing swaps across multiple dexes."
keywords = ["cosmwasm", "dex", "router", "osmosis", "astroport"]
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.
"contract.wasm",
"hash.txt",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
opt-level = 3
overflow-checks = true
panic = 'abort'
rpath = false
[features]
default = []
# use library feature to disable all instantiate/execute/query exports
library = []
osmosis = ["cw-dex-osmosis"]
astroport = ["cw-dex-astroport"]
[package.metadata.optimizer]
builds = [
{ name = "astroport", features = ["astroport"] },
{ name = "osmosis", features = ["osmosis"] },
]
[dependencies]
cosmwasm-std = "1.5.4"
cosmwasm-schema = "1.2.1"
apollo-cw-asset = "0.1.0"
cw-controllers = "1.0.1"
cw-dex = "0.6.0"
cw-storage-plus = "1.0.1"
cw2 = "1.0.1"
cw20 = "1.0.1"
thiserror = "1.0.38"
apollo-utils = "0.1.0"
cw-dex-osmosis = { version = "0.2.0", optional = true }
cw-dex-astroport = { version = "0.2.0", optional = true}
[dev-dependencies]
cw-it = { version = "0.4.0", features = ["osmosis-test-tube"] }
test-case = "3.0.0"
serde_json = "1.0.107"
# Used in osmosis tests, should migrate to new cw-it at some point
osmosis-testing = { git = "https://github.com/apollodao/osmosis-rust", rev = "430236bd63f26d618e11e59709a56c808c4d427c" }