# 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 = "try-drop" version = "0.2.0" description = "Batteries included error handling mechanisms for drops which can fail" keywords = ["drop", "error", "library", "batteries-included", "utilities"] categories = ["no-std", "rust-patterns"] license = "MIT" repository = "https://github.com/ALinuxPerson/try-drop" resolver = "2" [lib] doctest = false [dependencies.anyhow] version = "1.0.53" default-features = false [dependencies.downcast-rs] version = "1.2.0" optional = true default-features = false [dependencies.once_cell] version = "1.9.0" optional = true [dependencies.parking_lot] version = "0.12.0" optional = true [dependencies.rand] version = "0.8.4" features = ["std", "std_rng"] optional = true default-features = false [dependencies.shrinkwraprs] version = "0.3.0" optional = true default-features = false [dependencies.tokio] version = "1.16.1" features = ["sync", "rt"] optional = true default-features = false [dev-dependencies.rand] version = "0.8.4" features = ["std", "std_rng"] default-features = false [dev-dependencies.tokio] version = "1.16.1" features = ["rt-multi-thread"] default-features = false [features] __tests = ["std", "rand"] default = ["downcast-rs", "shrinkwraprs", "derives", "drop-strategies", "std-default"] derives = [] drop-strategies = ["ds-abort", "ds-broadcast", "ds-exit", "ds-write", "ds-once-cell", "std-drop-strategies"] ds-abort = ["std"] ds-adhoc = [] ds-adhoc-mut = ["ds-adhoc"] ds-broadcast = ["tokio", "std"] ds-exit = ["std"] ds-noop = [] ds-once-cell = ["std", "once_cell"] ds-panic = [] ds-unreachable = [] ds-unreachable-unsafe = ["ds-unreachable"] ds-write = ["std", "parking_lot"] global = ["std", "once_cell", "parking_lot"] std = ["anyhow/std", "downcast-rs/std"] std-default = ["std", "global", "std-drop-strategies", "thread-local"] std-drop-strategies = ["ds-noop", "ds-panic", "ds-adhoc-mut"] thread-local = ["std", "once_cell"]