# 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.70.0" name = "rustainers" version = "0.13.1" authors = ["igor.laborie@wefox.com"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple, opinionated way to run containers for tests." readme = "README.md" keywords = [ "testcontainers", "container", "docker", "podman", ] categories = ["development-tools::testing"] license = "MIT OR Apache-2.0" repository = "https://github.com/wefoxplatform/rustainers" [lib] name = "rustainers" path = "src/lib.rs" [[example]] name = "compose_custom_images" path = "examples/compose_custom_images.rs" [[example]] name = "compose_kafka" path = "examples/compose_kafka.rs" [[example]] name = "compose_redpanda" path = "examples/compose_redpanda.rs" [[example]] name = "custom_image" path = "examples/custom_image.rs" [[example]] name = "minio" path = "examples/minio.rs" [[example]] name = "mongo" path = "examples/mongo.rs" [[example]] name = "postgres" path = "examples/postgres.rs" [[example]] name = "redis" path = "examples/redis.rs" [[test]] name = "compose_images" path = "tests/compose_images.rs" [[test]] name = "custom" path = "tests/custom.rs" [[test]] name = "env" path = "tests/env.rs" [[test]] name = "images" path = "tests/images.rs" [[test]] name = "network" path = "tests/network.rs" [[test]] name = "tools" path = "tests/tools.rs" [[test]] name = "volume" path = "tests/volume.rs" [[test]] name = "wait-logs" path = "tests/wait-logs.rs" [[test]] name = "waits" path = "tests/waits.rs" [dependencies.async-trait] version = "0.1.81" [dependencies.hex] version = "0.4.3" features = ["serde"] [dependencies.indexmap] version = "2.3.0" [dependencies.ipnetwork] version = "0.20.0" [dependencies.path-absolutize] version = "3.1.1" [dependencies.regex] version = "1.10.6" optional = true [dependencies.reqwest] version = "0.12.5" [dependencies.serde] version = "1.0.204" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.122" [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1.39" features = [ "time", "process", "fs", "sync", "io-util", ] [dependencies.tracing] version = "0.1.40" [dependencies.typed-builder] version = "0.20.0" [dependencies.ulid] version = "1.1.3" [dev-dependencies.ahash] version = "0.8.11" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.assert2] version = "0.3.15" [dev-dependencies.bytes] version = "1.7" [dev-dependencies.futures-util] version = "0.3.30" [dev-dependencies.insta] version = "1.39" features = ["json"] [dev-dependencies.mongodb] version = "3.0.1" [dev-dependencies.object_store] version = "0.11.0" features = ["aws"] [dev-dependencies.rdkafka] version = "0.36" [dev-dependencies.redis] version = "0.26" [dev-dependencies.rstest] version = "0.22" [dev-dependencies.tokio] version = "1.39" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tokio-postgres] version = "0.7" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["fmt"] [features] default = [] ensure-docker = [] ensure-nerdctl = [] ensure-podman = [] regex = ["dep:regex"] very-long-tests = [] [lints.clippy] dbg_macro = "warn" expect_used = "warn" if_then_some_else_none = "warn" indexing_slicing = "warn" large_include_file = "warn" min_ident_chars = "warn" module_name_repetitions = "allow" print_stderr = "warn" print_stdout = "warn" rc_buffer = "warn" rc_mutex = "warn" undocumented_unsafe_blocks = "deny" unnecessary_safety_doc = "warn" unwrap_used = "warn" [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" unsafe_code = "forbid"