-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (33 loc) · 1.11 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
[package]
name = "wasme"
description = "A Session Manager Extension written in Web Assembly with Rust."
homepage = "https://github.com/UserIsntAvailable/wasme"
version = "0.1.0"
edition = "2021"
[package.metadata.manifest_json]
manifest_version = 2
permissions = ["storage"]
# TODO: include `icons`.
content_scripts = [{ "matches" = ["*://github.com/*"], "js" = ["wasme.js"] }]
# TODO: I could improve `build.rs` to add this automatically.
web_accessible_resources = ["wasme_bg.wasm"]
[[bin]]
name = "wasme-ext"
path = "src/main.rs"
[dependencies]
chrono = { version = "0.4.23", features = ["serde"] }
once_cell = "1.16.0"
rgb = { version = "0.8.34", features = ["serde"] }
serde = "1.0.150"
serde_json = "1.0.89"
timeago = "0.4.0"
url = { version = "2.3.1", features = ["serde"] }
web-sys = { version = "0.3.60", features = ["MouseEvent", "SubmitEvent"] }
yew = { version = "0.20.0", features = ["csr"] }
yew-hooks = "0.2.0"
[build-dependencies]
eyre = "0.6.8"
once_cell = "1.16.0"
serde_json = { version = "1.0.89", features = ["preserve_order"] }
toml = { version = "0.5.9", features = ["preserve_order"] }
wasm-pack = "0.10.3"