|
@@ -1,61 +1,10 @@
|
|
-[package]
|
|
|
|
-name = "dioxus"
|
|
|
|
-version = "0.2.4"
|
|
|
|
-authors = ["Jonathan Kelley"]
|
|
|
|
-edition = "2021"
|
|
|
|
-description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
|
|
|
|
-license = "MIT OR Apache-2.0"
|
|
|
|
-repository = "https://github.com/DioxusLabs/dioxus/"
|
|
|
|
-homepage = "https://dioxuslabs.com"
|
|
|
|
-documentation = "https://dioxuslabs.com"
|
|
|
|
-keywords = ["dom", "ui", "gui", "react", "wasm"]
|
|
|
|
-rust-version = "1.60.0"
|
|
|
|
-
|
|
|
|
-[dependencies]
|
|
|
|
-dioxus-core = { path = "./packages/core", version = "^0.2.1" }
|
|
|
|
-dioxus-html = { path = "./packages/html", version = "^0.2.1", optional = true }
|
|
|
|
-dioxus-core-macro = { path = "./packages/core-macro", version = "^0.2.1", optional = true }
|
|
|
|
-dioxus-hooks = { path = "./packages/hooks", version = "^0.2.1", optional = true }
|
|
|
|
-fermi = { path = "./packages/fermi", version = "^0.2.1", optional = true }
|
|
|
|
-
|
|
|
|
-dioxus-web = { path = "./packages/web", version = "^0.2.1", optional = true }
|
|
|
|
-dioxus-desktop = { path = "./packages/desktop", version = "^0.2.3", optional = true }
|
|
|
|
-dioxus-ssr = { path = "./packages/ssr", version = "^0.2.1", optional = true }
|
|
|
|
-
|
|
|
|
-dioxus-router = { path = "./packages/router", version = "^0.2.3", optional = true }
|
|
|
|
-dioxus-interpreter-js = { path = "./packages/interpreter", version = "^0.2.1", optional = true }
|
|
|
|
-dioxus-tui = { path = "./packages/tui", version = "^0.2.2", optional = true }
|
|
|
|
-
|
|
|
|
-dioxus-rsx = { path = "./packages/rsx", optional = true }
|
|
|
|
-dioxus-rsx-interpreter = { path = "./packages/rsx_interpreter", optional = true }
|
|
|
|
-dioxus-liveview = { path = "./packages/liveview", version = "^0.1.0", optional = true }
|
|
|
|
-
|
|
|
|
-dioxus-native-core = { path = "./packages/native-core", version = "^0.2.0", optional = true }
|
|
|
|
-dioxus-native-core-macro = { path = "./packages/native-core-macro", version = "^0.2.0", optional = true }
|
|
|
|
-
|
|
|
|
-# dioxus-mobile = { path = "./packages/mobile", version = "^0.2.0", optional = true }
|
|
|
|
-# dioxus-rsx = { path = "./packages/rsx", optional = true }
|
|
|
|
-# macro = ["dioxus-core-macro", "dioxus-rsx"]
|
|
|
|
-
|
|
|
|
-[features]
|
|
|
|
-default = ["macro", "hooks", "html"]
|
|
|
|
-
|
|
|
|
-macro = ["dioxus-core-macro", "dioxus-rsx"]
|
|
|
|
-hooks = ["dioxus-hooks"]
|
|
|
|
-html = ["dioxus-html"]
|
|
|
|
-ssr = ["dioxus-ssr"]
|
|
|
|
-web = ["dioxus-web", "dioxus-router?/web"]
|
|
|
|
-desktop = ["dioxus-desktop"]
|
|
|
|
-router = ["dioxus-router"]
|
|
|
|
-tui = ["dioxus-tui"]
|
|
|
|
-liveview = ["dioxus-liveview"]
|
|
|
|
-hot-reload = ["dioxus-core-macro/hot-reload", "dioxus-rsx-interpreter", "dioxus-desktop?/hot-reload", "dioxus-web?/hot-reload", "dioxus-router?/hot-reload"]
|
|
|
|
-native-core = ["dioxus-native-core", "dioxus-native-core-macro"]
|
|
|
|
|
|
|
|
[workspace]
|
|
[workspace]
|
|
members = [
|
|
members = [
|
|
|
|
+ "packages/dioxus",
|
|
"packages/core",
|
|
"packages/core",
|
|
"packages/core-macro",
|
|
"packages/core-macro",
|
|
|
|
+ "packages/router",
|
|
"packages/html",
|
|
"packages/html",
|
|
"packages/hooks",
|
|
"packages/hooks",
|
|
"packages/web",
|
|
"packages/web",
|
|
@@ -71,11 +20,32 @@ members = [
|
|
"packages/rsx_interpreter",
|
|
"packages/rsx_interpreter",
|
|
"packages/native-core",
|
|
"packages/native-core",
|
|
"packages/native-core-macro",
|
|
"packages/native-core-macro",
|
|
- "packages/rsx-prelude",
|
|
|
|
"docs/guide",
|
|
"docs/guide",
|
|
]
|
|
]
|
|
|
|
|
|
|
|
+
|
|
|
|
+# This is a "virtual package"
|
|
|
|
+# It is not meant to be published, but is used so "cargo run --example XYZ" works properly
|
|
|
|
+[package]
|
|
|
|
+name = "dioxus-examples"
|
|
|
|
+version = "0.0.0"
|
|
|
|
+authors = ["Jonathan Kelley"]
|
|
|
|
+edition = "2021"
|
|
|
|
+description = "Top level crate for the Dioxus repository"
|
|
|
|
+license = "MIT OR Apache-2.0"
|
|
|
|
+repository = "https://github.com/DioxusLabs/dioxus/"
|
|
|
|
+homepage = "https://dioxuslabs.com"
|
|
|
|
+documentation = "https://dioxuslabs.com"
|
|
|
|
+keywords = ["dom", "ui", "gui", "react", "wasm"]
|
|
|
|
+rust-version = "1.60.0"
|
|
|
|
+
|
|
|
|
+
|
|
[dev-dependencies]
|
|
[dev-dependencies]
|
|
|
|
+dioxus = { path = "./packages/dioxus" }
|
|
|
|
+dioxus-desktop = { path = "./packages/desktop" }
|
|
|
|
+dioxus-ssr = { path = "./packages/ssr" }
|
|
|
|
+dioxus-router = { path = "./packages/router" }
|
|
|
|
+fermi = { path = "./packages/fermi" }
|
|
futures-util = "0.3.21"
|
|
futures-util = "0.3.21"
|
|
log = "0.4.14"
|
|
log = "0.4.14"
|
|
num-format = "0.4.0"
|
|
num-format = "0.4.0"
|
|
@@ -87,21 +57,6 @@ serde_json = "1.0.79"
|
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
|
tokio = { version = "1.16.1", features = ["full"] }
|
|
tokio = { version = "1.16.1", features = ["full"] }
|
|
reqwest = { version = "0.11.9", features = ["json"] }
|
|
reqwest = { version = "0.11.9", features = ["json"] }
|
|
-dioxus = { path = ".", features = ["desktop", "ssr", "router", "fermi", "tui", "hot-reload"] }
|
|
|
|
fern = { version = "0.6.0", features = ["colored"] }
|
|
fern = { version = "0.6.0", features = ["colored"] }
|
|
-criterion = "0.3.5"
|
|
|
|
thiserror = "1.0.30"
|
|
thiserror = "1.0.30"
|
|
env_logger = "0.9.0"
|
|
env_logger = "0.9.0"
|
|
-
|
|
|
|
-
|
|
|
|
-[[bench]]
|
|
|
|
-name = "create"
|
|
|
|
-harness = false
|
|
|
|
-
|
|
|
|
-[[bench]]
|
|
|
|
-name = "jsframework"
|
|
|
|
-harness = false
|
|
|
|
-
|
|
|
|
-[[bench]]
|
|
|
|
-name = "tui_update"
|
|
|
|
-harness = false
|
|
|