# 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 = "driver-cp2130" version = "1.1.0" authors = ["Ryan Kurte "] description = "libusb based driver for the CP2130 USB-SPI bridge by Silicon Labs" readme = "README.md" keywords = [ "driver", "cp2130", "usb", "spi", "embedded", ] license = "MPL-2.0" repository = "https://github.com/ryankurte/rust-driver-cp2130" [[bin]] name = "cp2130-util" path = "src/cli.rs" required-features = ["util"] [[example]] name = "cp2130-ssd1306" path = "examples/ssd1306.rs" required-features = ["examples"] [dependencies.bitflags] version = "1.2.1" [dependencies.byteorder] version = "1.3.2" [dependencies.clap] version = "4.4.7" features = [ "derive", "env", ] optional = true [dependencies.embedded-hal] version = "1.0.0" [dependencies.hex] version = "0.4.2" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.libc] version = "0.2.66" [dependencies.log] version = "0.4.8" [dependencies.rand] version = "0.8.0" optional = true [dependencies.rusb] version = "0.9.0" [dependencies.simplelog] version = "0.9.0" optional = true [dependencies.thiserror] version = "1.0.58" [dev-dependencies.embedded-graphics] version = "0.8.1" [dev-dependencies.linux-embedded-hal] version = "0.4.0" [dev-dependencies.ssd1306] version = "0.8.4" [features] default = ["util"] examples = [] util = [ "clap", "simplelog", "rand", "hex", ]