dioxus/examples/Cargo.toml

83 lines
1.6 KiB
TOML
Raw Normal View History

2021-01-15 23:25:29 -05:00
[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"
2021-01-20 12:04:27 -05:00
dioxus = { path = "../packages/dioxus" }
2021-01-21 02:25:44 -05:00
dioxus-ssr = { path = "../packages/ssr" }
2021-01-15 23:25:29 -05:00
rand = "0.8.2"
2021-01-21 11:10:31 -05:00
anyhow = "*"
2021-01-15 23:25:29 -05:00
[dev-dependencies]
2021-01-20 12:04:27 -05:00
# For the tide ssr examples
2021-01-15 23:25:29 -05:00
async-std = { version = "1.9.0", features = ["attributes"] }
tide = { version = "0.15.0" }
2021-01-29 11:57:52 -05:00
# For the livewview example
tide-websockets = "0.1.0"
serde_millis = "0.1"
serde_json = "1"
serde = { version = "1", features = ['derive'] }
2021-01-20 12:04:27 -05:00
# For the doc generator
pulldown-cmark = { version = "0.8.0", default-features = false }
2021-01-21 11:10:31 -05:00
dioxus-webview = { path = "../packages/webview", version = "0.0.0" }
2021-01-22 15:50:16 -05:00
dioxus-hooks = { path = "../packages/hooks", version = "0.0.0" }
2021-01-15 23:25:29 -05:00
2021-01-29 11:57:52 -05:00
# Shared functionality is done as a lib
2021-01-15 23:25:29 -05:00
[lib]
path = "common.rs"
2021-01-29 11:57:52 -05:00
# ================================
# Examples are manually keyed in
# ================================
2021-02-09 12:33:54 -05:00
[[example]]
path = "example_app.rs"
name = "example_app"
[[example]]
path = "website.rs"
name = "website"
# [[example]]
# path = "hello_web.rs"
# name = "hello_web"
2021-01-15 23:25:29 -05:00
# [[example]]
# path = "tide_ssr.rs"
# name = "tide_ssr"
2021-01-20 12:04:27 -05:00
# [[example]]
# path = "doc_generator.rs"
# name = "doc_generator"
2021-01-20 12:04:27 -05:00
# [[example]]
# path = "router.rs"
# name = "router"
2021-01-21 02:25:44 -05:00
# [[example]]
# path = "fc_macro.rs"
# name = "fc_macro"
2021-01-21 11:10:31 -05:00
# [[example]]
# path = "webview.rs"
# name = "webview"
2021-01-29 11:57:52 -05:00
# [[example]]
# path = "blah.rs"
# name = "blah"
2021-01-29 11:57:52 -05:00
# [[example]]
# path = "live.rs"
# name = "live"