-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
47 lines (41 loc) · 1.38 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
[package]
name = "rate-limiter"
version = "0.1.0"
authors = ["Nicolas Lara <[email protected]>"]
edition = "2021"
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"]
[features]
library = []
# Use the verbose responses feature if you want to include information about
# the remaining quotas in the SendPacket/RecvPacket responses
verbose_responses = []
[package.metadata.scripts]
optimize = """docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.15.1
"""
[dependencies]
cosmwasm-std = { version = "2.1.0", features = ["cosmwasm_2_0", "std"] }
cosmwasm-schema = { version = "2.1.0", default-features = false }
cosmwasm-storage = "1"
cw-storage-plus = "2"
cw2 = "2"
schemars = "0.8.15"
serde = { version = "1.0.188", features = ["derive"], default-features = false }
thiserror = "1.0.49"
prost = "0.12.3"
neutron-std = "4.2.2-rc"
sha2 = "0.10.6"
hex = "0.4.3"
[dev-dependencies]
cw-multi-test = "2.1.1"
serde-json-wasm = "1.0.0"
itertools = "0.10"