Skip to content

Commit

Permalink
Use default ssi/ring in DID method crates
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Mar 2, 2022
1 parent 4d6ffc0 commit c57b252
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ members = [
blake2_old = { package = "blake2", version = "0.8" } # for bbs doctest
uuid = { version = "0.8", features = ["v4", "serde"] }
difference = "2.0"
did-method-key = { path = "./did-key" }
tokio = { version = "1.0", features = ["macros"] }
hyper = { version = "0.14", features = ["server", "http1", "stream"] }

Expand Down
3 changes: 3 additions & 0 deletions did-ethr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ repository = "https://github.com/spruceid/ssi/"
homepage = "https://github.com/spruceid/ssi/tree/main/did-ethr/"
documentation = "https://docs.rs/did-ethr/"

[features]
default = ["ssi/ring"]

[dependencies]
ssi = { version = "0.4", path = "../", default-features = false, features = ["secp256k1", "keccak"] }
chrono = { version = "0.4", features = ["serde"] }
Expand Down
1 change: 1 addition & 0 deletions did-ion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ homepage = "https://github.com/spruceid/ssi/tree/main/did-ion/"
documentation = "https://docs.rs/did-ion/"

[features]
default = ["ssi/ring"]

[dependencies]
ssi = { version = "0.4", path = "../", default-features = false, features = ["http-did", "secp256k1"] }
Expand Down
1 change: 1 addition & 0 deletions did-key/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ homepage = "https://github.com/spruceid/ssi/tree/main/did-key/"
documentation = "https://docs.rs/did-key/"

[features]
default = ["ssi/ring"]
secp256k1 = ["k256", "ssi/secp256k1"]
secp256r1 = ["p256", "ssi/secp256r1"]

Expand Down
1 change: 1 addition & 0 deletions did-onion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ homepage = "https://github.com/spruceid/ssi/tree/main/did-onion/"
documentation = "https://docs.rs/did-onion/"

[features]
default = ["ssi/ring"]
tor-tests = []

[dependencies]
Expand Down
3 changes: 3 additions & 0 deletions did-pkh/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ repository = "https://github.com/spruceid/ssi/"
homepage = "https://github.com/spruceid/ssi/tree/main/did-pkh/"
documentation = "https://docs.rs/did-pkh/"

[features]
default = ["ssi/ring"]

[dependencies]
ssi = { version = "0.4", path = "../", default-features = false, features = ["secp256k1", "keccak-hash", "secp256r1", "ripemd160"] }
chrono = { version = "0.4", features = ["serde"] }
Expand Down
3 changes: 3 additions & 0 deletions did-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ repository = "https://github.com/spruceid/ssi/"
homepage = "https://github.com/spruceid/ssi/tree/main/did-web/"
documentation = "https://docs.rs/did-web/"

[features]
default = ["ssi/ring"]

[dependencies]
ssi = { version = "0.4", path = "../", default-features = false }
async-trait = "0.1"
Expand Down

0 comments on commit c57b252

Please sign in to comment.