vpin 0.20.13

Rust library for the virtual pinball ecosystem
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"
name = "vpin"
version = "0.20.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for the virtual pinball ecosystem"
documentation = "https://docs.rs/vpin"
readme = "README.md"
keywords = [
    "vpin",
    "visual-pinball",
    "virtual-pinball",
    "vpx",
]
categories = [
    "game-engines",
    "game-development",
]
license = "MIT"
repository = "https://github.com/francisdb/vpin"

[package.metadata.docs.rs]
all-features = true
exclude = ["testdata/*"]

[features]
default = [
    "parallel",
    "directb2s",
]
directb2s = ["quick-xml"]
parallel = ["rayon"]
wasm = [
    "wasm-bindgen",
    "js-sys",
    "console_error_panic_hook",
    "web-sys",
]

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

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

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

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

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

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

[dependencies.byteorder]
version = "1.5.0"

[dependencies.bytes]
version = "1.11.0"

[dependencies.cfb]
version = "0.13.0"

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.hex]
version = "0.4.3"

[dependencies.itoa]
version = "1.0.15"

[dependencies.js-sys]
version = "0.3.85"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.md2]
version = "0.10.2"

[dependencies.nom]
version = "8.0.0"

[dependencies.quick-xml]
version = "0.39.0"
features = ["serialize"]
optional = true

[dependencies.rayon]
version = "1.11.0"
optional = true

[dependencies.regex]
version = "1.12.2"

[dependencies.ryu]
version = "1.0.20"

[dependencies.sanitize-filename]
version = "0.6"

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

[dependencies.serde_json]
version = "1.0.145"
features = ["preserve_order"]

[dependencies.serde_repr]
version = "0.1.20"

[dependencies.tracing]
version = "0.1"

[dependencies.utf16string]
version = "0.2.0"

[dependencies.wasm-bindgen]
version = "0.2.108"
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["console"]
optional = true

[dependencies.weezl]
version = "0.1.12"

[dev-dependencies.dirs]
version = "6.0.0"

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

[dev-dependencies.fake]
version = "4.4.0"
features = ["derive"]

[dev-dependencies.pretty_assertions]
version = "1.4.1"

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

[dev-dependencies.roxmltree]
version = "0.21.1"

[dev-dependencies.testresult]
version = "0.4.1"

[dev-dependencies.tracing-log]
version = "0.2"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.walkdir]
version = "2.5.0"

[target.'cfg(not(target_family = "wasm"))'.dependencies.flate2]
version = "1.1.8"
features = ["zlib-rs"]
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dependencies.image]
version = "0.25.9"
features = [
    "bmp",
    "exr",
    "gif",
    "hdr",
    "jpeg",
    "png",
    "tga",
    "webp",
    "rayon",
]
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.testdir]
version = "0.9.3"

[target.'cfg(target_family = "wasm")'.dependencies.flate2]
version = "1.1.8"
default-features = true

[target.'cfg(target_family = "wasm")'.dependencies.image]
version = "0.25.9"
features = [
    "bmp",
    "exr",
    "gif",
    "hdr",
    "jpeg",
    "png",
    "tga",
    "webp",
]
default-features = false

[target.'cfg(target_family = "wasm")'.dev-dependencies.getrandom]
version = "0.3.2"
features = ["wasm_js"]

[target.'cfg(target_family = "wasm")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.58"

[profile.test]
opt-level = 1