# 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" rust-version = "1.77" name = "tor-error" version = "0.24.0" authors = ["Ian Jackson "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Provides the unified type-erased error type returned by many (esp. high-level) Tor APIs." homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", ] categories = ["rust-patterns"] license = "MIT OR Apache-2.0" repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [package.metadata.docs.rs] all-features = true [lib] name = "tor_error" path = "src/lib.rs" [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.futures] version = "0.3" optional = true [dependencies.once_cell] version = "1" [dependencies.paste] version = "1" [dependencies.retry-error] version = "0.6.0" [dependencies.static_assertions] version = "1" optional = true [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1.36" optional = true [dependencies.void] version = "1" [dev-dependencies.anyhow] version = "1.0.72" [dev-dependencies.tracing-test] version = "0.2.4" [features] __is_experimental = [] backtrace = [] default = [ "backtrace", "futures", ] experimental = [ "experimental-api", "rpc", ] experimental-api = [ "rpc", "__is_experimental", ] full = [ "backtrace", "futures", "tracing", "retry-error/full", ] rpc = ["__is_experimental"] tracing = [ "dep:tracing", "static_assertions", ]