-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
40 lines (36 loc) · 1.33 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
[package]
name = "ddoresolver-rs"
version = "0.4.5"
documentation = "https://docs.rs/ddoresolver-rs"
description = "function to resolve did document from url"
license = "Apache-2.0"
repository = "https://github.com/jolocom/ddoresolver-rs"
readme = "README.md"
authors = ["Ivan Temchenko <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
thiserror = "1.0"
did-key = { version = "0.0.15", optional = true }
keri = { version = "=0.8.1", optional = true }
ipfs-api = { version = "0.13.0", features = ["with-hyper"], optional = true }
web3 = { version = "0.17.0", default-features = false, features = ["http-rustls-tls", "http", "http-tls"], optional = true }
hex = { version = "0.4.3", optional = true }
regex = "1"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
base58 = "0.2.0"
base64-url = "1.4.9"
tokio = { version = "1.9", features = ["macros", "rt-multi-thread"], optional = true }
lazy_static = "1.4.0"
tempfile = "3.1"
# accumulator-rs = { git = "https://github.com/mikelodder7/accumulator-rs/", branch = "master" }
[dev-dependencies]
x25519-dalek = "1.1.0"
[features]
default = ["didkey", "keriox"]
all = ["didkey", "keriox"]
didkey = ["did-key"]
keriox = ["keri"]
jolo = ["ipfs-api", "web3", "hex", "tokio"]
registrar = []