feat: add RingBuffer as crate feature

This commit is contained in:
doryan 2025-08-10 20:57:55 +04:00
parent ca54784e64
commit 2efee051ff

View File

@ -3,6 +3,9 @@ name = "soft-serial"
version = "0.1.0"
edition = "2021"
[dependencies.ring-buffer]
git = "https://gitea.doryan04.ru/doryan/ring-buffer"
[dependencies.arduino-hal]
git = "https://github.com/rahix/avr-hal"
rev = "3e362624547462928a219c40f9ea8e3a64f21e5f"
@ -12,6 +15,7 @@ git = "https://gitea.doryan04.ru/TheEmbeddedRust/static-pins"
[features]
sparkfun-promicro = ["arduino-hal/sparkfun-promicro", "static-pins/sparkfun-promicro"]
ring-buffer = ["dep:ring-buffer"]
[dependencies.avr-device]
version = "0.5.4"