capsid-protocol 0.1.0-alpha.1

Versioned, size-bounded messages between the Capsid host and its guest agent.
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.98"
name = "capsid-protocol"
version = "0.1.0-alpha.1"
build = false
include = [
    "src/**",
    "/Cargo.toml",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Versioned, size-bounded messages between the Capsid host and its guest agent."
documentation = "https://docs.rs/capsid-protocol"
readme = "README.md"
keywords = [
    "capsid",
    "protocol",
    "vsock",
    "guest",
]
categories = [
    "encoding",
    "virtualization",
]
license = "Apache-2.0"
repository = "https://github.com/tinrab/capsid"

[features]
sql = ["dep:rusqlite"]

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

[dependencies.base64]
version = "0.22"

[dependencies.capsid-oci-spec]
version = "0.1.0-alpha.1"
default-features = false

[dependencies.rusqlite]
version = "0.40"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "warn"
unwrap_used = "warn"

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"