# 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.71.1" name = "devicemapper" version = "0.34.4" authors = ["Stratis Developers "] build = "build.rs" exclude = [ ".clippy.toml", ".githooks/*", ".gitignore", ".github/*", "Makefile", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A library for using Linux device mapper" documentation = "https://docs.rs/devicemapper/" readme = "README.md" keywords = [ "Linux", "device", "mapper", "libdm", "storage", ] categories = [ "os::linux-apis", "api-bindings", ] license = "MPL-2.0" repository = "https://github.com/stratis-storage/devicemapper-rs" [lib] name = "devicemapper" path = "src/lib.rs" [dependencies.bitflags] version = "2.3.3" [dependencies.devicemapper-sys] version = "0.3.0" [dependencies.env_logger] version = "0.11.0" [dependencies.log] version = "0.4.14" [dependencies.nix] version = "0.29.0" features = [ "fs", "ioctl", "mount", ] [dependencies.once_cell] version = "1.19.0" [dependencies.rand] version = "0.8.0" [dependencies.retry] version = "2.0.0" default-features = false [dependencies.semver] version = "1.0.0" [dependencies.serde] version = "1.0.60" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.libmount] version = "0.1.11" [dev-dependencies.loopdev-3] version = "0.5.0" [dev-dependencies.tempfile] version = "3.4.0" [dev-dependencies.uuid] version = "1.0.0" features = ["v4"] [build-dependencies.devicemapper-sys] version = "0.3.0" [build-dependencies.semver] version = "1.0.0" [lints.clippy.all] level = "deny" priority = 0 [lints.clippy.cargo] level = "deny" priority = 1 [lints.clippy.multiple-crate-versions] level = "allow" priority = 2 [lints.rust.future_incompatible] level = "deny" priority = 1 [lints.rust.nonstandard_style] level = "deny" priority = 4 [lints.rust.rust_2018_idioms] level = "deny" priority = 3 [lints.rust.unexpected_cfgs] level = "deny" priority = 0 check-cfg = [ "cfg(devicemapper41supported)", "cfg(devicemapper42supported)", "cfg(devicemapper437supported)", "cfg(devicemapper441supported)", "cfg(devicemapper46supported)", ] [lints.rust.unused] level = "deny" priority = 2 [lints.rust.warnings] level = "deny" priority = 0