oled_async 0.2.1

Driver for various OLED display controllers. e.g. SH110x SSD130X works with embedded-graphics
Documentation
# 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 = "oled_async"
version = "0.2.1"
authors = [
    "James Waples <james@wapl.es>",
    "Corey Schuhen <cschuhen@gmail.com>",
]
build = "build.rs"
exclude = [
    ".travis.yml",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Driver for various OLED display controllers. e.g. SH110x SSD130X works with embedded-graphics"
documentation = "https://docs.rs/oled_async"
readme = "README.md"
keywords = [
    "no-std",
    "oled",
    "async",
    "sh11",
    "embedded-graphics",
]
categories = [
    "embedded",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cschuhen/oled_drivers"

[package.metadata.docs.rs]
targets = [
    "thumbv7m-none-eabi",
    "thumbv7em-none-eabihf",
]

[features]
default = ["graphics"]
embassy-stm32 = [
    "dep:embassy-time",
    "dep:embassy-stm32",
]
graphics = ["embedded-graphics-core"]
i2c = []
spi = []
stm32f1 = ["stm32f1xx-hal"]
stm32f4 = ["stm32f4xx-hal"]
stm32g4 = ["stm32g4xx-hal"]

[lib]
name = "oled_async"
path = "src/lib.rs"

[[example]]
name = "bsp"
path = "examples/bsp.rs"

[[example]]
name = "graphics"
path = "examples/graphics.rs"

[[example]]
name = "i2c"
path = "examples/i2c.rs"

[[example]]
name = "image"
path = "examples/image.rs"

[[example]]
name = "pixelsquare"
path = "examples/pixelsquare.rs"

[[example]]
name = "rotation"
path = "examples/rotation.rs"

[[example]]
name = "spi"
path = "examples/spi.rs"

[[example]]
name = "text"
path = "examples/text.rs"

[dependencies.defmt]
version = "0.3"

[dependencies.display-interface]
version = "^ 0.5"

[dependencies.embassy-stm32]
version = "0.1.0"
features = [
    "defmt",
    "time-driver-any",
    "stm32g431cb",
    "memory-x",
    "unstable-pac",
    "exti",
]
optional = true

[dependencies.embassy-time]
version = "0.3.0"
features = [
    "defmt",
    "tick-hz-32_768",
]
optional = true

[dependencies.embedded-graphics-core]
version = "0.4"
optional = true

[dependencies.embedded-hal]
version = "1.0.0"

[dependencies.stm32f1xx-hal]
version = "0.7.0"
features = [
    "rt",
    "stm32f103",
]
optional = true

[dependencies.stm32f4xx-hal]
version = "0.9"
features = [
    "rt",
    "stm32f405",
]
optional = true

[dependencies.stm32g4xx-hal]
version = "0.0.1"
features = [
    "rt",
    "stm32g431",
]
optional = true

[dev-dependencies.cortex-m]
version = "0.7.6"
features = ["critical-section-single-core"]

[dev-dependencies.cortex-m-rt]
version = "0.6.10"

[dev-dependencies.cortex-m-rtic]
version = "0.5.9"

[dev-dependencies.defmt]
version = "0.3"

[dev-dependencies.defmt-rtt]
version = "0.4"

[dev-dependencies.display-interface-i2c]
version = "^ 0.5"

[dev-dependencies.display-interface-spi]
version = "^ 0.5"

[dev-dependencies.embassy-executor]
version = "0.5.0"
features = [
    "defmt",
    "arch-cortex-m",
    "executor-thread",
    "integrated-timers",
    "task-arena-size-8192",
]

[dev-dependencies.embedded-graphics]
version = "0.8"

[dev-dependencies.embedded-hal-async]
version = "1.0"

[dev-dependencies.embedded-hal-bus]
version = "0.1"
features = ["async"]

[dev-dependencies.heapless]
version = "0.7.10"

[dev-dependencies.panic-probe]
version = "0.3.1"
features = ["print-defmt"]

[dev-dependencies.panic-semihosting]
version = "0.5.2"

[profile.dev]
codegen-units = 1
incremental = false

[profile.release]
lto = true
codegen-units = 1
debug = 2