squib-api 0.2.0

Firecracker-compatible HTTP API server for squib (axum on a Unix domain socket)
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.95"
name = "squib-api"
version = "0.2.0"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Firecracker-compatible HTTP API server for squib (axum on a Unix domain socket)"
homepage = "https://github.com/tyrchen/squib"
documentation = "https://docs.rs/squib-core"
readme = false
keywords = [
    "firecracker",
    "microvm",
    "api",
    "axum",
]
categories = [
    "virtualization",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/tyrchen/squib"

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

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

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

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

[dependencies.arc-swap]
version = "1.9"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "json",
    "matched-path",
    "tokio",
]
default-features = false

[dependencies.http]
version = "1.4"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.squib-core]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "sync",
    "fs",
    "io-util",
    "time",
    "signal",
    "process",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "set-header",
    "trace",
    "limit",
]

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.httparse]
version = "1.10"

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

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

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

[lints.rust]
missing_debug_implementations = "warn"
rust_2024_compatibility = "warn"
unreachable_pub = "warn"
unused_qualifications = "warn"