# 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 = "libublk" version = "0.3.3" authors = ["Ming Lei "] build = "build.rs" publish = true 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"] [lib] name = "libublk" path = "src/lib.rs" [[bin]] name = "ublk_user_id" path = "utils/ublk_user_id_rs.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.bitflags] version = "2.4.1" [dependencies.bitmaps] version = "3.2.0" [dependencies.derive_setters] version = "0.1" [dependencies.env_logger] version = "0.9" [dependencies.futures] version = "0.3" [dependencies.io-uring] version = "0.6.0" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" features = ["release_max_level_off"] [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" features = ["default"] [dev-dependencies.async-std] version = "1.12.0" [dev-dependencies.block-utils] version = "0.11.0" [dev-dependencies.clap] version = "4.3" [dev-dependencies.ctrlc] version = "3.4.0" [dev-dependencies.daemonize] version = "0.5" [dev-dependencies.ilog] version = "1.0.1" [dev-dependencies.nix] version = "0.26.2" [dev-dependencies.regex] version = "1.8.4" [dev-dependencies.tempfile] version = "3.6.0" [build-dependencies.anyhow] version = "1.0.66" features = ["default"] [build-dependencies.bindgen] version = "0.64" [build-dependencies.pkg-config] version = "0.3" [build-dependencies.regex] version = "1.8.3" [features] fat_complete = [] [badges.maintenance] status = "actively-developed"