# 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 = "zram-generator" version = "1.2.1" authors = [ "Zbigniew Jędrzejewski-Szmek ", "Igor Raits ", "наб ", ] build = false exclude = [ "tests/07a-mount-point-excl", "tests/10-example", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Systemd unit generator for zram swap devices." homepage = "https://github.com/systemd/zram-generator" readme = "README.md" license = "MIT" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" [lib] name = "zram_generator" path = "src/lib.rs" [[bin]] name = "zram-generator" path = "src/main.rs" [[test]] name = "test_cases" path = "tests/test_cases.rs" [dependencies.anyhow] version = "1.0.12" [dependencies.clap] version = "4.5" features = [ "std", "cargo", "help", "error-context", ] default-features = false [dependencies.fasteval] version = "0.2" default-features = false [dependencies.liboverdrop] version = "0.1.0" [dependencies.log] version = "0.4" features = ["std"] [dependencies.rust-ini] version = ">=0.15, <0.19" [dev-dependencies.ctor] version = "0.2" [dev-dependencies.fs_extra] version = "1.3" [dev-dependencies.nix] version = ">=0.22, <0.24" [dev-dependencies.tempfile] version = "3"