/
Cargo.toml
70 lines (61 loc) · 2.13 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
70
[package]
name = "concordium-rust-sdk"
version = "4.3.0"
authors = ["Concordium <developers@concordium.com>"]
edition = "2021"
rust-version = "1.73"
license-file = "LICENSE"
readme = "README.md"
include = ["src/", "examples/", "CHANGELOG.md"]
description = "An SDK to use the Concordium blockchain."
homepage = "https://github.com/Concordium/concordium-rust-sdk"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = {version = "0.10"}
prost = "0.12"
tokio = { version = "1.27", features = ["net", "macros"] }
futures = "0.3"
serde_json = "1.0"
serde = {version = "1.0", features = ["derive"]}
chrono = {version = "0.4", features = ["serde"] }
thiserror = "1"
hex = "0.4.3"
derive_more = "0.99"
semver = "1"
anyhow = "1.0"
# See https://github.com/serde-rs/json/issues/505 for how to be careful.
rust_decimal = { version = "1.26", features = ["serde-float", "serde-arbitrary-precision"]}
ed25519-dalek = "2"
sha2 = "0.10"
rand = {version = "0.8", features = ["small_rng"]}
num = "0.4"
num-bigint = "0.4"
num-traits = "0.2"
tokio-postgres = { version = "^0.7.8", features = ["with-serde_json-1"], optional = true }
http = "0.2"
tokio-stream = "0.1"
concordium_base = { version = "5.0", path = "./concordium-base/rust-src/concordium_base/", features = ["encryption"] }
concordium-smart-contract-engine = { version = "5.0", path = "./concordium-base/smart-contracts/wasm-chain-integration/", default-features = false, features = ["async"]}
aes-gcm = { version = "0.10", features = ["std"] }
tracing = "0.1"
[features]
postgres = ["tokio-postgres"]
generate-protos = ["tonic-build", "git2"]
[dev-dependencies]
structopt = "0.3"
clap = "2.34"
csv = "1.1"
tokio = { version = "1.27", features = ["full"] }
tokio-test = { version = "0.4" }
tonic = {version = "0.10", features = ["tls", "tls-roots"]} # Use system trust roots.
tracing-subscriber = "0.3"
sqlite = "0.33"
[[example]]
name = "postgres"
required-features = ["postgres"]
[[example]]
name = "monitor-postgres"
required-features = ["postgres"]
[build-dependencies]
tonic-build = {version = "0.10", optional = true}
git2 = {version = "0.18", optional = true}