[package] authors = ["Judge Maygarden "] description = "Serial Line Internet Protocol (SLIP) encoder/decoder" edition = "2018" license = "MIT" name = "slip-codec" repository = "https://github.com/jmaygarden/slip-codec" version = "0.4.0" [features] default = [] async-codec = ["asynchronous-codec", "bytes"] tokio-codec = ["bytes", "tokio-util"] [dependencies] asynchronous-codec = { version = "0.7", optional = true } bytes = { version = "1", optional = true } tokio-util = { version = "0.7", features = ["codec"], optional = true } [dev-dependencies] futures = "0.3" futures-sink = "0.3" serialport = "4" tokio = { version = "1", features = ["full"] } [[example]] name = "tokio-serial" required-features = ["tokio-codec"]