draco-core 1.0.3

Pure Rust core encoder and decoder for Draco geometry compression
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 = "draco-core"
version = "1.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust core encoder and decoder for Draco geometry compression"
readme = "README.md"
keywords = [
    "draco",
    "compression",
    "mesh",
    "point-cloud",
    "geometry",
]
categories = [
    "compression",
    "encoding",
    "graphics",
    "wasm",
]
license = "Apache-2.0"
repository = "https://github.com/Filyus/draco-rust"

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

[features]
debug_logs = []
decoder = []
default = [
    "encoder",
    "decoder",
    "point_cloud_decode",
    "edgebreaker_valence_encode",
    "edgebreaker_valence_decode",
    "legacy_bitstream_encode",
    "legacy_bitstream_decode",
]
edgebreaker_valence_decode = ["decoder"]
edgebreaker_valence_encode = ["encoder"]
encoder = []
force_sequential_seeds = []
legacy_bitstream_decode = ["decoder"]
legacy_bitstream_encode = ["encoder"]
point_cloud_decode = ["decoder"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytemuck]
version = "1.24.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.tempfile]
version = "3.24.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]