You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
987 B
43 lines
987 B
[package] |
|
name = "workerns" |
|
version = "0.1.0" |
|
authors = ["Peter Cai <[email protected]>"] |
|
edition = "2018" |
|
|
|
[lib] |
|
crate-type = ["cdylib", "rlib"] |
|
|
|
[features] |
|
default = ["console_error_panic_hook"] |
|
|
|
[dependencies] |
|
async_static = "0.1" |
|
base64 = "0.13" |
|
cfg-if = "1.0" |
|
console_error_panic_hook = { version = "0.1.6", optional = true } |
|
domain = "0.6" |
|
# domain uses rand, which in turn uses getrandom |
|
# we need to enable the `js` feature for it to build on WASM |
|
getrandom = { version = "0.2", features = [ "js" ] } |
|
js-sys = "0.3" |
|
lazy_static = "1.4" |
|
# Required by async_static |
|
once_cell = "1" |
|
serde = { version = "1.0", features = [ "derive" ] } |
|
serde_json = "1.0" |
|
wasm-bindgen = { version = "0.2", features = [ "serde-serialize" ] } |
|
wasm-bindgen-futures = "0.4" |
|
web-sys = { version = "0.3", features = [ |
|
"ExtendableEvent", |
|
"Headers", |
|
"Request", |
|
"RequestInit", |
|
"Response", |
|
"ResponseInit", |
|
"Url", |
|
"UrlSearchParams" |
|
]} |
|
|
|
[profile.release] |
|
opt-level = 3 |
|
lto = true |