-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (60 loc) · 1.92 KB
/
Cargo.toml
File metadata and controls
69 lines (60 loc) · 1.92 KB
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]
name = "pallet-xcm-rate-limiter"
version = "0.1.4"
authors = ["GalacticCouncil <hydradx@galacticcouncil.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = 'https://github.com/galacticcouncil/hydradx-node'
repository = 'https://github.com/galacticcouncil/hydradx-node'
description = "Rate limiter for tokens arriving via XCM"
[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
[dependencies]
serde = { features = ["derive"], optional = true, version = "1.0.136" }
codec = { default-features = false, features = ["derive"], package = "parity-scale-codec", version = "3.4.0" }
scale-info = { version = "2.3.1", default-features = false, features = ["derive"] }
# Hydradx
hydradx-traits = { workspace = true }
hydra-dx-math = { workspace = true }
# Substrate dependencies
frame-benchmarking = { workspace = true, optional = true}
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
sp-core = { workspace = true }
# Polkadot
xcm = { workspace = true }
polkadot-core-primitives = { workspace = true }
polkadot-parachain = { workspace = true }
# Cumulus
cumulus-pallet-xcmp-queue = { workspace = true }
# orml
orml-traits = { workspace = true }
[dev-dependencies]
pallet-balances = { workspace = true, features = ["std"] }
pallet-omnipool = { workspace = true, features = ["std"] }
orml-tokens = { workspace = true, features = ["std"] }
pretty_assertions = "1.2.1"
[features]
default = ['std']
std = [
'sp-std/std',
'sp-core/std',
'sp-runtime/std',
'codec/std',
'frame-support/std',
'frame-system/std',
'serde/std',
'scale-info/std',
'cumulus-pallet-xcmp-queue/std',
'orml-traits/std',
'hydra-dx-math/std',
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = [ "frame-support/try-runtime" ]