2021-06-03 20:21:09 +00:00
|
|
|
[package]
|
|
|
|
name = "tenebrous-web-ui"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["projectmoon <projectmoon@agnos.is>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2021-06-06 14:48:29 +00:00
|
|
|
[build-dependencies]
|
|
|
|
tenebrous-api = { path = "../../api" }
|
|
|
|
|
2021-06-03 20:21:09 +00:00
|
|
|
[dependencies]
|
2021-06-17 14:31:18 +00:00
|
|
|
yew = { version = "0.18" }
|
|
|
|
yewtil = {version = "0.4" }
|
|
|
|
yew-router = {version = "0.15" }
|
|
|
|
yewdux = { git = "https://github.com/intendednull/yewdux", rev = "v0.6.2"}
|
2021-06-05 14:34:22 +00:00
|
|
|
wasm-bindgen = { version = "0.2" }
|
2021-06-05 21:42:13 +00:00
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
js-sys = "0.3"
|
2021-06-06 14:48:29 +00:00
|
|
|
graphql_client = { git = "https://github.com/graphql-rust/graphql-client", branch = "master" }
|
|
|
|
graphql_client_web = { git = "https://github.com/graphql-rust/graphql-client", branch = "master" }
|
|
|
|
serde = { version = "1.0.67", features = ["derive"] }
|
2021-06-12 14:52:55 +00:00
|
|
|
serde_json = {version = "1.0" }
|
2021-06-06 22:32:48 +00:00
|
|
|
thiserror = "1.0"
|
2021-06-20 21:45:55 +00:00
|
|
|
jsonwebtoken = "7.2"
|
2021-06-06 14:48:29 +00:00
|
|
|
|
2021-06-11 13:46:05 +00:00
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3"
|
|
|
|
features = [
|
|
|
|
'Headers',
|
|
|
|
'Request',
|
|
|
|
'RequestInit',
|
|
|
|
'RequestMode',
|
|
|
|
'Response',
|
|
|
|
'Window',
|
|
|
|
]
|
|
|
|
|
2021-06-05 14:34:22 +00:00
|
|
|
# hopefully we can add grpc-web later instead of graphql.
|
|
|
|
# prost = { version = "0.7.0", default-features = false }
|
|
|
|
# tonic = { git = "https://github.com/hyperium/tonic", branch = "master", default-features = false, features = ["codegen", "prost"] }
|
|
|
|
# tenebrous-rpc = { path = "../../rpc", default_features = false, features = ["wasm"] }
|
|
|
|
|
|
|
|
# [build-dependencies]
|
|
|
|
# tonic-build = { version = "0.4", default-features = false, features = ["prost"] }
|