-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
86 lines (78 loc) · 1.65 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "rekee"
version = "0.8.0"
authors = ["Tobias Rapp"]
edition = "2021"
description = "Track editor for the Rallyman:GT and Rallyman:DIRT boardgames"
homepage = "https://rekee.net"
repository = "https://github.com/t-rapp/rekee"
license = "MPL-2.0"
build = "build.rs"
rust-version = "1.61.0"
[lib]
crate-type = ["cdylib", "rlib"]
[[example]]
name = "export-svg"
required-features = ["svg"]
[features]
default = []
# Show Rallyman DIRT game tiles in the catalog by default
dirt = []
# Enables verbose log output. When compiled as a native library the output is
# written to standard error (stderr), when compiled for WASM log output is
# written to the JavaScript console.
logger = []
# Build the CSS file along with the WASM module.
style = []
[dependencies]
js-sys = "0.3.69"
nuts = "0.2.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
svg = { version = "0.13.1", optional = true }
wasm-bindgen = "0.2.92"
[dependencies.web-sys]
version = "0.3.69"
features = [
"CanvasRenderingContext2d",
"console",
"DataTransfer",
"Document",
"DomRect",
"DomTokenList",
"DragEvent",
"Element",
"Event",
"EventTarget",
"File",
"FileList",
"FileReader",
"FontFace",
"FontFaceSet",
"HtmlCanvasElement",
"HtmlElement",
"HtmlImageElement",
"HtmlInputElement",
"HtmlSelectElement",
"HtmlTextAreaElement",
"KeyboardEvent",
"MouseEvent",
"Node",
"NodeList",
"Range",
"Storage",
"SvgElement",
"Text",
"TextMetrics",
"Window",
]
[build-dependencies]
grass = "0.12.2"
[dev-dependencies]
approx = "0.5.1"
getopts = "0.2.21"
indoc = "1.0.3"
[profile.release]
lto = "thin"
opt-level = "z"
codegen-units = 1