# 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 = "hcsr04_async" version = "0.2.0" authors = ["Rafael Koch "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A no-std driver for the HC-SR04 ultrasonic sensor using async and Embassy" documentation = "https://docs.rs/hcsr04_async" readme = "README.md" keywords = [ "async", "embassy", "embedded-hal", "hc-sr04", ] categories = [ "embedded", "no-std", "hardware-support", ] license = "MIT" repository = "https://github.com/1-rafael-1/hcsr04_async" [profile.bench] opt-level = "s" lto = "fat" codegen-units = 1 debug = 2 debug-assertions = false incremental = false [profile.dev] opt-level = 1 lto = "off" codegen-units = 1 debug = 2 debug-assertions = true overflow-checks = true incremental = false [profile.dev.build-override] opt-level = 0 codegen-units = 8 debug = 0 debug-assertions = false overflow-checks = false [profile.release] opt-level = "s" lto = "fat" codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false incremental = false [profile.release.build-override] opt-level = 0 codegen-units = 8 debug = 0 debug-assertions = false overflow-checks = false [profile.test] opt-level = "s" codegen-units = 1 debug = 2 debug-assertions = true overflow-checks = true incremental = false [lib] name = "hcsr04_async" path = "src/lib.rs" [dependencies.defmt] version = "0.3.8" [dependencies.embassy-time] version = "0.3.2" [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-async] version = "1.0.0" [dependencies.libm] version = "0.2.1" [dev-dependencies.critical-section] version = "1.1.3" [dev-dependencies.defmt] version = "0.3.8" [dev-dependencies.defmt-rtt] version = "0.4.1" [dev-dependencies.embassy-time] version = "0.3.0" [dev-dependencies.embedded-hal] version = "1.0.0" [dev-dependencies.embedded-hal-async] version = "1.0.0" [features] blocking_trigger = [] default = []