feat: initial commit
Some checks failed
build / checks-matrix (push) Has been cancelled
build / checks-build (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-12-05 16:14:06 +05:30
commit 5d9f4d5e0a
15 changed files with 1110 additions and 0 deletions

31
Cargo.toml Normal file
View File

@@ -0,0 +1,31 @@
[package]
name = "teewriter"
version = "0.1.0"
edition = "2024"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
futures = { version = "0.3.31", optional = true }
tokio = { version = "1.48.0", features = [
"io-std",
"io-util",
], optional = true }
[dev-dependencies]
futures = "0.3.31"
tokio = { version = "1.48.0", features = [
"rt",
"macros",
"io-util",
"io-std",
"rt-multi-thread",
] }
[features]
tokio = ["dep:tokio"] # Enables tokio::io AsyncRead / AsyncWrite support
futures = ["dep:futures"] # Enables futures::io AsyncRead / AsyncWrite support
io-std = [] # Enables std::io Read / Write support
default = ["tokio", "io-std"]