# 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 = "2018" name = "opt300x" version = "1.0.0" authors = ["Diego Barrios Romero "] build = false include = [ "/**/*.rs", "/Cargo.toml", "/README.md", "/CHANGELOG.md", "/LICENSE-MIT", "/LICENSE-APACHE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Platform-agnostic Rust driver for the OPT300x ambient light sensors. Compatible with OPT3001, OPT3002, OPT3004, OPT3006 and OPT3007" homepage = "https://github.com/eldruin/opt300x-rs" documentation = "https://docs.rs/opt300x" readme = "README.md" keywords = [ "ambient", "light", "sensor", "als", "embedded-hal-driver", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/eldruin/opt300x-rs" [profile.release] lto = true [lib] name = "opt300x" path = "src/lib.rs" [[example]] name = "linux" path = "examples/linux.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "one_shot" path = "tests/one_shot.rs" [dependencies.embedded-hal] version = "1.0.0" [dependencies.nb] version = "1" [dev-dependencies.embedded-hal-mock] version = "0.10.0" features = ["eh1"] default-features = false [dev-dependencies.linux-embedded-hal] version = "0.4.0"