# 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 = "ssd1309" version = "0.4.0" authors = [ "Anton Lazarev ", "James Waples ", ] exclude = [ "readme_banner.jpg", "docs", ] description = "`display-interface` compatible driver for the SSD1309 OLED display controller" documentation = "https://docs.rs/ssd1309" readme = "README.md" keywords = [ "no-std", "ssd1309", "oled", "embedded", "embedded-hal-driver", ] categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/antonok-edm/ssd1309" [package.metadata.docs.rs] targets = [ "thumbv7m-none-eabi", "thumbv7em-none-eabihf", ] [profile.dev] codegen-units = 1 incremental = false [profile.release] lto = true codegen-units = 1 debug = 2 [dependencies.display-interface] version = "^ 0.4" [dependencies.embedded-graphics-core] version = "^ 0.4" optional = true [dependencies.embedded-hal] version = "^ 0.2" [dev-dependencies.cortex-m] version = "^ 0.7" [dev-dependencies.cortex-m-rt] version = "^ 0.7" [dev-dependencies.display-interface-i2c] version = "^ 0.4" [dev-dependencies.display-interface-spi] version = "^ 0.4" [dev-dependencies.embedded-graphics] version = "^ 0.8" [dev-dependencies.panic-semihosting] version = "^ 0.6" [dev-dependencies.stm32f1xx-hal] version = "^ 0.10" features = [ "rt", "stm32f103", ] [features] default = ["graphics"] graphics = ["embedded-graphics-core"]