feat: added cargo.toml metadata
This commit is contained in:
13
Cargo.toml
13
Cargo.toml
@@ -2,6 +2,19 @@
|
|||||||
name = "teewriter"
|
name = "teewriter"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
repository = "https://git.darksailor.dev/servius/teewriter"
|
||||||
|
license = "MIT"
|
||||||
|
description = "A library to write to multiple writers simultaneously"
|
||||||
|
keywords = [
|
||||||
|
"tee",
|
||||||
|
"writer",
|
||||||
|
"io",
|
||||||
|
"async",
|
||||||
|
"sync",
|
||||||
|
"teewriter",
|
||||||
|
"tokio",
|
||||||
|
"futures",
|
||||||
|
]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
//! Utilities for working with sync and async tee writers
|
//! Utilities for working with sync and async tee writers
|
||||||
//! This crate provides implementations for creating tee writers that can write to two or more underlying writers simultaneously.
|
//! This crate provides implementations for creating tee writers that can write to two or more underlying writers simultaneously.
|
||||||
|
//! It supports both synchronous writers (implementing `std::io::Write`) and asynchronous writers (implementing `tokio::io::AsyncWrite` or `futures::io::AsyncWrite`).
|
||||||
//!
|
//!
|
||||||
//! # Example with std::io::Write
|
//! # Example with std::io::Write
|
||||||
//! #[cfg(feature = "io-std")]
|
//! #[cfg(feature = "io-std")]
|
||||||
|
|||||||
Reference in New Issue
Block a user