[package] authors = ["Finomnis "] name = "st7565" edition = "2018" rust-version = "1.75" version = "0.6.0" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/Finomnis/st7565" description = "Driver for ST7565 based displays." keywords = ["no-std", "st7565", "lcd", "embedded", "embedded-hal-driver"] categories = ["embedded", "no-std"] exclude = [ "/.gitignore", "/.github/", "/.vscode/", "/TODO.txt", "/UPCOMING_VERSION_CHANGES.txt", ] [lib] # Disable this to make the x86_64 tests compile. # This breaks the on-target tests. # Sadly, this is not configurable via `cfg()` yet. harness = false [dependencies] display-interface = "0.5.0" embedded-hal = "1.0.0" embedded-graphics-core = "0.4.0" [dev-dependencies] embedded-graphics = "0.8.0" noop-attr = "0.1.0" [target.'cfg(all(target_arch = "arm", target_os = "none"))'.dev-dependencies] cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] } cortex-m-rt = "0.7.0" defmt = "0.3.0" defmt-rtt = "0.4.0" defmt-test = "0.3.0" panic-probe = { version = "0.3.0", features = ["print-defmt"] } nrf52840-hal = "0.18.0" display-interface-spi = "0.5.0" embedded-hal-bus = "0.2.0" # cargo build/run [profile.dev] codegen-units = 1 debug = 2 debug-assertions = true # <- incremental = false opt-level = 3 # <- overflow-checks = true # <- # cargo test [profile.test] codegen-units = 1 debug = 2 debug-assertions = true # <- incremental = false opt-level = 3 # <- overflow-checks = true # <- # cargo build/run --release [profile.release] codegen-units = 1 debug = 2 debug-assertions = false # <- incremental = false # NOTE disabled to work around issue rust-lang/rust#90357 # the bug results in log messages not having location information # (the line printed below the log message that contains the file-line location) # lto = 'fat' opt-level = 3 # <- overflow-checks = false # <- # cargo test --release [profile.bench] codegen-units = 1 debug = 2 debug-assertions = false # <- incremental = false # see comment in the profile.release section lto = false opt-level = 3 # <- overflow-checks = false # <-