[package] name = "ddoresolver-rs" version = "0.4.5" documentation = "https://docs.rs/ddoresolver-rs" description = "function to resolve did document from url" license = "Apache-2.0" repository = "https://github.com/jolocom/ddoresolver-rs" readme = "README.md" authors = ["Ivan Temchenko <35359595i@gmail.com>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] thiserror = "1.0" did-key = { version = "0.0.15", optional = true } keri = { version = "=0.8.1", optional = true } ipfs-api = { version = "0.13.0", features = ["with-hyper"], optional = true } web3 = { version = "0.17.0", default-features = false, features = ["http-rustls-tls", "http", "http-tls"], optional = true } hex = { version = "0.4.3", optional = true } regex = "1" serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } base58 = "0.2.0" base64-url = "1.4.9" tokio = { version = "1.9", features = ["macros", "rt-multi-thread"], optional = true } lazy_static = "1.4.0" tempfile = "3.1" # accumulator-rs = { git = "https://github.com/mikelodder7/accumulator-rs/", branch = "master" } [dev-dependencies] x25519-dalek = "1.1.0" [features] default = ["didkey", "keriox"] all = ["didkey", "keriox"] didkey = ["did-key"] keriox = ["keri"] jolo = ["ipfs-api", "web3", "hex", "tokio"] registrar = []