# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "embedded-spi" version = "0.6.2" authors = ["Ryan Kurte "] description = "Rust embedded driver helper package (new releases at spi-hal)" license = "MIT" repository = "https://github.com/ryankurte/rust-spi-hal" [dependencies.driver-cp2130] version = "0.3.1" optional = true [dependencies.embedded-hal] version = "0.2.3" features = ["unproven"] [dependencies.libc] version = "0.2.54" optional = true [dependencies.linux-embedded-hal] version = "0.3.0" optional = true [dependencies.log] version = "0.4.6" [dependencies.serde] version = "1.0.91" features = ["derive"] optional = true [dependencies.simplelog] version = "0.5.3" optional = true [dependencies.structopt] version = "0.3.11" optional = true [dependencies.toml] version = "0.5.1" optional = true [features] default = ["mock", "hal", "hal-cp2130", "hal-linux"] ffi = ["libc"] hal = ["toml", "structopt", "serde", "simplelog"] hal-cp2130 = ["driver-cp2130"] hal-linux = ["linux-embedded-hal"] mock = [] utils = ["hal"]