slipspeed 2.0.0

The fastest SLIP codec for Rust
Documentation
# 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 = "2021"
name = "slipspeed"
version = "2.0.0"
authors = ["Uli Köhler"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The fastest SLIP codec for Rust"
readme = "README.md"
keywords = [
    "slip",
    "serial",
    "codec",
    "stream",
]
categories = [
    "encoding",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/ulikoehler/slipspeed"

[features]
async-codec = [
    "dep:asynchronous-codec",
    "dep:bytes",
]
default = []
tokio-codec = [
    "dep:tokio-util",
    "dep:bytes",
]

[lib]
name = "slipspeed"
path = "src/lib.rs"

[[example]]
name = "async_codec"
path = "examples/async_codec.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "benchmark"
path = "examples/benchmark.rs"

[[example]]
name = "stream"
path = "examples/stream.rs"

[[example]]
name = "tokio_codec"
path = "examples/tokio_codec.rs"

[dependencies.asynchronous-codec]
version = "0.6"
optional = true

[dependencies.bytes]
version = "1"
optional = true

[dependencies.memchr]
version = "2"

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
optional = true

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "io-util",
]