-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
54 lines (45 loc) · 1.26 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
[package]
name = "octoon"
version = "0.1.7"
license = "MIT"
authors = ["Rui <[email protected]>"]
edition = "2018"
description = "Graphics library for Rust."
homepage = "https://github.com/octoon/engine"
repository = "https://github.com/octoon/engine.git"
[dependencies]
byteorder = "1.2.7"
encoding = "0.2.33"
uuid = { version = "0.7.1", features = ["v4","serde"] }
log = { version = "0.4", features = ["std", "serde"] }
rand = { version = "0.6.1", features = ["stdweb"]}
image = { version = "0.20.1" }
base64 = { version = "0.10.1" }
[dependencies.serde]
default-features = false
features = ["rc"]
optional = true
version = "1.0"
[dependencies.serde_derive]
default-features = false
optional = true
version = "1.0"
[dependencies.serde_json]
default-features = false
optional = true
version = "1.0"
[dependencies.stdweb]
version = "0.4.13"
optional = true
[dependencies.stdweb-derive]
version = "0.5.1"
optional = true
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "asmjs")))'.dependencies.gl]
version = "0.9.0"
optional = true
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "asmjs")))'.dependencies.glfw]
version = "0.25.0"
optional = true
[features]
default = ["serde", "serde_derive", "serde_json", "gl", "glfw"]
webgl = ["stdweb", "stdweb-derive"]