[package]
edition = "2021"
rust-version = "1.88"
name = "actix-codec"
version = "0.5.3"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Codec utilities for working with framed protocols"
readme = false
keywords = [
"network",
"framework",
"async",
"futures",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/actix/actix-net"
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"bytes::*",
"futures_core::*",
"futures_sink::*",
"tokio::*",
"tokio_util::*",
]
[lib]
name = "actix_codec"
path = "src/lib.rs"
[[test]]
name = "test_framed_sink"
path = "tests/test_framed_sink.rs"
[[bench]]
name = "lines"
path = "benches/lines.rs"
harness = false
[dependencies.bitflags]
version = "2"
[dependencies.bytes]
version = "1"
[dependencies.futures-core]
version = "0.3.7"
default-features = false
[dependencies.futures-sink]
version = "0.3.7"
default-features = false
[dependencies.memchr]
version = "2.3"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.tokio]
version = "1.44.2"
[dependencies.tokio-util]
version = "0.7"
features = [
"codec",
"io",
]
[dependencies.tracing]
version = "0.1.30"
features = ["log"]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio-test]
version = "0.4.2"
[lints.clippy]
disallowed-names = "warn"
uninlined-format-args = "warn"
[lints.rust]
future-incompatible = "deny"
nonstandard-style = "deny"
rust-2018-idioms = "deny"
[lints.rust.missing-docs]
level = "warn"
priority = -1