Skip to content

Commit 44c1268

Browse files
committed
basic command-line tool
1 parent 95d3c4b commit 44c1268

File tree

4 files changed

+414
-9
lines changed

4 files changed

+414
-9
lines changed

Cargo.lock

+257
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+13-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ edition = "2021"
66
[lib]
77
name = "ssi"
88

9+
[[bin]]
10+
name = "ssi"
11+
path = "src/main.rs"
12+
required-features = ["cli"]
13+
914
[dependencies]
1015
amplify = "4.6.0"
1116
baid58 = "0.4.4"
12-
secp256k1 = "0.29.0"
17+
secp256k1 = { version = "0.29.0", features = ["rand", "global-context"] }
18+
rand = "0.8.5"
19+
clap = { version = "4.5.4", features = ["derive"], optional = true }
20+
crossbeam-channel = { version = "0.5.12", optional = true }
21+
22+
[features]
23+
default = ["cli"]
24+
cli = ["clap", "crossbeam-channel"]

0 commit comments

Comments
 (0)