feat: initial commit
This commit is contained in:
31
Cargo.toml
Normal file
31
Cargo.toml
Normal 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"]
|
||||
Reference in New Issue
Block a user