forked from 2003scape/rsc-client
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
46 lines (38 loc) · 1000 Bytes
/
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
[package]
name = "librsc"
version = "0.1.1"
authors = ["Zach Knight <[email protected]>"]
edition = "2018"
description = "Extension to a javascript RuneScape Classic port."
license = "ISC"
repository = "github.com/spkaeros/rsc-client"
[lib]
crate-type = ["cdylib"]
path = "./src/rustlib/lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["wee_alloc"]
[dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
console_error_panic_hook = { version = "0.1.1", optional = true }
wee_alloc = { version = "0.4.2", optional = true }
[dependencies.web-sys]
version = "0.3.22"
features = [
"BinaryType",
"Blob",
"ErrorEvent",
"FileReader",
"MessageEvent",
"ProgressEvent",
"WebSocket",
]
#[profile.release]
#lto = false
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
debug-js-glue = false
demangle-name-section = false
dwarf-debug-info = false