[package] name = "docker-sdk" version = "0.1.2" description = "docker-sdk for rust-lang" documentation = "https://docs.rs/docker-sdk" keywords = ["docker-sdk", "unix", "docker", "docker-api", "docker-http"] license = "MIT OR Apache-2.0" edition = "2021" authors = ["annidie"] readme = "README.md" [dependencies] base64 = "0.13" byteorder = "1.4" bytes = "1.0" chrono = { version = "0.4", optional = true, features = ["serde"] } flate2 = "1.0" futures-util = "0.3" futures_codec = "0.4" hyper = { version = "0.14.20", features = ["client", "http1", "tcp", "stream"] } hyper-openssl = { version = "0.9.2", optional = true } # hyperlocal不兼容win,暂时去除 # hyperlocal = { version = "0.8", optional = true } log = "0.4" mime = "0.3" openssl = { version = "0.10", optional = true } pin-project = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tar = "0.4" tokio = "1.0" url = "2.1" paste = "1.0" [dev-dependencies] env_logger = "0.9.0" futures = "0.3.1" tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] } [features] # default = ["chrono", "unix-socket", "tls"] default = ["chrono", "tls"] # hyperlocal不兼容win,暂时去除 # unix-socket = ["hyperlocal"] unix-socket = [] tls = ["openssl", "hyper-openssl"] vendored-ssl = ["tls", "openssl/vendored"]