rust-fs-core 0.3.3

Pure-Rust block-device framework — BlockRead/BlockDevice traits + FileDevice + CallbackDevice + LRU cache. Foundation crate for the rust-fs-* drivers and rust-img-* containers.
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"
name = "rust-fs-core"
version = "0.3.3"
build = false
exclude = ["fuzz"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust block-device framework — BlockRead/BlockDevice traits + FileDevice + CallbackDevice + LRU cache. Foundation crate for the rust-fs-* drivers and rust-img-* containers."
readme = "README.md"
license = "MIT"
repository = "https://github.com/antimatter-studios/rust-fs-core"

[package.metadata.semver]
former-name = "am-fs-core"

[package.metadata.docs.rs]
features = ["cli"]

[features]
cli = [
    "dep:clap",
    "dep:clap_complete",
    "dep:clap_mangen",
]

[lib]
name = "fs_core"
crate-type = [
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.5"
features = [
    "std",
    "help",
    "usage",
    "error-context",
    "suggestions",
]
optional = true
default-features = false

[dependencies.clap_complete]
version = "4.5"
optional = true

[dependencies.clap_mangen]
version = "0.2"
optional = true

[dev-dependencies.saphyr]
version = "0.0.12"

[dev-dependencies.toml]
version = "1.1.5"

[profile.dev]
opt-level = 1
panic = "unwind"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "unwind"