[package]
edition = "2021"
rust-version = "1.89.0"
name = "docker-wrapper"
version = "0.11.0"
authors = ["Josh Rotenberg <joshrotenberg@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Docker CLI wrapper for Rust"
homepage = "https://github.com/joshrotenberg/docker-wrapper"
documentation = "https://docs.rs/docker-wrapper"
readme = "README.md"
keywords = [
"docker",
"containers",
"cli",
"wrapper",
]
categories = [
"development-tools",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/docker-wrapper"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
compose = []
default = [
"compose",
"swarm",
"manifest",
]
manifest = []
swarm = []
template-mongodb = ["reqwest"]
template-mysql = ["reqwest"]
template-nginx = ["reqwest"]
template-postgres = ["reqwest"]
template-redis = ["reqwest"]
template-redis-cluster = ["reqwest"]
template-redis-enterprise = ["reqwest"]
template-redis-sentinel = ["template-redis"]
template-redis-stack = ["template-redis"]
templates = [
"template-redis",
"template-redis-cluster",
"template-redis-enterprise",
"template-postgres",
"template-mysql",
"template-mongodb",
"template-nginx",
]
testing = ["template-redis"]
[lib]
name = "docker_wrapper"
path = "src/lib.rs"
[[example]]
name = "basic_docker_patterns"
path = "examples/basic_docker_patterns.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "complete_run_coverage"
path = "examples/complete_run_coverage.rs"
[[example]]
name = "debugging_features"
path = "examples/debugging_features.rs"
[[example]]
name = "docker_compose"
path = "examples/docker_compose.rs"
[[example]]
name = "exec_examples"
path = "examples/exec_examples.rs"
[[example]]
name = "init_command"
path = "examples/init_command.rs"
[[example]]
name = "lifecycle_commands"
path = "examples/lifecycle_commands.rs"
[[example]]
name = "network_volume_management"
path = "examples/network_volume_management.rs"
[[example]]
name = "port_mapping_example"
path = "examples/port_mapping_example.rs"
[[example]]
name = "redis_cluster"
path = "examples/redis_cluster.rs"
required-features = ["template-redis-cluster"]
[[example]]
name = "redis_enterprise_template"
path = "examples/redis_enterprise_template.rs"
required-features = ["template-redis-enterprise"]
[[example]]
name = "run_examples"
path = "examples/run_examples.rs"
[[example]]
name = "streaming"
path = "examples/streaming.rs"
[[example]]
name = "system_cleanup"
path = "examples/system_cleanup.rs"
[[example]]
name = "template_showcase"
path = "examples/template_showcase.rs"
[[example]]
name = "template_usage"
path = "examples/template_usage.rs"
required-features = ["templates"]
[[example]]
name = "test_fixtures"
path = "examples/test_fixtures.rs"
[[example]]
name = "test_sentinel"
path = "examples/test_sentinel.rs"
required-features = ["template-redis"]
[[example]]
name = "testing_basics"
path = "examples/testing_basics.rs"
[[example]]
name = "testing_utilities"
path = "examples/testing_utilities.rs"
[[test]]
name = "bake_integration"
path = "tests/bake_integration.rs"
[[test]]
name = "build_integration"
path = "tests/build_integration.rs"
[[test]]
name = "command_execution_test"
path = "tests/command_execution_test.rs"
[[test]]
name = "common_commands_integration"
path = "tests/common_commands_integration.rs"
[[test]]
name = "compose_commands_integration"
path = "tests/compose_commands_integration.rs"
[[test]]
name = "container_guard_integration"
path = "tests/container_guard_integration.rs"
[[test]]
name = "container_lifecycle_integration"
path = "tests/container_lifecycle_integration.rs"
[[test]]
name = "context_integration"
path = "tests/context_integration.rs"
[[test]]
name = "database_template_integration"
path = "tests/database_template_integration.rs"
[[test]]
name = "exec_integration"
path = "tests/exec_integration.rs"
[[test]]
name = "images_integration"
path = "tests/images_integration.rs"
[[test]]
name = "info_integration"
path = "tests/info_integration.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "lifecycle_integration"
path = "tests/lifecycle_integration.rs"
[[test]]
name = "login_integration"
path = "tests/login_integration.rs"
[[test]]
name = "logout_integration"
path = "tests/logout_integration.rs"
[[test]]
name = "network_integration"
path = "tests/network_integration.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "ps_integration"
path = "tests/ps_integration.rs"
[[test]]
name = "pull_integration"
path = "tests/pull_integration.rs"
[[test]]
name = "push_integration"
path = "tests/push_integration.rs"
[[test]]
name = "redis_cluster_integration"
path = "tests/redis_cluster_integration.rs"
[[test]]
name = "redis_sentinel_integration"
path = "tests/redis_sentinel_integration.rs"
[[test]]
name = "redis_template_integration"
path = "tests/redis_template_integration.rs"
[[test]]
name = "run_integration"
path = "tests/run_integration.rs"
[[test]]
name = "search_integration"
path = "tests/search_integration.rs"
[[test]]
name = "system_integration"
path = "tests/system_integration.rs"
[[test]]
name = "version_integration"
path = "tests/version_integration.rs"
[[test]]
name = "volume_integration"
path = "tests/volume_integration.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.46"
features = [
"process",
"rt-multi-thread",
"macros",
"time",
"io-util",
"sync",
"net",
]
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "8.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serial_test]
version = "3.3.1"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.uuid]
version = "1.0"
features = ["v4"]
[dev-dependencies.which]
version = "8.0"