container-device-interface 1.1.0

CDI (Container Device Interface), is a specification, for container-runtimes, to support third-party devices.
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 = "2021"
rust-version = "1.86.0"
name = "container-device-interface"
version = "1.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CDI (Container Device Interface), is a specification, for container-runtimes, to support third-party devices."
homepage = "https://github.com/cncf-tags/container-device-interface"
readme = "README.md"
keywords = ["container"]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/cncf-tags/container-device-interface-rs"

[lib]
name = "container_device_interface"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "cdi"
path = "src/bin/cdi.rs"

[[bin]]
name = "validate"
path = "src/bin/validate.rs"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.const_format]
version = "0.2.36"

[dependencies.jsonschema]
version = "0.46.5"

[dependencies.lazy_static]
version = "1.5"

[dependencies.libc]
version = "0.2.186"

[dependencies.oci-spec]
version = "0.10.0"
features = ["runtime"]

[dependencies.once_cell]
version = "1.21.4"

[dependencies.path-clean]
version = "1.0.1"

[dependencies.regex]
version = "1.12.3"

[dependencies.semver]
version = "1.0.28"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9.34"

[dev-dependencies.nix]
version = "0.31.3"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

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

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true