File: Cargo.toml

package info (click to toggle)
rust-io-timer 0.0.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 272 kB
  • sloc: makefile: 2; sh: 1
file content (44 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (3)
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"]