# 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.65" name = "singlefile" version = "0.2.2" authors = ["ScottyThePilot "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Dead simple file data manipulation." documentation = "https://docs.rs/singlefile" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/ScottyThePilot/singlefile" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "singlefile" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" [[test]] name = "containers" path = "tests/containers.rs" [dependencies.fs4] version = "0.9.1" [dependencies.parking_lot] version = "0.12" features = ["arc_lock"] optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = ["rt"] optional = true [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tempfile] version = "3.8" [features] deadlock-detection = ["parking_lot?/deadlock_detection"] default = ["tokio-parking-lot"] shared = [ "dep:parking_lot", "tokio?/parking_lot", ] shared-async = [ "dep:tokio", "tokio?/sync", ] tokio-parking-lot = ["tokio?/parking_lot"]