# 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.63" name = "pathrs" version = "0.1.3" authors = ["Aleksa Sarai "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "C-friendly API to make path resolution safer on Linux." readme = "README.md" keywords = [ "file", "fs", "security", "linux", ] categories = ["filesystem"] license = "LGPL-3.0-or-later" repository = "https://github.com/openSUSE/libpathrs" [profile.release] lto = true [lib] name = "pathrs" crate-type = ["rlib"] path = "src/lib.rs" [[example]] name = "rust-cat" path = "examples/rust-cat/main.rs" [dependencies.bitflags] version = "^2" [dependencies.itertools] version = "^0.13" [dependencies.lazy_static] version = "^1" [dependencies.libc] version = "^0.2" [dependencies.memchr] version = "^2" [dependencies.open-enum] version = "=0.3.0" optional = true [dependencies.rand] version = "^0.8" optional = true [dependencies.rustix] version = "^0.38" features = ["fs"] [dependencies.thiserror] version = "^1" [dev-dependencies.anyhow] version = "^1" [dev-dependencies.clap] version = "^3" features = ["cargo"] [dev-dependencies.errno] version = "^0.3" [dev-dependencies.paste] version = "^1" [dev-dependencies.pretty_assertions] version = "^1" [dev-dependencies.rustix] version = "^0.38" features = ["process"] [dev-dependencies.tempfile] version = "^3" [features] _test_as_root = [] capi = [ "dep:rand", "dep:open-enum", ] [badges.maintenance] status = "experimental" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(coverage)", "cfg(cdylib)", "cfg(staticlib)", ]