2021-06-16 11:19:37 -04:00
|
|
|
[package]
|
|
|
|
name = "dioxus"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
|
|
|
|
"license" = "MIT/Apache-2.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-07-11 18:39:45 -04:00
|
|
|
dioxus-core = { path = "./packages/core" }
|
|
|
|
dioxus-core-macro = { path = "./packages/core-macro", optional = true }
|
|
|
|
dioxus-html = { path = "./packages/html", optional = true }
|
|
|
|
dioxus-web = { path = "./packages/web", optional = true }
|
2021-07-15 18:40:12 -04:00
|
|
|
dioxus-desktop = { path = "./packages/desktop", optional = true }
|
2021-07-11 18:39:45 -04:00
|
|
|
dioxus-hooks = { path = "./packages/hooks", optional = true }
|
2021-07-11 19:31:07 -04:00
|
|
|
dioxus-ssr = { path = "./packages/ssr", optional = true }
|
2021-07-15 18:40:12 -04:00
|
|
|
dioxus-mobile = { path = "./packages/mobile", optional = true }
|
2021-06-16 11:19:37 -04:00
|
|
|
|
|
|
|
[features]
|
2021-07-15 18:40:12 -04:00
|
|
|
# core
|
2021-07-16 16:11:25 -04:00
|
|
|
default = ["core", "ssr"]
|
2021-07-15 18:40:12 -04:00
|
|
|
core = ["macro", "hooks", "html"]
|
2021-07-11 14:49:52 -04:00
|
|
|
macro = ["dioxus-core-macro"]
|
|
|
|
hooks = ["dioxus-hooks"]
|
2021-07-07 18:17:00 -04:00
|
|
|
html = ["dioxus-html"]
|
2021-06-16 11:19:37 -04:00
|
|
|
|
2021-07-15 18:40:12 -04:00
|
|
|
# utilities
|
|
|
|
atoms = []
|
|
|
|
router = []
|
|
|
|
|
|
|
|
# targets
|
|
|
|
ssr = ["dioxus-ssr"]
|
|
|
|
web = ["dioxus-web"]
|
|
|
|
desktop = ["dioxus-desktop"]
|
|
|
|
mobile = ["dioxus-mobile"]
|
2021-07-11 14:49:52 -04:00
|
|
|
|
2021-06-16 23:37:55 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-07-14 02:04:19 -04:00
|
|
|
futures = "0.3.15"
|
|
|
|
log = "0.4.14"
|
|
|
|
num-format = "0.4.0"
|
|
|
|
separator = "0.4.1"
|
|
|
|
serde = { version = "1.0.126", features = ["derive"] }
|
|
|
|
surf = "2.2.0"
|
|
|
|
env_logger = "*"
|
|
|
|
async-std = { version = "1.9.0", features = ["attributes"] }
|
|
|
|
im-rc = "15.0.0"
|
|
|
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
|
|
|
fxhash = "0.2.1"
|
2021-07-16 16:11:25 -04:00
|
|
|
gloo-timers = "0.2.1"
|
2021-07-12 13:03:24 -04:00
|
|
|
|
2021-01-14 02:56:41 -05:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2021-03-02 00:14:28 -05:00
|
|
|
"packages/core",
|
2021-07-11 18:39:45 -04:00
|
|
|
"packages/core-macro",
|
2021-07-07 18:17:00 -04:00
|
|
|
"packages/html",
|
2021-07-11 18:39:45 -04:00
|
|
|
"packages/hooks",
|
2021-07-14 02:04:19 -04:00
|
|
|
"packages/web",
|
|
|
|
"packages/ssr",
|
2021-07-15 18:40:12 -04:00
|
|
|
"packages/desktop",
|
2021-07-16 00:27:06 -04:00
|
|
|
"packages/mobile",
|
2021-05-31 18:55:56 -04:00
|
|
|
]
|
2021-07-16 00:27:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
required-features = ["desktop"]
|
|
|
|
name = "webview"
|
|
|
|
path = "./examples/webview.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
required-features = ["desktop"]
|
|
|
|
name = "tailwind"
|
|
|
|
path = "./examples/tailwind.rs"
|