# 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" name = "ipp" version = "5.1.0" authors = ["Dmitry Pankratov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Asynchronous IPP print protocol implementation" documentation = "https://docs.rs/ipp" readme = "README.md" keywords = [ "ipp", "print", "cups", "printing", "protocol", ] license = "MIT/Apache-2.0" repository = "https://github.com/ancwrd1/ipp.rs" [lib] name = "ipp" path = "src/lib.rs" [dependencies.base64] version = "0.22" optional = true [dependencies.bytes] version = "1" [dependencies.enum-as-inner] version = "0.6" [dependencies.enum-primitive-derive] version = "0.3" [dependencies.futures-executor] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" features = ["io"] optional = true default-features = false [dependencies.http] version = "1" [dependencies.log] version = "0.4" [dependencies.native-tls] version = "0.2" optional = true [dependencies.num-traits] version = "0.2" [dependencies.once_cell] version = "1" optional = true [dependencies.reqwest] version = "0.12" features = ["stream"] optional = true default-features = false [dependencies.rustls] version = "0.23" features = [ "ring", "log", "tls12", "std", ] optional = true default-features = false [dependencies.rustls-native-certs] version = "0.8" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1" [dependencies.tokio-util] version = "0.7" features = [ "io", "compat", ] optional = true [dependencies.ureq] version = "2" optional = true default-features = false [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [features] async = [ "futures-util", "futures-executor", ] async-client = [ "async", "reqwest", "tokio-util", "base64", ] async-client-rustls = [ "async-client", "rustls", "reqwest/rustls-tls-native-roots", ] async-client-tls = [ "async-client", "native-tls", "reqwest/native-tls", ] client = [ "ureq", "base64", ] client-rustls = [ "client", "rustls", "rustls-native-certs", "once_cell", "ureq/tls", ] client-tls = [ "client", "native-tls", "ureq/native-tls", ] default = ["async-client-tls"] serde = [ "dep:serde", "bytes/serde", ]