# 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-virtio"
version = "0.2.0"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "virtio-MMIO transport and per-device drivers for squib"
homepage = "https://github.com/tyrchen/squib"
documentation = "https://docs.rs/squib-core"
readme = false
keywords = [
    "virtio",
    "mmio",
    "block",
    "net",
    "vsock",
]
categories = ["virtualization"]
license = "Apache-2.0"
repository = "https://github.com/tyrchen/squib"

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

[dependencies.bytes]
version = "1.11"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1.0.150"

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

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

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

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

[dependencies.squib-mmds]
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.tracing]
version = "0.1.44"

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

[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"
