1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
[package]
name = "io-timer"
description = "Set of I/O-free coroutines to manage timers"
version = "0.0.1"
authors = ["soywod <clement.douin@posteo.net>"]
edition = "2021"
license = "MIT"
categories = ["api-bindings"]
keywords = ["io-free", "coroutine", "timer", "stream", "pomodoro"]
homepage = "https://pimalaya.org"
documentation = "https://docs.rs/io-timer/latest/io_timer"
repository = "https://github.com/pimalaya/io-timer"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
client = []
server = []
[dev-dependencies]
env_logger = "0.11"
io-stream = { version = "0.0.2", default-features = false, features = ["std", "tokio"] }
mock_instant = "0.6"
tempfile = "3"
tokio = { version = "1", features = ["full"] }
[dependencies]
io-stream = { version = "0.0.2", default-features = false }
log = "0.4"
memchr = "2.7"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
[[example]]
name = "std-tcp"
required-features = ["client", "server"]
[[example]]
name = "tokio-unix"
required-features = ["client", "server"]
|