-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (35 loc) · 1.4 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
[package]
name = "mx25r"
version = "0.1.0"
edition = "2021"
authors = ["xgroleau <[email protected]>"]
repository = "https://github.com/xgroleau/mx25r-rs"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/xgroleau/mx25r-rs"
description = "Platform-agnostic Rust driver for the macronix MX25R NOR flash."
documentation = "https://docs.rs/mx25r"
readme = "README.md"
keywords = ["nor-flash", "spi", "driver", "embedded-hal-driver"]
categories = ["embedded", "hardware-support", "no-std"]
exclude = [
"flake.nix",
"flake.lock",
".envrc",
]
[dependencies]
# TODO: Migrate to embedded-hal repo
embedded-hal = { version = "1.0.0-alpha.7", git = "https://github.com/embassy-rs/embedded-hal", branch = "embassy2" }
embedded-hal-async = { version = "0.0.1", git = "https://github.com/embassy-rs/embedded-hal", branch = "embassy2" }
bit = "0.1.1"
defmt = { version = "0.3", optional = true }
embedded-storage = "0.3.0"
[dev-dependencies]
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
embassy = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy", features = ["defmt", "nightly", "unstable-traits"] }
embassy-nrf = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-traits", "nightly"] }
defmt = "0.3"
defmt-rtt = "0.3"
panic-probe = { version = "0.3", features = ["print-defmt"] }
[profile.release]
lto = true