-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
34 lines (30 loc) · 1.31 KB
/
Cargo.toml
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
[package]
name = "clamav-client"
version = "0.5.2"
edition = "2021"
rust-version = "1.56.0"
authors = ["Thorsten Blum <thorsten.blum@toblux.com>"]
homepage = "https://github.com/toblux/rust-clamav-client"
repository = "https://github.com/toblux/rust-clamav-client"
documentation = "https://docs.rs/clamav-client"
description = "ClamAV client library with optional Tokio and async-std support"
readme = "README.md"
license = "MIT"
keywords = ["clamav", "clamd", "anitvirus", "async", "tokio"]
exclude = ["clamd", ".github"]
[dependencies]
tokio = { version = "1.34.0", default-features = false, features = ["fs", "io-util", "net"], optional = true }
tokio-stream = { version = "0.1.14", default-features = false, optional = true }
async-std = { version = "1.12.0", optional = true }
async-trait = { version = "0.1.77", optional = true }
bytes = { version = "1", optional = true }
[dev-dependencies]
tokio = { version = "1.34.0", features = ["io-std", "macros", "rt"] }
tokio-util = { version = "0.7.10", features = ["io"] }
async-std = { version = "1.12.0", features = ["attributes"] }
[features]
tokio = ["dep:async-trait", "dep:tokio"]
tokio-stream = ["tokio", "dep:tokio-stream", "dep:bytes"]
async-std = ["dep:async-trait", "dep:async-std", "dep:bytes"]
[package.metadata.docs.rs]
features = ["tokio", "tokio-stream", "async-std"]