lightshuttle-runtime 0.4.0

Container runtime backends and lifecycle manager for LightShuttle
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "lightshuttle-runtime"
version = "0.4.0"
authors = ["Nubster"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Container runtime backends and lifecycle manager for LightShuttle"
homepage = "https://github.com/nubster-opensources/lightshuttle"
readme = "README.md"
keywords = [
    "lightshuttle",
    "docker",
    "container",
    "orchestrator",
    "lifecycle",
]
categories = [
    "development-tools",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nubster-opensources/lightshuttle"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "lightshuttle_runtime"
path = "src/lib.rs"

[[test]]
name = "integration_docker"
path = "tests/integration_docker.rs"

[[test]]
name = "lifecycle_integration"
path = "tests/lifecycle_integration.rs"

[[test]]
name = "lifecycle_manager_mock"
path = "tests/lifecycle_manager_mock.rs"

[[test]]
name = "lifecycle_plan"
path = "tests/lifecycle_plan.rs"

[[test]]
name = "manager_handle"
path = "tests/manager_handle.rs"

[[test]]
name = "recreate"
path = "tests/recreate.rs"

[[test]]
name = "restart_one"
path = "tests/restart_one.rs"

[[test]]
name = "spec_from_resource"
path = "tests/spec_from_resource.rs"

[dependencies.bollard]
version = "0.21"
features = [
    "buildkit",
    "time",
]

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.jiff]
version = "0.2"
features = ["std"]
default-features = false

[dependencies.lightshuttle-manifest]
version = "0.4.0"

[dependencies.lightshuttle-spec]
version = "0.4.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "process",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "process",
    "sync",
    "time",
    "test-util",
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1