-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
61 lines (50 loc) · 1.76 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
53
54
55
56
57
58
59
60
61
[package]
name = "three-d-asset"
version = "0.10.0"
authors = ["Asger Nyman Christiansen <[email protected]>"]
edition = "2021"
description = "Load/save functionality for 3d applications."
license = "MIT"
readme = "README.md"
repository = "https://github.com/asny/three-d-asset"
categories = ["parsing", "encoding", "game-development", "graphics", "rendering"]
keywords = ["3d", "gamedev", "asset", "loading"]
exclude = ["/test_data", ".gitignore"]
[lib]
crate-type = ["cdylib", "rlib"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
http = ["reqwest/default-tls"]
http-rustls = ["reqwest/rustls-tls"]
data-url = ["dep:data-url"]
png = ["image/png"]
jpeg = ["image/jpeg"]
hdr = ["image/hdr"]
tiff = ["image/tiff"]
tga = ["image/tga"]
gif = ["image/gif"]
bmp = ["image/bmp"]
svg = ["dep:resvg"]
obj = ["wavefront_obj"]
gltf = ["dep:gltf"]
stl = ["dep:stl_io"]
pcd = ["pcd-rs"]
vol = []
serde = ["dep:serde", "half/serde", "cgmath/serde"]
[dependencies]
cgmath = "0.18"
half = {version="2", features=["std", "num-traits", "zerocopy"]}
thiserror = "2"
reqwest = {version = "0.12", optional = true, default-features = false }
gltf = { version = "1", optional = true, features=["KHR_materials_ior", "KHR_materials_transmission"] }
wavefront_obj = { version = "10", optional = true }
stl_io = { version = "0.8", optional = true }
image = { version = "0.25", optional = true, default-features = false}
resvg = { version = "0.44", optional = true }
pcd-rs = { version = "0.12", optional = true, features = ["derive"] }
data-url = {version = "0.3", optional = true }
serde = {version= "1", optional = true, features = ["derive", "rc"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ['Document', 'Window'] }