-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
43 lines (38 loc) · 1.39 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "w25q32jv"
version = "0.4.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "An embedded-hal driver for the W25Q32JV"
homepage = "https://github.com/tweedegolf/w25q32jv"
repository = "https://github.com/tweedegolf/w25q32jv"
readme = "README.md"
keywords = ["no_std", "embedded", "flash", "w25q32jv"]
authors = [
"Janno Onink",
"Dion Dokter",
"Henk Dieter Oordt"
]
[dependencies]
embedded-hal = "1.0.0"
embedded-storage = "0.3.0"
embedded-hal-async = { version = "1.0.0", optional = true }
embedded-storage-async = { version = "0.4.0", optional = true }
defmt = { version = "0.3", optional = true }
[features]
default = ["readback-check", "async"]
async = ["dep:embedded-hal-async", "dep:embedded-storage-async"]
defmt = ["dep:defmt"]
readback-check = []
[dev-dependencies]
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.3"
embedded-hal-bus = { version = "0.1.0", features = ["async"] }
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", rev = "38a9271", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers"] }
embassy-nrf = { git = "https://github.com/embassy-rs/embassy.git", rev = "38a9271", features = ["nrf9160-s", "unstable-pac", "time-driver-rtc1", "time"] }
[[example]]
name = "erase-write-read"
required-features = ["async"]
[profile.release]
debug = true
lto = true