forked from spruceid/didkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (57 loc) · 2.22 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
[package]
name = "didkit"
version = "0.5.0"
authors = ["Spruce Systems, Inc."]
edition = "2018"
description = "Library for Verifiable Credentials and Decentralized Identifiers."
license = "Apache-2.0"
homepage = "https://spruceid.dev/docs/didkit/"
repository = "https://github.com/spruceid/didkit/"
documentation = "https://docs.rs/didkit/"
keywords = ["ssi", "did"]
readme = "README.md"
include = [
"/src",
"/README.md",
"/LICENSE"
]
[features]
default = ["w3c", "ed25519", "rsa", "ripemd-160", "eip", "tezos"]
w3c = ["ssi/w3c", "secp256r1", "secp256k1"]
secp256k1 = ["ssi/secp256k1", "did-method-key/secp256k1"]
secp256r1 = ["ssi/secp256r1", "did-method-key/secp256r1"]
secp384r1 = ["ssi/secp384r1", "did-method-key/secp384r1"]
ed25519 = ["ssi/ed25519"]
rsa = ["ssi/rsa"]
ripemd-160 = ["ssi/ripemd-160"]
aleo = ["ssi/aleo"]
eip = ["ssi/eip"]
tezos = ["ssi/tezos"]
solana = ["ssi/solana"]
http-did = ["ssi/http-did"]
ring = ["ssi/ring"]
[dependencies]
ssi = { version = "0.6", path = "../../ssi", default-features = false }
did-method-key = { version = "0.2.0", path = "../../ssi/did-key", default-features = false }
did-tz = { version = "0.2.0", path = "../../ssi/did-tezos" }
did-ethr = { version = "0.2", path = "../../ssi/did-ethr", default-features = false }
did-pkh = { version = "0.2", path = "../../ssi/did-pkh" }
#did-sol = { version = "0.0.1", path = "../../ssi/did-sol" }
did-web = { version = "0.2.0", path = "../../ssi/did-web", default-features = false }
did-webkey = { version = "0.2", path = "../../ssi/did-webkey", default-features = false }
did-onion = { version = "0.2.0", path = "../../ssi/did-onion", default-features = false }
did-ion = { version = "0.2.0", path = "../../ssi/did-ion", default-features = false }
did-jwk = { version = "^0.1.0", path = "../../ssi/did-jwk", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# TODO feature-gate JNI, or extract it in another crate like we do for Python (and probably WASM as well)
jni = "0.17"
lazy_static = "1.4"
thiserror = "1.0"
base64 = "0.12"
sshkeys = "0.3"
bytes = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.0", features = ["rt-multi-thread"] }
[lib]
crate-type = ["lib", "staticlib", "cdylib"]