vfstool_lib 0.9.0

A library for constructing and manipulating virtual file systems in Rust, based on OpenMW's VFS implementation.
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 = "2024"
rust-version = "1.87"
name = "vfstool_lib"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for constructing and manipulating virtual file systems in Rust, based on OpenMW's VFS implementation."
homepage = "https://github.com/DreamWeave-MP/vfstool"
readme = "README.md"
keywords = [
    "vfs",
    "openmw",
    "gamedev",
    "modding",
    "bethesda",
]
license = "GPL-3.0-only"
repository = "https://github.com/DreamWeave-MP/vfstool"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "beth-archives",
    "zip",
    "serialize",
    "standalone-lua",
]

[features]
beth-archives = ["dep:dream_archive"]
default = []
lua = [
    "dep:mlua",
    "mlua/serialize",
]
serialize = [
    "dep:serde",
    "dep:serde_json",
    "dep:serde_yaml",
    "dep:toml",
]
standalone-lua = [
    "lua",
    "mlua/luajit52",
    "mlua/vendored",
]
zip = ["dep:zip"]

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

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

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

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

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

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

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

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

[[bench]]
name = "vfs_benchmarks"
path = "benches/vfs_benchmarks.rs"
harness = false

[dependencies.ahash]
version = "0.8"

[dependencies.blake3]
version = "1"

[dependencies.dream-path]
version = "0.1.3"

[dependencies.dream_archive]
version = "0.1.6"
features = [
    "ba2",
    "bsa",
    "parallel",
]
optional = true
default-features = false

[dependencies.mlua]
version = "0.11.6"
features = ["serialize"]
optional = true
default-features = false

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1.0.225"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.serde_yaml]
version = "0.9.34-deprecated"
optional = true

[dependencies.toml]
version = "1.1.2"
optional = true

[dependencies.walkdir]
version = "2.5.0"

[dependencies.zip]
version = "8"
features = [
    "deflate",
    "lzma",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]