# 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 = "2018" name = "rmesg" version = "1.0.21" authors = ["Archis Gore "] description = """ This is a fully Rust-based implementation of the popular dmesg Linux utility, giving programmatic access to the kernel log buffer.""" readme = "README.md" keywords = [ "dmesg", "klogctl", "printk", "syslog", ] categories = [ "os", "command-line-utilities", ] license = "Apache-2.0" repository = "https://github.com/archisgore/rmesg" [package.metadata.cargo-all-features] skip_optional_dependencies = true [profile.dev] panic = "abort" [profile.release] lto = "fat" codegen-units = 1 panic = "abort" [lib] name = "rmesg" path = "src/lib.rs" [[bin]] name = "rmesg" path = "src/main.rs" required-features = ["async"] [[bench]] name = "benchmark" harness = false required-features = [ "sync", "async", ] [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "3.0.14" [dependencies.enum-display-derive] version = "0.1.1" [dependencies.errno] version = "0.2.8" [dependencies.futures] version = "0.3.19" optional = true [dependencies.futures-util] version = "0.3.19" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.libc] version = "0.2.112" [dependencies.nonblock] version = "0.1.0" [dependencies.num] version = "0.4.0" [dependencies.num-derive] version = "0.3.3" [dependencies.num-traits] version = "0.2.14" [dependencies.pin-project] version = "1.0.8" optional = true [dependencies.regex] version = "1.5.4" [dependencies.serde] version = "1.0.132" features = ["derive"] optional = true [dependencies.strum] version = "0.24.0" [dependencies.strum_macros] version = "0.24.0" [dependencies.tokio] version = "1.15.0" features = [ "rt", "fs", "io-util", "macros", "time", ] optional = true [dev-dependencies.criterion] version = "0.3.5" features = ["async_tokio"] [dev-dependencies.rand] version = "0.8.4" [dev-dependencies.tokio-stream] version = "0.1.8" [features] async = [ "futures", "futures-util", "tokio", "pin-project", ] default = ["async"] extra-traits = ["serde"] sync = []