40 lines
768 B
TOML
40 lines
768 B
TOML
[package]
|
|
name = "soft-serial"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies.ufmt]
|
|
version = "*"
|
|
optional = true
|
|
|
|
[dependencies.ring-buffer]
|
|
git = "https://gitea.doryan04.ru/doryan/ring-buffer"
|
|
optional = true
|
|
|
|
[dependencies.arduino-hal]
|
|
git = "https://github.com/rahix/avr-hal"
|
|
rev = "3e362624547462928a219c40f9ea8e3a64f21e5f"
|
|
|
|
[dependencies.static-pins]
|
|
git = "https://gitea.doryan04.ru/TheEmbeddedRust/static-pins"
|
|
|
|
[features]
|
|
sparkfun-promicro = ["arduino-hal/sparkfun-promicro", "static-pins/sparkfun-promicro"]
|
|
ring-buf = ["dep:ring-buffer"]
|
|
ufmt = ["dep:ufmt"]
|
|
|
|
[dependencies.avr-device]
|
|
version = "0.5.4"
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
debug = true
|
|
lto = true
|
|
opt-level = "s"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
opt-level = "s"
|