forked from projectmoon/tenebrous-dicebot
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
|
[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"]
|
||
|
|
||
|
[build-dependencies]
|
||
|
tenebrous-api = { path = "../../api" }
|
||
|
|
||
|
[dependencies]
|
||
|
yew = { version = "0.18" }
|
||
|
yewtil = {version = "0.4" }
|
||
|
yew-router = {version = "0.15" }
|
||
|
yewdux = { git = "https://github.com/intendednull/yewdux", rev = "v0.6.2"}
|
||
|
wasm-bindgen = { version = "0.2" }
|
||
|
wasm-bindgen-futures = "0.4"
|
||
|
js-sys = "0.3"
|
||
|
#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" }
|
||
|
graphql_client = "0.10.0"
|
||
|
serde = { version = "1.0.67", features = ["derive"] }
|
||
|
serde_json = {version = "1.0" }
|
||
|
thiserror = "1.0"
|
||
|
jsonwebtoken = "7.2"
|
||
|
|
||
|
[dependencies.web-sys]
|
||
|
version = "0.3"
|
||
|
features = [
|
||
|
'Headers',
|
||
|
'Request',
|
||
|
'RequestInit',
|
||
|
'RequestMode',
|
||
|
'Response',
|
||
|
'Window',
|
||
|
]
|
||
|
|
||
|
# 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"] }
|