# 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.70" name = "gpiocdev-cli" version = "0.5.4" authors = ["Kent Gibson "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A tool to access GPIO lines on Linux using the GPIO character device" readme = "README.md" keywords = [ "linux", "gpio", "gpiochip", "cli", "chardev", ] categories = [ "hardware-support", "command-line-utilities", "embedded", "os::linux-apis", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/warthog618/gpiocdev-rs" [[bin]] name = "gpiocdev" path = "src/main.rs" [dependencies.anyhow] version = "1.0" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4" features = [ "derive", "env", "cargo", ] [dependencies.daemonize] version = "0.5" [dependencies.gpiocdev] version = "0.7" default-features = false [dependencies.libc] version = "0.2" [dependencies.mio] version = "0.8" features = ["os-ext"] [dependencies.rustyline] version = "14.0.0" [dependencies.rustyline-derive] version = "0.10.0" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [features] default = [ "uapi_v1", "uapi_v2", "json", ] json = [ "serde", "dep:serde_json", ] serde = [ "dep:serde", "dep:serde_derive", "gpiocdev/serde", ] uapi_v1 = ["gpiocdev/uapi_v1"] uapi_v2 = ["gpiocdev/uapi_v2"]