[package]
edition = "2024"
rust-version = "1.88"
name = "oxide-update-engine-types"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serializable types for the oxide-update-engine framework."
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/oxidecomputer/oxide-update-engine"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg=doc_cfg"]
[package.metadata.cargo-sync-rdme.badge.badges]
license = true
crates-io = true
docs-rs = true
rust-version = true
[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
search = '^#!\[doc\(html_root_url = "https://docs.rs/oxide-update-engine-types/.*"\)\]$'
replace = '#![doc(html_root_url = "https://docs.rs/oxide-update-engine-types/{{version}}")]'
exactly = 1
[features]
schemars08 = [
"dep:schemars",
"newtype-uuid/schemars08",
]
[lib]
name = "oxide_update_engine_types"
path = "src/lib.rs"
[[test]]
name = "buffer"
path = "tests/buffer.rs"
[dependencies.anyhow]
version = "1"
[dependencies.derive-where]
version = "1"
[dependencies.indent_write]
version = "2"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.newtype-uuid]
version = "1.3"
features = [
"v4",
"serde",
]
[dependencies.petgraph]
version = "0.8"
features = [
"graphmap",
"std",
]
default-features = false
[dependencies.schemars]
version = "0.8"
features = ["uuid1"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.expectorate]
version = "1"
[dev-dependencies.indexmap]
version = "2"
features = ["serde"]
[dev-dependencies.indoc]
version = "2"
[dev-dependencies.petgraph]
version = "0.8"
features = [
"graphmap",
"std",
]
default-features = false
[dev-dependencies.schemars]
version = "0.8"
features = ["uuid1"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.slog]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"sync",
"time",
"rt-multi-thread",
"macros",
"sync",
"rt-multi-thread",
]
[dev-dependencies.tokio-stream]
version = "0.1"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(doc_cfg)"]