# 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_block"
version = "0.3.4"
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 = "Common traits and types for block storage drivers"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://arceos-org.github.io/axdriver_crates/axdriver_block"
readme = "README.md"
keywords = [
    "arceos",
    "driver",
    "blk",
]
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]
ahci = ["dep:simple-ahci"]
bcm2835-sdhci = ["dep:bcm2835-sdhci"]
ramdisk = []
ramdisk-static = []
sdmmc = ["dep:simple-sdmmc"]

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

[dependencies.axdriver_base]
version = "0.3.4"

[dependencies.bcm2835-sdhci]
version = "0.1.1-preview.1"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.simple-ahci]
version = "0.1.1-preview.1"
optional = true

[dependencies.simple-sdmmc]
version = "0.1"
optional = true
