[package] name = "pangu-bollard" description = "An asynchronous Docker daemon API" version = "0.14.0" authors = [ "Bollard contributors" ] license = "Apache-2.0" homepage = "https://github.com/pangu-studio/bollard" repository = "https://github.com/pangu-studio/bollard" documentation = "https://docs.rs/pangu-studio" readme = "README.md" keywords = ["docker", "pangu", "pangu-studio","pangu_studio"] edition = "2021" [lib] name = "pangu_bollard" path = "src/lib.rs" [workspace] members = [ "codegen/swagger", "codegen/proto", "." ] [features] # Enable Buildkit-enabled docker image building buildkit = ["num", "rand", "tower", "tonic", "tower-service", "bollard-stubs/buildkit", "bollard-buildkit-proto"] # Enable tests specifically for the http connector test_http = [] # Enable tests specifically for rustls test_ssl = ["ssl"] # Enable tests specifically for macos test_macos = [] # Enable JSON payload in deserialization errors json_data_content = [] # Enable rustls / ssl ssl = ["home", "hyper-rustls", "rustls", "rustls-native-certs", "rustls-pemfile", "webpki", "webpki-roots"] ct_logs = ["ssl", "ct-logs"] chrono = ["dep:chrono", "bollard-stubs/chrono"] time = ["dep:time", "bollard-stubs/time"] [dependencies] base64 = "0.21" bollard-stubs = { path = "codegen/swagger", version = "=1.42.0-rc.8", default-features = false } bollard-buildkit-proto = { path = "codegen/proto", version = "=0.1.0", optional = true } bytes = "1" chrono = { version = "0.4", default-features = false, features = ["std", "clock", "serde"], optional = true } ct-logs = { version = "0.9.0", optional = true } home = { version = "0.5", optional = true } futures-core = "0.3" futures-util = "0.3" hex = "0.4.2" http = "0.2" hyper = { version = "0.14", features = ["client", "tcp", "http1", "http2", "stream"] } hyper-rustls = { version = "0.24", optional = true } log = "0.4" pin-project-lite = "0.2.8" num = { version = "0.4", optional = true } rand = { version = "0.8", optional = true } rustls = { version = "0.21", optional = true } rustls-native-certs = { version = "0.6.0", optional = true } rustls-pemfile = { version = "1.0", optional = true } serde = "1.0" serde_derive = "1.0" serde_json = "1.0" serde_repr = "0.1.6" serde_urlencoded = "0.7" tokio = { version = "1.7", features = ["time", "net", "io-util"] } tonic = { version = "0.9", optional = true } tower = { version = "0.4", optional = true } thiserror = "1.0" time = { version = "0.3", features = ["formatting", "parsing"], optional = true } tokio-util = { version = "0.7", features = ["codec"] } tower-service = { version = "0.3", optional = true } url = "2.2" webpki-roots = { version = "0.23", optional = true } webpki = { version = "0.22", optional = true } [dev-dependencies] flate2 = "1.0" tar = "0.4" tokio = { version = "1.7", features = ["fs", "rt-multi-thread", "macros"] } yup-hyper-mock = "6.0.0" [target.'cfg(unix)'.dependencies] hyperlocal = { version = "0.8.0" } [target.'cfg(unix)'.dev-dependencies] termion = "2.0" [target.'cfg(windows)'.dependencies] winapi = "0.3.9" [package.metadata.docs.rs] features = ["ssl"]