# 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 = "2024"
name = "hcsr04"
version = "0.1.1"
authors = ["aittkx <aittkx@qq.com>"]
build = false
include = [
    "build.rs",
    "src/**/*",
    "Cargo.toml",
    "Cargo.lock",
    "LICENSE*",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A platform-agnostic, `no_std` driver for the HC-SR04 ultrasonic distance sensor"
documentation = "https://docs.rs/hcsr04"
readme = "README.md"
keywords = [
    "hc-sr04",
    "ultrasonic",
    "sensor",
    "driver",
    "embedded-hal-driver",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "GPL-3.0"
repository = "https://github.com/aittkx/embedded-drivers/tree/main/hcsr04"

[features]
default = []
defmt = ["dep:defmt"]

[lib]
name = "hcsr04"
path = "src/lib.rs"

[dependencies.bon]
version = "3.7.0"
default-features = false

[dependencies.defmt]
version = "1.0.1"
optional = true

[dependencies.embedded-hal]
version = "1.0.0"

[dependencies.embedded-hal-async]
version = "1.0.0"

[dev-dependencies]
