libublk 0.4.7

Library for building linux block device in userspace
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.80"
name = "libublk"
version = "0.4.7"
authors = ["Ming Lei <tom.leiming@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for building linux block device in userspace"
readme = "README.md"
keywords = [
    "ublk",
    "io_uring",
    "userspace",
    "block",
    "storage",
]
categories = [
    "asynchronous",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ublk-org/libublk-rs"

[package.metadata]
scripts = ["utils/ublk_chown.sh"]

[badges.maintenance]
status = "actively-developed"

[features]
fat_complete = []

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

[[bin]]
name = "ublk_user_id"
path = "utils/ublk_user_id_rs.rs"

[[example]]
name = "batch"
path = "examples/batch.rs"

[[example]]
name = "loop"
path = "examples/loop.rs"

[[example]]
name = "null"
path = "examples/null.rs"

[[example]]
name = "ramdisk"
path = "examples/ramdisk.rs"

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

[dependencies.async-lock]
version = "3.0"

[dependencies.bitflags]
version = "2.4.1"

[dependencies.bitmaps]
version = "3.2.0"

[dependencies.derive_setters]
version = "0.1"

[dependencies.futures-timer]
version = "3.0"

[dependencies.libc]
version = "0.2"

[dependencies.libublk-rs-sys]
version = "0.1.1"

[dependencies.log]
version = "0.4"

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

[dependencies.serde_json]
version = "1.0.79"

[dependencies.slab]
version = "0.4.9"

[dependencies.smol]
version = "2.0.2"

[dependencies.thiserror]
version = "1.0.43"

[dev-dependencies.anyhow]
version = "1.0.66"

[dev-dependencies.clap]
version = "4.3"

[dev-dependencies.ctor]
version = "0.5"

[dev-dependencies.daemonize]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.9"

[dev-dependencies.futures]
version = "0.3.31"

[dev-dependencies.ilog]
version = "1.0.1"

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

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.regex]
version = "1.8.4"

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

[target.'cfg(not(target_arch = "s390x"))'.dependencies.io-uring]
version = "^0.7.12"

[target.'cfg(target_arch = "s390x")'.dependencies.io-uring]
version = "^0.7.12"
features = ["bindgen"]