# 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 = "dwn" version = "0.0.10" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust implementation of a Decentralized Web Node." readme = "README.md" keywords = [ "did", "dwn", ] license = "MIT OR Apache-2.0" repository = "https://github.com/unavi-xyz/dwn" [lib] name = "dwn" path = "src/lib.rs" [[test]] name = "encrypt" path = "tests/encrypt.rs" [[test]] name = "protocols_query" path = "tests/protocols_query.rs" [[test]] name = "publish" path = "tests/publish.rs" [[test]] name = "query" path = "tests/query.rs" [[test]] name = "records" path = "tests/records.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.aes-gcm] version = "0.10.3" [dependencies.anyhow] version = "1.0.82" [dependencies.base64] version = "0.22.0" [dependencies.did-method-key] version = "0.2.2" [dependencies.didkit] version = "0.6.0" features = ["ed25519"] default-features = false [dependencies.jsonschema] version = "0.20.0" features = [ "draft201909", "draft202012", ] default-features = false [dependencies.libipld] version = "0.16.0" features = ["serde-codec"] [dependencies.libipld-cbor] version = "0.16.0" [dependencies.libipld-core] version = "0.16.0" features = [ "serde", "serde-codec", "multibase", ] [dependencies.reqwest] version = "0.12.4" features = [ "rustls-tls", "charset", "http2", "macos-system-configuration", "json", ] default-features = false [dependencies.rust-s3] version = "0.35.1" optional = true [dependencies.semver] version = "1.0.22" features = ["serde"] [dependencies.serde] version = "1.0.198" features = ["derive"] [dependencies.serde_ipld_dagcbor] version = "0.6.0" [dependencies.serde_json] version = "1.0.116" [dependencies.surrealdb] version = "2.0.2" optional = true default-features = false [dependencies.thiserror] version = "1.0.59" [dependencies.tokio] version = "1.40.0" optional = true [dependencies.tracing] version = "0.1.40" [dev-dependencies.surrealdb] version = "2.0.2" features = ["kv-mem"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies.tracing-test] version = "0.2.4" [features] default = ["surrealdb"] s3 = ["dep:rust-s3"] surrealdb = [ "dep:surrealdb", "dep:tokio", ] [target.'cfg(not(target_family = "wasm"))'.dependencies.time] version = "0.3.31" features = ["serde-well-known"] [target.'cfg(target_family = "wasm")'.dependencies.time] version = "0.3.36" features = [ "serde-well-known", "wasm-bindgen", ]