-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
31 lines (26 loc) · 790 Bytes
/
Copy pathCargo.toml
File metadata and controls
31 lines (26 loc) · 790 Bytes
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
[package]
name = "rustcfml-worker-host"
version = "0.1.0"
edition = "2021"
authors = ["RustCFML Team"]
license = "MIT"
description = "Reference Cloudflare Workers host wiring for cfml-worker — fetch + scheduled + Durable Object."
build = "build.rs"
# Standalone (not a workspace member): the host crate is wasm32-only,
# so it shouldn't gate `cargo build` on the native target.
[workspace]
[lib]
crate-type = ["cdylib"]
[dependencies]
cfml-worker = { git = "https://github.com/RustCFML/RustCFML.git", tag = "v0.699.0" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
worker = "0.8"
worker-macros = "0.8"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[profile.release]
opt-level = "s"
lto = true
strip = true