# 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" name = "iowarrior-embedded-hal" version = "0.1.0" authors = ["Florian Porsch"] description = "A Rust library that provides access to the IOWarrior GPIO, I2C, PWM, SPI and ADC peripherals." readme = "README.md" keywords = [ "iowarrior", "iowkit", "embedded_hal", "embedded-hal-impl", "hal", ] categories = [ "embedded", "hardware-support", ] license = "MIT" repository = "https://github.com/Tederean/iowarrior-embedded-hal" [dependencies.embedded-hal] version = "1.0" [dependencies.embedded-hal-0] version = "0.2.7" features = ["unproven"] optional = true package = "embedded-hal" [dependencies.glob] version = "0.3" optional = true [dependencies.hidapi] version = "2.6" features = [ "windows-native", "linux-native", ] default-features = false [dependencies.iowkit-sys] version = "0.1" optional = true [dependencies.itertools] version = "0.13" optional = true [dependencies.libloading] version = "0.8" optional = true [dependencies.nix] version = "0.29" features = ["ioctl"] optional = true [dependencies.static_assertions] version = "1.1" optional = true [dependencies.thiserror] version = "1.0" [dependencies.windows] version = "0.58" features = ["Win32_Devices_HumanInterfaceDevice"] optional = true [features] default = ["iowkit"] embedded-hal-0 = ["dep:embedded-hal-0"] ioctrl = [ "dep:itertools", "dep:nix", "dep:glob", ] iowkit = [ "dep:libloading", "dep:iowkit-sys", "dep:static_assertions", ] usbhid = [ "dep:itertools", "dep:windows", ]