# 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 = "ds1302-drv" version = "0.4.1" authors = ["Samuel Freeman "] build = false exclude = [ "/images", "DS1302.pdf", ] autobins = false autoexamples = false autotests = false autobenches = false description = " This Rust library provides an interface for interacting with ds1302 RTC using the rp2040-hal or rp235x-hal." documentation = "https://docs.rs/ds1302-drv" readme = "README.md" keywords = [ "ds1302", "RTC", "no_std", "RP2040", "RP2350", ] categories = [ "hardware-support", "no-std", "embedded", ] license = "MIT/Apache-2.0" repository = "https://github.com/sndnvaps/ds1302-drv" [lib] name = "ds1302_drv" path = "src/lib.rs" [dependencies.critical-section] version = "1.1" [dependencies.defmt] version = "0.3.8" [dependencies.embedded-hal] version = "1.0.0" [dependencies.fugit] version = "0.3.7" [dependencies.nb] version = "1.1.0" [dependencies.rp2040-hal] version = "0.10.2" features = [ "critical-section-impl", "rt", "defmt", ] optional = true [dependencies.rp235x-hal] version = "0.2.0" features = [ "binary-info", "critical-section-impl", "rt", "defmt", ] optional = true [features] default = ["rp2350"] rp2040 = ["dep:rp2040-hal"] rp2350 = ["dep:rp235x-hal"]