atproto blogging
1[package]
2name = "weaver-embed-worker"
3version.workspace = true
4edition.workspace = true
5license.workspace = true
6description = "Web worker for fetching and caching AT Protocol embeds"
7
8[features]
9default = []
10use-index = []
11
12[dependencies]
13weaver-common = { path = "../weaver-common", features = ["cache", "perf"] }
14# WASM target - only syntax-highlighting, not syntax-css
15weaver-renderer = { path = "../weaver-renderer", default-features = false, features = ["syntax-highlighting"] }
16jacquard = { workspace = true }
17serde = { workspace = true }
18tracing = { workspace = true }
19
20[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
21gloo-worker = "0.5"
22wasm-bindgen = "0.2"
23wasm-bindgen-futures = "0.4"
24console_error_panic_hook = "0.1"
25
26[[bin]]
27name = "embed_worker"
28path = "src/bin/embed_worker.rs"