# 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" rust-version = "1.73" name = "phidget" version = "0.2.0" authors = [ "Frank Pagliughi ", "wlwatkins ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Phidget library for Rust. """ readme = "README.md" keywords = ["embedded"] categories = [ "embedded", "hardware-support", "science::robotics", ] license = "MIT" repository = "https://github.com/fpagliughi/phidget-rs" [lib] name = "phidget" path = "src/lib.rs" [[bin]] name = "phidget" path = "src/bin/phidget.rs" required-features = ["utils"] [[example]] name = "digital_in" path = "examples/digital_in.rs" [[example]] name = "humidity" path = "examples/humidity.rs" [[example]] name = "servermon" path = "examples/servermon.rs" [[example]] name = "stepper" path = "examples/stepper.rs" [[example]] name = "temperature" path = "examples/temperature.rs" [[example]] name = "voltage_in" path = "examples/voltage_in.rs" [[example]] name = "voltage_in_ratio" path = "examples/voltage_in_ratio.rs" [dependencies.anyhow] version = "1.0" optional = true [dependencies.clap] version = "3.2" optional = true [dependencies.ctrlc] version = "3.2" features = ["termination"] optional = true [dependencies.phidget-sys] version = "0.1" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.clap] version = "3.2" [dev-dependencies.ctrlc] version = "3.2" features = ["termination"] [features] default = ["utils"] utils = [ "anyhow", "clap", "ctrlc", ]