# 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" rust-version = "1.60.0" name = "normal_pack" version = "0.1.4" authors = ["David Huculak https://github.com/Davidster"] exclude = [ "Cargo.lock", "examples", ] description = "Compresses normal vectors (or any 3D unit vector) using Octahedron encoding." readme = "README.md" keywords = [ "normal", "vector", "compress", ] categories = ["encoding"] license = "MIT" repository = "https://github.com/Davidster/normal_pack" [package.metadata.docs.rs] features = ["half"] [dependencies.bytemuck] version = "1" features = ["derive"] optional = true default-features = false [dependencies.half] version = "2" optional = true [dependencies.rkyv] version = "0.7" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.zerocopy] version = "0.6.6" optional = true [dev-dependencies.bytemuck] version = "1.16.1" features = ["derive"] [dev-dependencies.futures-intrusive] version = "0.5.0" [dev-dependencies.glam] version = "0.28.0" features = ["bytemuck"] [dev-dependencies.image] version = "0.25.1" [dev-dependencies.obj-rs] version = "0.7.1" [dev-dependencies.pollster] version = "0.3.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rand_chacha] version = "0.3.1" [dev-dependencies.rkyv] version = "0.7" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.static_assertions] version = "1.1.0" [dev-dependencies.wgpu] version = "0.20.1" features = ["trace"] [dev-dependencies.zerocopy] version = "0.6.6" [features] bytemuck = [ "dep:bytemuck", "half/bytemuck", ] half = ["dep:half"] rkyv = [ "dep:rkyv", "half/rkyv", ] serde = [ "dep:serde", "half/serde", ] zerocopy = [ "dep:zerocopy", "half/zerocopy", ]