File: Cargo.toml.orig

package info (click to toggle)
rust-countio 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 204 kB
  • sloc: makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,418 bytes parent folder | download
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
45
46
# https://doc.rust-lang.org/cargo/reference/manifest.html

[package]
name = "countio"
version = "0.3.0"
readme = "./README.md"

edition = "2024"
rust-version = "1.85"
authors = ["Oleh Martsokha <o.martsokha@gmail.com>"]
license = "MIT"

repository = "https://github.com/spire-rs/countio"
homepage = "https://github.com/spire-rs/countio"
documentation = "https://docs.rs/countio"
categories = ["parsing", "asynchronous"]
keywords = ["byte", "tokio", "futures", "parsing"]
description = """
Byte counting for std::io::{Read, Write, Seek} and
its async variants from futures and tokio.
"""

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["std"]
## Enables all features.
full = ["std", "tokio", "futures"]

## Enables `std::io::{Read, Write, Seek}` support.
std = []
## Enables `tokio::io::{AsyncRead, AsyncWrite, AsyncSeek}` support.
tokio = ["dep:tokio"]
## Enables `futures_io::{AsyncRead, AsyncWrite, AsyncSeek}` support.
futures = ["dep:futures-io"]

[dependencies]
tokio = { version = "1", default-features = false, optional = true }
futures-io = { version = "0.3", default-features = false, optional = true, features = ["std"] }

[dev-dependencies]
tokio = { version = "1", features = ["rt", "macros", "io-util"] }
futures-util = { version = "0.3", default-features = false }
futures-test = { version = "0.3", default-features = false, features = ["std"] }