# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "slip-codec" version = "0.4.0" authors = ["Judge Maygarden "] description = "Serial Line Internet Protocol (SLIP) encoder/decoder" readme = "README.md" license = "MIT" repository = "https://github.com/jmaygarden/slip-codec" [[example]] name = "tokio-serial" required-features = ["tokio-codec"] [dependencies.asynchronous-codec] version = "0.7" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.tokio-util] version = "0.7" features = ["codec"] optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.futures-sink] version = "0.3" [dev-dependencies.serialport] version = "4" [dev-dependencies.tokio] version = "1" features = ["full"] [features] async-codec = [ "asynchronous-codec", "bytes", ] default = [] tokio-codec = [ "bytes", "tokio-util", ]