# 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"
name = "jdb_fs"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Direct I/O for database storage / 数据库存储异步直接 I/O"
homepage = "https://github.com/js0-site/jdb/tree/main/jdb_fs"
readme = "README.md"
keywords = [
    "async",
    "io-uring",
    "direct-io",
    "database",
    "storage",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/jdb.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

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

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

[dependencies.compio]
version = "0.17.0"
features = ["runtime"]

[dependencies.jdb_alloc]
version = "0.1.2"

[dependencies.libc]
version = "0.2.178"

[dependencies.thiserror]
version = "2"

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.log_init]
version = "0.1.34"

[dev-dependencies.static_init]
version = "1.0.4"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = ["Win32_Storage_FileSystem"]
