[package] authors = ["w3irdrobot "] categories = ["embedded", "hardware-support", "no-std"] description = "Platform-agnostic Rust driver for the Maxim DS4432 Dual-Channel, I2C, 7-Bit Sink/Source Current Digital To Analog (DAC) converter." documentation = "https://docs.rs/ds4432" edition = "2021" keywords = ["no-std", "embedded-hal-driver", "dac"] license = " AGPL-3.0-only" name = "ds4432" repository = "https://github.com/w3irdrobot/ds4432" rust-version = "1.71.1" version = "0.2.1" [dependencies] defmt = { version = "0.3", optional = true } embedded-hal = { version = "1.0", optional = true } embedded-hal-async = { version = "1.0", optional = true } log = { version = "0.4", optional = true } maybe-async-cfg = "0.2" [features] async = ["dep:embedded-hal-async"] core-error = [] # bump MSRV to 1.81.0 default = ["sync"] defmt-03 = ["dep:defmt"] not-recommended-rfs = [] sync = ["dep:embedded-hal"] [dev-dependencies] embedded-hal-mock = { version = "0.11.1", default-features = false, features = [ "eh1", ] }