-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (47 loc) · 1.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "normal_pack"
version = "0.1.4"
edition = "2021"
rust-version = "1.60.0"
authors = ["David Huculak https://github.com/Davidster"]
description = "Compresses normal vectors (or any 3D unit vector) using Octahedron encoding."
repository = "https://github.com/Davidster/normal_pack"
readme = "README.md"
license = "MIT"
categories = ["encoding"]
keywords = ["normal", "vector", "compress"]
exclude = ["Cargo.lock", "examples"]
[features]
half = ["dep:half"]
serde = ["dep:serde", "half/serde"]
bytemuck = ["dep:bytemuck", "half/bytemuck"]
zerocopy = ["dep:zerocopy", "half/zerocopy"]
rkyv = ["dep:rkyv", "half/rkyv"]
[dependencies]
half = { version = "2", optional = true }
serde = { version = "1", optional = true, default-features = false, features = [
"derive",
] }
bytemuck = { version = "1", default-features = false, features = [
"derive",
], optional = true }
zerocopy = { version = "0.6.6", optional = true }
rkyv = { version = "0.7", optional = true }
[dev-dependencies]
rand = "0.8.5"
rand_chacha = "0.3.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
static_assertions = "1.1.0"
bytemuck = { version = "1.16.1", features = ["derive"] }
zerocopy = { version = "0.6.6" }
rkyv = { version = "0.7" }
# teapot example deps:
wgpu = { version = "0.20.1", features = ["trace"] }
pollster = "0.3.0"
glam = { version = "0.28.0", features = ["bytemuck"] }
obj-rs = "0.7.1"
image = "0.25.1"
futures-intrusive = "0.5.0"
[package.metadata.docs.rs]
features = ["half"]