[package]
edition = "2021"
name = "local_buf"
version = "0.1.1"
authors = ["share121 <me@s121.top>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "local_buf 是一个支持多线程异步的线程缓冲区"
homepage = "https://github.com/share121/local_buf"
readme = "README.md"
keywords = [
"buffer",
"threads",
]
categories = [
"asynchronous",
"concurrency",
]
license = "MIT"
repository = "https://github.com/share121/local_buf"
[features]
stats = []
tracing = ["dep:tracing"]
[lib]
name = "local_buf"
path = "src/lib.rs"
[dependencies.bytes]
version = "1.0"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1