# 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 = "as6221"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AS6221 digital temperature sensor driver (sync + async, no_std)"
readme = "README.md"
keywords = [
    "as6221",
    "temperature",
    "i2c",
    "embedded-hal",
    "no_std",
]
categories = [
    "embedded",
    "no-std",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/beeelias/as6221"

[features]
_sync = ["maybe-async/is_sync"]
async = ["dep:embedded-hal-async"]
default = ["_sync"]
defmt = ["dep:defmt"]
log = ["dep:log"]

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

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

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

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

[dependencies.log]
version = "0.4"
optional = true

[dependencies.maybe-async]
version = "0.2"
