diff options
author | Vincent Ambo <mail@tazj.in> | 2023-04-20T10·40+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-05-27T11·40+0000 |
commit | 99c78966372017cb3b7bf021f08520a040004b0c (patch) | |
tree | ba5d71df0dcd7a662d19525254648106e5da9e94 /corp/rih/Cargo.toml | |
parent | 3b33c19a9c43cf66c2d28ffa3d49bb6e8757d9b1 (diff) |
feat(corp/rih): implement initial frontend application r/6208
This doesn't actually submit anything to the (not-yet-existing) backend, but will help the designers figure out what we're actually looking for here. Change-Id: I680d88151fb0706953f18eb6256da6f205da7ffb Reviewed-on: https://cl.tvl.fyi/c/depot/+/8489 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'corp/rih/Cargo.toml')
-rw-r--r-- | corp/rih/Cargo.toml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/corp/rih/Cargo.toml b/corp/rih/Cargo.toml new file mode 100644 index 000000000000..e624e4e6dc1e --- /dev/null +++ b/corp/rih/Cargo.toml @@ -0,0 +1,36 @@ +[package] +version = "0.1.0" +name = "rih" +authors = [ "Vincent Ambo <tazjin@tvl.su>" ] +license = "Proprietary" +edition = "2021" + +[dependencies] +fuzzy-matcher = "0.3.7" +gloo = "0.8" +rust_iso3166 = "0.1.10" +serde_json = "1.0" +serde_urlencoded = "*" # pinned by yew +yew = { version = "0.20", features = ["csr"] } +yew-router = "0.17" +rand = "0.8" +getrandom = { version = "0.2", features = ["js"] } + +# needs to be in sync with nixpkgs +wasm-bindgen = "= 0.2.84" + +[dependencies.serde] +version = "*" # pinned by yew +features = [ "derive" ] + +[dependencies.web-sys] +version = "*" # pinned by yew +features = [ "HtmlDetailsElement" ] + +[profile.release] +lto = true +opt-level = 'z' +codegen-units = 1 + +[package.metadata.wasm-pack.profile.release] +wasm-opt = ['-Os'] |