-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
48 lines (42 loc) · 1.31 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
[package]
name = "wasm-service"
version = "0.5.1"
authors = ["stevelr <git@somecool.net>"]
edition = "2018"
license = "MIT OR Apache-2.0"
keywords = ["wasm","cloudflare","workers","worker","http"]
description = "Simplify implementation of serverless WASM on Cloudflare Workers"
repository = "https://github.com/stevelr/wasm-service"
homepage = "https://github.com/stevelr/wasm-service"
documentation = "https://docs.rs/wasm-service"
readme = "README.md"
categories = ["web-programming::http-server","wasm","asynchronous"]
[features]
# "std": use the std allocator; "alloc": you provide an allocator
default=["alloc"]
std = ["serde_json/std", "serde/std", "service-logging/std"]
alloc = ["serde_json/alloc", "serde/alloc", "service-logging/alloc"]
[dependencies]
async-trait = "0.1"
bincode = "1.3"
bytes = "1.0"
chrono = "0.4"
js-sys = "0.3"
kv-assets = "0.2"
mime = "0.3"
reqwest = { version="0.11", features=["json"] }
url = "2.2"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
# optional
serde_json = { version="1.0", default-features=false, optional=true }
serde = { version="1.0", optional=true, features=["derive"] }
service-logging = { version = "0.4", default-features=false, optional=true }
[dependencies.web-sys]
version = "0.3.4"
features = [
'console',
]
[dev-dependencies]
wasm-bindgen-test = "0.3"
cfg-if = "1.0"