2023-04-20 12:40:40 +02:00
|
|
|
[package]
|
|
|
|
version = "0.1.0"
|
|
|
|
name = "rih"
|
|
|
|
authors = [ "Vincent Ambo <tazjin@tvl.su>" ]
|
|
|
|
license = "Proprietary"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
fuzzy-matcher = "0.3.7"
|
2023-06-02 11:48:52 +02:00
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2023-04-20 12:40:40 +02:00
|
|
|
gloo = "0.8"
|
2023-06-02 11:48:52 +02:00
|
|
|
js-sys = "0.3"
|
|
|
|
rand = "0.8"
|
2023-04-20 12:40:40 +02:00
|
|
|
rust_iso3166 = "0.1.10"
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde_urlencoded = "*" # pinned by yew
|
|
|
|
yew = { version = "0.20", features = ["csr"] }
|
|
|
|
yew-router = "0.17"
|
2023-06-02 22:43:52 +02:00
|
|
|
wasm-bindgen-futures = "0.4"
|
2023-04-20 12:40:40 +02:00
|
|
|
|
|
|
|
# needs to be in sync with nixpkgs
|
2023-12-27 10:29:50 +01:00
|
|
|
wasm-bindgen = "= 0.2.89"
|
2023-06-09 14:52:34 +02:00
|
|
|
uuid = { version = "1.3.3", features = ["v4", "serde"] }
|
2023-04-20 12:40:40 +02:00
|
|
|
|
|
|
|
[dependencies.serde]
|
|
|
|
version = "*" # pinned by yew
|
|
|
|
features = [ "derive" ]
|
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "*" # pinned by yew
|
|
|
|
features = [ "HtmlDetailsElement" ]
|
|
|
|
|
2023-05-26 16:27:35 +02:00
|
|
|
[dependencies.static_markdown]
|
|
|
|
path = "./static-markdown"
|
|
|
|
|
2023-04-20 12:40:40 +02:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
opt-level = 'z'
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
|
|
wasm-opt = ['-Os']
|