# 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"
name = "axdriver_virtio"
version = "0.1.4-preview.1"
authors = [
    "Yuekai Jia <equation618@gmail.com>",
    "朝倉水希 <asakuramizu111@gmail.com>",
    "Yu Chen <yuchen@tsinghua.edu.cn>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wrappers of some devices in the `virtio-drivers` crate, that implement traits in the `axdriver_base` series crates"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://arceos-org.github.io/axdriver_crates/axdriver_virtio"
readme = "README.md"
keywords = [
    "arceos",
    "driver",
    "virtio",
]
categories = [
    "os",
    "no-std",
    "hardware-support",
]
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/axdriver_crates"

[features]
alloc = ["virtio-drivers/alloc"]
block = ["axdriver_block"]
gpu = [
    "alloc",
    "axdriver_display",
]
input = [
    "alloc",
    "axdriver_input",
]
net = [
    "alloc",
    "axdriver_net",
]
socket = [
    "alloc",
    "axdriver_vsock",
]

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

[dependencies.axdriver_base]
version = "0.1.3-preview.1"

[dependencies.axdriver_block]
version = "0.1.3-preview.1"
optional = true

[dependencies.axdriver_display]
version = "0.1.3-preview.1"
optional = true

[dependencies.axdriver_input]
version = "0.1.3-preview.1"
optional = true

[dependencies.axdriver_net]
version = "0.1.3-preview.1"
optional = true

[dependencies.axdriver_vsock]
version = "0.1.3-preview.1"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.virtio-drivers]
version = "0.7.4"
default-features = false
