brodo 1.0.0

Sparse volumes in pure Rust: a VDB-style sparse tree, fields that share a topology, and zero-copy grid files
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.98"
name = "brodo"
version = "1.0.0"
build = false
include = [
    "src/**",
    "examples/**",
    "README.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sparse volumes in pure Rust: a VDB-style sparse tree, fields that share a topology, and zero-copy grid files"
readme = "README.md"
keywords = [
    "sparse-volume",
    "vdb",
    "sdf",
    "level-set",
    "voxel",
]
categories = [
    "data-structures",
    "graphics",
    "rendering::data-formats",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/akahmys/brodo"

[package.metadata.docs.rs]
all-features = true

[features]
archive = ["dep:lz4_flex"]
default = ["mmap"]
mmap = ["dep:memmap2"]
slice-png = ["dep:png"]
vdb = ["dep:lz4_flex"]
vtk = []

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

[[example]]
name = "diffusion"
path = "examples/diffusion.rs"
test = true

[[example]]
name = "spheres"
path = "examples/spheres.rs"
test = true

[dependencies.lz4_flex]
version = "0.14.0"
features = [
    "std",
    "safe-encode",
    "safe-decode",
    "checked-decode",
]
optional = true
default-features = false

[dependencies.memmap2]
version = "0.9.11"
optional = true

[dependencies.png]
version = "0.18.1"
optional = true

[dependencies.rayon]
version = "1.12.0"

[dependencies.thiserror]
version = "2.0.21"

[dependencies.zerocopy]
version = "0.8.63"
features = ["derive"]

[dev-dependencies.proptest]
version = "1.12.0"

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
dbg_macro = "deny"
disallowed_types = "deny"
float_cmp = "deny"
infinite_loop = "deny"
let_underscore_must_use = "deny"
match_wildcard_for_single_variants = "deny"
multiple_unsafe_ops_per_block = "deny"
print_stderr = "deny"
print_stdout = "deny"
too_many_lines = "deny"
undocumented_unsafe_blocks = "deny"
wildcard_enum_match_arm = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"