-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (45 loc) · 1.07 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 = "rubikmaster"
version = "0.6.0"
authors = ["Akira Hayakawa <[email protected]>"]
edition = "2018"
license = "MIT"
description = "Tools to implement Rubik's cube applications."
repository = "https://github.com/akiradeveloper/rubikmaster"
readme = "README.md"
categories = ["mathematics"]
keywords = ["rubik", "puzzle"]
[dependencies]
once_cell = "1.8"
nom = "7"
rand = "0.8"
# component
nalgebra-glm = { version = "0.15", optional = true }
yew = { version = "0.18", optional = true }
js-sys = { version = "0.3", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
[features]
default = []
component = ["nalgebra-glm", "yew", "js-sys", "wasm-bindgen"]
[dev-dependencies]
proptest = "1.0"
nalgebra = "0.29"
[workspace]
members = [
"demo/cubeviewer",
"demo/f2l",
]
[dependencies.web-sys]
version = "0.3"
features = [
'HtmlCanvasElement',
'HtmlDivElement',
'WebGlBuffer',
'WebGlProgram',
'WebGl2RenderingContext',
'WebGlShader',
'WebGlUniformLocation',
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]