# 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 = "driver-pal" version = "0.9.0" authors = ["Ryan Kurte "] description = "Rust embedded driver helper package" readme = "README.md" license = "MIT" repository = "https://github.com/ryankurte/rust-driver-pal" [dependencies.clap] version = "4.4.7" features = [ "derive", "env", ] optional = true [dependencies.driver-cp2130] version = "1.1.0" optional = true [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-bus] version = "0.1.0" [dependencies.libc] version = "0.2.54" optional = true [dependencies.linux-embedded-hal] version = "0.4" optional = true [dependencies.log] version = "0.4.6" [dependencies.serde] version = "1.0.91" features = ["derive"] optional = true [dependencies.simplelog] version = "0.12.2" optional = true [dependencies.toml] version = "0.8.12" optional = true [features] default = [ "mock", "hal", "hal-cp2130", "hal-linux", ] ffi = ["libc"] hal = [ "toml", "clap", "serde", "simplelog", ] hal-cp2130 = ["driver-cp2130"] hal-linux = ["linux-embedded-hal"] mock = [] utils = ["hal"]