# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56.0" name = "clamav-client" version = "0.5.2" authors = ["Thorsten Blum "] build = false exclude = [ "clamd", ".github", ] autobins = false autoexamples = false autotests = false autobenches = false description = "ClamAV client library with optional Tokio and async-std support" homepage = "https://github.com/toblux/rust-clamav-client" documentation = "https://docs.rs/clamav-client" readme = "README.md" keywords = [ "clamav", "clamd", "anitvirus", "async", "tokio", ] license = "MIT" repository = "https://github.com/toblux/rust-clamav-client" [package.metadata.docs.rs] features = [ "tokio", "tokio-stream", "async-std", ] [lib] name = "clamav_client" path = "src/lib.rs" [[test]] name = "clamav_client" path = "tests/clamav_client.rs" [[test]] name = "clamav_client_deprecated" path = "tests/clamav_client_deprecated.rs" [dependencies.async-std] version = "1.12.0" optional = true [dependencies.async-trait] version = "0.1.77" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.tokio] version = "1.34.0" features = [ "fs", "io-util", "net", ] optional = true default-features = false [dependencies.tokio-stream] version = "0.1.14" optional = true default-features = false [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.tokio] version = "1.34.0" features = [ "io-std", "macros", "rt", ] [dev-dependencies.tokio-util] version = "0.7.10" features = ["io"] [features] async-std = [ "dep:async-trait", "dep:async-std", "dep:bytes", ] tokio = [ "dep:async-trait", "dep:tokio", ] tokio-stream = [ "tokio", "dep:tokio-stream", "dep:bytes", ]