[package] name = "tor-error" version = "0.5.3" authors = ["Ian Jackson "] edition = "2021" rust-version = "1.65" license = "MIT OR Apache-2.0" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs." keywords = ["tor", "arti"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" categories = ["rust-patterns"] [features] default = ["backtrace"] full = ["backtrace", "tracing", "retry-error/full"] experimental = ["experimental-api", "rpc"] experimental-api = ["rpc", "__is_experimental"] rpc = ["__is_experimental"] tracing = ["dep:tracing", "static_assertions"] __is_experimental = [] [dependencies] backtrace = { version = "0.3.68", optional = true } derive_more = "0.99.3" futures = "0.3" once_cell = "1" paste = "1" retry-error = { path = "../retry-error", version = "0.5.0" } # WRONG should be 0.4.3 static_assertions = { version = "1", optional = true } strum = { version = "0.25", features = ["derive"] } thiserror = "1" tracing = { version = "0.1.36", optional = true } [dev-dependencies] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]