# 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 = "xdid-method-key" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "xdid implementation of did:key" readme = "README.md" keywords = ["did"] license = "MIT OR Apache-2.0" repository = "https://github.com/unavi-xyz/xdid" [lib] name = "xdid_method_key" path = "src/lib.rs" [dependencies.jose-jwk] version = "0.1.2" [dependencies.multibase] version = "0.9.1" [dependencies.p256] version = "0.13.2" features = ["jwk"] optional = true [dependencies.p384] version = "0.13.0" features = ["jwk"] optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.ring] version = "0.17.8" optional = true [dependencies.serde_json] version = "1.0.132" optional = true [dependencies.thiserror] version = "1.0.64" [dependencies.unsigned-varint] version = "0.8.0" [dependencies.xdid-core] version = "0.2.0" [features] default = [ "p256", "p384", ] p256 = [ "dep:p256", "dep:rand", "dep:ring", "dep:serde_json", ] p384 = [ "dep:p384", "dep:rand", "dep:ring", "dep:serde_json", ]