# 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 = "mesh_to_sdf" version = "0.4.0" authors = ["Etienne Desbois "] build = false exclude = [ "assets/*", "ARCHITECTURE.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Mesh to signed distance field (SDF) converter" homepage = "https://github.com/Azkellas/mesh_to_sdf" readme = "README.md" keywords = [ "mesh", "sdf", "distance_field", "raymarching", "voxels", ] categories = [ "algorithms", "rendering::data-formats", "game-development", "graphics", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Azkellas/mesh_to_sdf" [package.metadata.docs.rs] all-features = true [lib] name = "mesh_to_sdf" path = "src/lib.rs" [[example]] name = "demo" path = "examples/demo.rs" [[bench]] name = "generate_grid_sdf" path = "benches/generate_grid_sdf.rs" harness = false [[bench]] name = "generate_sdf" path = "benches/generate_sdf.rs" harness = false [dependencies.bvh] version = "0.10.0" [dependencies.cgmath] version = "0.18.0" optional = true [dependencies.float-cmp] version = "0.9.0" [dependencies.glam] version = "0.29.0" optional = true [dependencies.itertools] version = "0.13.0" [dependencies.log] version = "0.4.22" [dependencies.mint] version = "0.5.9" optional = true [dependencies.nalgebra] version = "0.33.0" [dependencies.ordered-float] version = "4.2.2" [dependencies.parking_lot] version = "0.12.3" [dependencies.rayon] version = "1.10.0" [dependencies.rmp-serde] version = "1.3.0" optional = true [dependencies.rstar] version = "0.12.0" [dependencies.serde] version = "1.0.210" features = ["derive"] optional = true [dependencies.web-time] version = "1.1.0" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.easy-gltf] version = "1.1.2" [dev-dependencies.env_logger] version = "0.11.5" [dev-dependencies.proptest] version = "1.5.0" [dev-dependencies.tempfile] version = "3.12.0" [features] cgmath = ["dep:cgmath"] glam = ["dep:glam"] mint = ["dep:mint"] serde = [ "dep:serde", "dep:rmp-serde", "glam?/serde", "mint?/serde", "nalgebra/serde-serialize", "cgmath?/serde", ] [lints.clippy] cast_possible_truncation = "allow" cast_precision_loss = "allow" cast_sign_loss = "allow" clone_on_ref_ptr = "warn" let_underscore_must_use = "warn" let_underscore_untyped = "warn" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" partial_pub_fields = "warn" redundant_type_annotations = "warn" ref_patterns = "warn" renamed_function_params = "warn" same_name_method = "allow" significant_drop_tightening = "allow" std_instead_of_core = "warn" suboptimal_flops = "allow" undocumented_unsafe_blocks = "warn" wildcard_enum_match_arm = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.rust] dead_code = "allow" missing_docs = "warn" unexpected_cfgs = "warn"