# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "did-method-key" version = "0.3.1" authors = ["Spruce Systems, Inc."] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "did:key DID method, using the ssi crate" homepage = "https://github.com/spruceid/ssi/tree/main/did-key/" documentation = "https://docs.rs/did-key/" readme = "README.md" keywords = [ "ssi", "did", ] categories = ["cryptography::cryptocurrencies"] license = "Apache-2.0" repository = "https://github.com/spruceid/ssi/" [lib] name = "did_method_key" path = "src/lib.rs" [dependencies.bs58] version = "0.4" features = ["check"] [dependencies.iref] version = "3.2.2" [dependencies.k256] version = "0.13.1" features = ["ecdsa"] optional = true [dependencies.multibase] version = "0.9.1" [dependencies.p256] version = "0.13.2" features = ["ecdsa"] optional = true [dependencies.serde_json] version = "1.0" features = ["arbitrary_precision"] [dependencies.simple_asn1] version = "^0.5.2" [dependencies.ssi-dids-core] version = "0.1.1" default-features = false [dependencies.ssi-json-ld] version = "0.3" default-features = false [dependencies.ssi-jwk] version = "0.3" features = ["ed25519"] default-features = false [dependencies.ssi-multicodec] version = "0.2" default-features = false [dependencies.static-iref] version = "3.0" [dependencies.thiserror] version = "1.0.40" [dev-dependencies.async-std] version = "1.9" features = ["attributes"] [dev-dependencies.json-syntax] version = "0.12.5" [dev-dependencies.linked-data] version = "0.1.2" [dev-dependencies.rand_chacha] version = "0.3.1" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.ssi-claims] version = "0.1.1" features = [ "w3c", "ed25519", "secp256r1", "secp256k1", ] default-features = false [dev-dependencies.ssi-data-integrity] version = "0.1.1" default-features = false [dev-dependencies.ssi-jwk] version = "0.3" features = ["rsa"] default-features = false [dev-dependencies.ssi-verification-methods] version = "0.1.1" features = ["secp384r1"] default-features = false [dev-dependencies.ssi-verification-methods-core] version = "0.1.1" default-features = false [dev-dependencies.xsd-types] version = "0.9.5" [features] bbs = ["ssi-jwk/bbs"] default = [ "secp256k1", "secp256r1", ] secp256k1 = [ "k256", "ssi-jwk/secp256k1", ] secp256r1 = [ "p256", "ssi-jwk/secp256r1", ] secp384r1 = ["ssi-jwk/secp384r1"]