# 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"
rust-version = "1.90"
name = "aranet-types"
version = "0.1.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-agnostic types for Aranet environmental sensors"
readme = "README.md"
keywords = [
    "aranet",
    "ble",
    "bluetooth",
    "sensors",
    "iot",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT"
repository = "https://github.com/cameronrye/aranet"
resolver = "2"

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "time/serde",
]

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

[dependencies.bytes]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
    "serde",
]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.proptest]
version = "1.9.0"

[dev-dependencies.serde_json]
version = "1"
