# 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 = "webfinger-rs" version = "0.0.12" authors = ["Josh McKinney"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A WebFinger client and library written in Rust." documentation = "https://docs.rs/webfinger-rs" readme = "README.md" keywords = [ "webfinger", "client", "library", "rust", "cli", ] license = "MIT OR Apache-2.0" repository = "https://github.com/joshka/webfinger-rs" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "webfinger_rs" path = "src/lib.rs" [[example]] name = "actix" path = "examples/actix.rs" required-features = ["actix"] [[example]] name = "axum" path = "examples/axum.rs" doc-scrape-examples = true required-features = ["axum"] [[example]] name = "client" path = "examples/client.rs" required-features = ["reqwest"] [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.async-convert] version = "1.0.0" [dependencies.axum] version = "0.7.7" features = ["json"] optional = true default-features = false [dependencies.axum-extra] version = "0.9.4" features = ["query"] optional = true [dependencies.document-features] version = "0.2.10" [dependencies.http] version = "1.1.0" [dependencies.nutype] version = "0.5.0" features = ["serde"] [dependencies.percent-encoding] version = "2.3.1" [dependencies.reqwest] version = "0.12.8" features = ["json"] optional = true [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_json] version = "1.0.128" [dependencies.serde_with] version = "3.11.0" [dependencies.thiserror] version = "1.0.64" [dependencies.tracing] version = "0.1.40" [dev-dependencies.actix-tls] version = "3.4.0" features = ["rustls-0_23"] [dev-dependencies.actix-web] version = "4.9.0" features = ["rustls-0_23"] [dev-dependencies.axum] version = "0.7.7" default-features = true [dev-dependencies.axum-server] version = "0.7.1" features = ["tls-rustls"] [dev-dependencies.color-eyre] version = "0.6.3" [dev-dependencies.http-body-util] version = "0.1.2" [dev-dependencies.rcgen] version = "0.13.1" [dev-dependencies.rustls] version = "0.23.15" [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tower] version = "0.5.1" [dev-dependencies.tower-http] version = "0.6.1" features = ["trace"] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] actix = ["dep:actix-web"] axum = [ "dep:axum", "dep:axum-extra", ] default = [] reqwest = ["dep:reqwest"]