# 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 = "gihex-hc-sr04" version = "0.1.5" authors = ["yogiastawan"] description = "Library to access HC-SR04 ultrasonic sensor" readme = "README.md" keywords = [ "embedded-system", "HC-SR04", ] categories = [ "embedded", "no-std", ] license = "MIT" repository = "https://github.com/yogiastawan/gx_HCSR04" [package.metadata.docs.rs] features = [ "temperature", "humidity", ] [profile.release] opt-level = "z" lto = true [[example]] name = "use_rtic" required-features = [] [[example]] name = "basic" required-features = [] [[example]] name = "with_temperature" required-features = ["temperature"] [[example]] name = "with_humidity" required-features = ["humidity"] [dependencies.embedded-hal] version = "^0.2.7" features = ["unproven"] [dependencies.num-traits] version = "^0.2.15" default-features = false [dev-dependencies.cortex-m] version = "^0.7.7" features = ["critical-section-single-core"] [dev-dependencies.cortex-m-rt] version = "^0.7.3" [dev-dependencies.cortex-m-semihosting] version = "0.5.0" [dev-dependencies.fugit] version = "0.3.7" [dev-dependencies.panic-semihosting] version = "0.6.0" [dev-dependencies.rtic] version = "2.0.1" features = ["thumbv7-backend"] [dev-dependencies.stm32f1xx-hal] version = "^0.10.0" features = [ "stm32f103", "rt", "medium", ] [features] humidity = ["temperature"] temperature = []