# 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" rust-version = "1.75" name = "bme280-rs" version = "0.3.0" authors = ["Claudio Mattera "] exclude = [ ".gitattributes", ".gitignore", ".drone.yml", ".pre-commit-config.yaml", "justfile", ] publish = true description = "A crate to query BME280 sensors over I²C" homepage = "https://gitlab.com/claudiomattera/bme280-rs" readme = "README.md" keywords = [ "async", "embedded-hal", "i2c", "sensor", ] categories = [ "asynchronous", "embedded", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/claudiomattera/bme280-rs" [[example]] name = "single" required-features = [ "blocking", "uom", ] [dependencies.embedded-hal] version = "1" optional = true default-features = false [dependencies.embedded-hal-async] version = "1" optional = true default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.uom] version = "0.36" features = [ "f32", "si", ] optional = true default-features = false [dev-dependencies.embedded-hal-mock] version = "0.11" features = [ "eh1", "embedded-hal-async", ] default-features = false [dev-dependencies.env_logger] version = "0.11" features = ["auto-color"] default-features = false [dev-dependencies.ftdi] version = "0.1" default-features = false [dev-dependencies.ftdi-embedded-hal] version = "0.22" features = [ "libftd2xx", "libftd2xx-static", ] default-features = false [features] async = ["dep:embedded-hal-async"] blocking = ["dep:embedded-hal"] default = [ "blocking", "async", ] uom = ["dep:uom"] [lints.clippy] alloc_instead_of_core = "deny" allow_attributes_without_reason = "deny" clone_on_ref_ptr = "deny" else_if_without_else = "deny" expect_used = "deny" format_push_string = "deny" if_then_some_else_none = "deny" incompatible_msrv = "deny" let_underscore_must_use = "deny" lossy_float_literal = "deny" missing_docs_in_private_items = "deny" missing_errors_doc = "deny" missing_panics_doc = "deny" panic = "deny" panic_in_result_fn = "deny" pattern_type_mismatch = "deny" rc_buffer = "deny" rc_mutex = "deny" rest_pat_in_fully_bound_structs = "deny" self_named_module_files = "deny" std_instead_of_alloc = "deny" std_instead_of_core = "deny" str_to_string = "deny" string_slice = "deny" string_to_string = "deny" todo = "deny" undocumented_unsafe_blocks = "deny" unimplemented = "deny" unreachable = "deny" unseparated_literal_suffix = "deny" unwrap_used = "deny" verbose_file_reads = "deny" [lints.clippy.cargo] level = "deny" priority = -1 [lints.clippy.pedantic] level = "deny" priority = -1 [lints.rust] missing_docs = "deny"