veml7700 0.3.2

Platform-agnostic Rust driver for the VEML7700 High Accuracy Ambient Light Sensor
Documentation
# 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 = "veml7700"
version = "0.3.2"
authors = [
    "Diego Barrios Romero <eldruin@gmail.com>",
    "Boris Vinogradov <nisembedded@gmail.com>",
]
build = false
exclude = [
    "memory.x",
    ".cargo",
    "Embed.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-agnostic Rust driver for the VEML7700 High Accuracy Ambient Light Sensor"
documentation = "https://docs.rs/veml7700"
readme = "README.md"
keywords = [
    "als",
    "ambient",
    "light",
    "sensor",
    "embedded-hal-driver",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nisembedded/veml7700"

[features]
default = [
    "is_sync",
    "lux_as_f32",
]
is_sync = ["maybe-async/is_sync"]
lux_as_f32 = ["micromath"]
lux_as_u32 = []

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

[[example]]
name = "ambient_light"
path = "examples/ambient_light.rs"

[[example]]
name = "enable_power_saving_mode"
path = "examples/enable_power_saving_mode.rs"

[[example]]
name = "gain_integration_time"
path = "examples/gain_integration_time.rs"

[[example]]
name = "thresholds_faults_interrupts"
path = "examples/thresholds_faults_interrupts.rs"

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

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

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

[dependencies.micromath]
version = "2.0"
optional = true

[dev-dependencies.cortex-m]
version = "0.7.7"

[dev-dependencies.cortex-m-rt]
version = "0.7.3"

[dev-dependencies.panic-halt]
version = "0.2.0"

[dev-dependencies.rtt-target]
version = "0.6.1"

[dev-dependencies.stm32f4xx-hal]
version = "0.20.0"
features = ["stm32f401"]

[profile.release]
lto = true
codegen-units = 1
debug = 2
incremental = false