[package]
edition = "2024"
rust-version = "1.85"
name = "docktopus"
version = "0.3.0"
authors = ["Tangle Network"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TBD"
homepage = "https://tangle.tools"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tangle-network/docktopus"
[features]
default = ["deploy"]
deploy = [
"async-trait",
"bollard",
"futures",
"futures-util",
"ipnet",
"reqwest",
"tar",
"tempfile",
"tokio",
"tracing",
"sysinfo",
"uuid",
"walkdir",
]
[lib]
name = "docktopus"
path = "src/lib.rs"
[[test]]
name = "compose"
path = "tests/compose.rs"
[[test]]
name = "containers"
path = "tests/containers.rs"
[[test]]
name = "dockerfile"
path = "tests/dockerfile.rs"
[[test]]
name = "healthcheck"
path = "tests/healthcheck.rs"
[[test]]
name = "net"
path = "tests/net.rs"
[[test]]
name = "optimism"
path = "tests/optimism.rs"
[[test]]
name = "resource_limits"
path = "tests/resource_limits.rs"
[[test]]
name = "volumes"
path = "tests/volumes.rs"
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.bollard]
version = "0.18"
optional = true
[dependencies.cfg-if]
version = "1"
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.futures-util]
version = "0.3"
optional = true
[dependencies.ipnet]
version = "2"
optional = true
[dependencies.log]
version = "0.4"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.shell-words]
version = "1.1"
[dependencies.sysinfo]
version = "0.34"
optional = true
[dependencies.tar]
version = "0.4"
optional = true
[dependencies.tempfile]
version = "3"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.uuid]
version = "1.16"
features = ["v4"]
optional = true
[dependencies.walkdir]
version = "2"
optional = true
[dev-dependencies.color-eyre]
version = "0.6"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.reqwest]
version = "0.12"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[lints.clippy]
assigning_clones = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
match_wildcard_for_single_variants = "allow"
needless_late_init = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
transmute_ptr_to_ptr = "allow"
uninlined_format_args = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
async_fn_in_trait = "allow"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unused_import_braces = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "deny"