-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (51 loc) · 1.46 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
[package]
edition = "2021"
name = "didcomm_mediator"
version = "0.2.1"
[lib]
crate-type = ["cdylib", "rlib"]
name = "didcomm_mediator"
path = "src/lib.rs"
[[bin]]
name = "didcomm-mediator"
path = "src/bin.rs"
required-features = ["bin"]
[features]
bin = ["tokio", "rocket"]
iota = ["identity_iota", "zeroize"]
default = ["bin", "iota"]
[dependencies]
arrayref = "0.3"
async-trait = "0.1.56"
async-mutex = "1.4.0"
base58 = "0.2.0"
chrono = "0.4"
did-key = "*"
didcomm-rs = { version = "0.7.2", git = "https://github.com/decentralized-identity/didcomm-rs" }
ed25519-dalek = { version = "1.0" }
hex = { version = "0.4.3", features = ["serde"] }
identity_iota = { version = "0.6", optional = true }
rand_core = "0.5"
reqwest = { version = "0.11.3", features = ["blocking", "json"] }
rocket = { version = "0.5.0-rc.1", features = ["json"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1" }
tokio = { version = "1", features = ["full"], optional = true }
url = "2.2.2"
uuid = { version = "1", features = ["serde", "v4"] }
x25519-dalek = "1.1"
zeroize = { version = "1.4", optional = true }
[target.wasm32-unknown-unknown.dependencies]
uuid = { version = "0.8", features = ["serde", "v4", "wasm-bindgen"] }
[[example]]
name = "didexchange"
required-features = ["bin"]
[[example]]
name = "discoverfeatures"
required-features = ["bin"]
[[example]]
name = "invitation"
required-features = ["bin"]
[[example]]
name = "ping"
required-features = ["bin"]