-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathCargo.toml
More file actions
76 lines (71 loc) · 2.44 KB
/
Copy pathCargo.toml
File metadata and controls
76 lines (71 loc) · 2.44 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
70
71
72
73
74
75
76
[package]
name = "anp"
version = "0.9.3"
edition = "2021"
rust-version = "1.88.0"
description = "Rust SDK for Agent Network Protocol (ANP)"
license = "MIT"
readme = "README.md"
repository = "https://github.com/agent-network-protocol/AgentConnect"
homepage = "https://agent-network-protocol.com/"
documentation = "https://docs.rs/anp"
keywords = ["agent", "anp", "did", "did-wba", "authentication"]
categories = ["authentication", "api-bindings", "network-programming"]
exclude = ["target/*"]
[lib]
name = "anp"
path = "src/lib.rs"
[features]
default = ["jwt-pem", "mls", "network"]
jwt-pem = ["jsonwebtoken/use_pem"]
network = ["dep:reqwest", "dep:url"]
mls = [
"dep:fs2",
"dep:openmls",
"dep:openmls_basic_credential",
"dep:openmls_rust_crypto",
"dep:openmls_sqlite_storage",
"dep:openmls_traits",
"dep:rusqlite",
]
[dependencies]
base64 = "0.22"
bs58 = "0.5"
chrono = { version = "0.4", features = ["serde"] }
ed25519-dalek = { version = "=2.1.1", features = ["rand_core", "pkcs8", "pem"] }
jsonwebtoken = { version = "9", default-features = false }
num-bigint = "0.4"
k256 = { version = "0.13", features = ["ecdsa", "arithmetic", "pkcs8", "pem"] }
p256 = { version = "0.13", features = ["ecdsa", "arithmetic", "pkcs8", "pem"] }
percent-encoding = "2.3"
pkcs8 = { version = "0.10", features = ["pem"] }
rand = "0.8"
regex = "1"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"], optional = true }
ring = "0.17"
fs2 = { version = "0.4", optional = true }
openmls = { version = "=0.8.0", optional = true }
openmls_basic_credential = { version = "0.5.0", optional = true }
openmls_rust_crypto = { version = "=0.5.0", optional = true }
openmls_sqlite_storage = { version = "0.2.0", optional = true }
openmls_traits = { version = "0.5.0", optional = true }
rusqlite = { version = "0.32", features = ["bundled"], optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
spki = { version = "0.7", features = ["pem"] }
thiserror = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
url = { version = "2", optional = true }
x25519-dalek = { version = "2", features = ["static_secrets"] }
tiny_http = "0.12"
serde_json_canonicalizer = "0.3.2"
zeroize = "1"
[[test]]
name = "python_network_interop_tests"
path = "tests/python_network_interop_tests.rs"
required-features = ["network"]
[[test]]
name = "wns_tests"
path = "tests/wns_tests.rs"
required-features = ["network"]