diff --git a/Cargo.toml b/Cargo.toml index 2e6f238..4047dd0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"