dioxus/examples/Cargo.toml

82 lines
1.6 KiB
TOML

[package]
name = "dioxus-examples"
version = "0.0.0"
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
fern = { version = "0.6.0", features = ["colored"] }
log = "0.4.1"
dioxus = { path = "../packages/dioxus" }
dioxus-ssr = { path = "../packages/ssr" }
rand = "0.8.2"
anyhow = "*"
[dev-dependencies]
# For the tide ssr examples
async-std = { version = "1.9.0", features = ["attributes"] }
tide = { version = "0.15.0" }
# For the livewview example
tide-websockets = "0.1.0"
serde_millis = "0.1"
serde_json = "1"
serde = { version = "1", features = ['derive'] }
# For the doc generator
pulldown-cmark = { version = "0.8.0", default-features = false }
dioxus-webview = { path = "../packages/webview", version = "0.0.0" }
dioxus-hooks = { path = "../packages/hooks", version = "0.0.0" }
# Shared functionality is done as a lib
[lib]
path = "common.rs"
# ================================
# Examples are manually keyed in
# ================================
[[example]]
path = "example_app.rs"
name = "example_app"
[[example]]
path = "website.rs"
name = "website"
# [[example]]
# path = "hello_web.rs"
# name = "hello_web"
# [[example]]
# path = "tide_ssr.rs"
# name = "tide_ssr"
# [[example]]
# path = "doc_generator.rs"
# name = "doc_generator"
# [[example]]
# path = "router.rs"
# name = "router"
# [[example]]
# path = "fc_macro.rs"
# name = "fc_macro"
# [[example]]
# path = "webview.rs"
# name = "webview"
# [[example]]
# path = "blah.rs"
# name = "blah"
# [[example]]
# path = "live.rs"
# name = "live"