# 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 = "linux-embedded-hal" version = "0.4.0" authors = [ "The Embedded Linux Team ", "Jorge Aparicio ", ] description = "Implementation of the `embedded-hal` traits for Linux devices" readme = "README.md" keywords = [ "Linux", "hal", ] categories = [ "embedded", "hardware-support", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-embedded/linux-embedded-hal" [dependencies.cast] version = "0.3" default-features = false [dependencies.embedded-hal] version = "1" [dependencies.embedded-hal-nb] version = "1" [dependencies.gpio-cdev] version = "0.6.0" optional = true [dependencies.i2cdev] version = "0.6.0" optional = true [dependencies.nb] version = "1" [dependencies.nix] version = "0.27.1" [dependencies.serialport] version = "4.2.0" default-features = false [dependencies.spidev] version = "0.6.0" optional = true [dependencies.sysfs_gpio] version = "0.6.1" optional = true [dev-dependencies.openpty] version = "0.2.0" [features] async-tokio = ["gpio-cdev/async-tokio"] default = [ "gpio_cdev", "gpio_sysfs", "i2c", "spi", ] gpio_cdev = ["gpio-cdev"] gpio_sysfs = ["sysfs_gpio"] i2c = ["i2cdev"] spi = ["spidev"]