wip: prepare to change our fragment pattern. Add some more docs

This commit is contained in:
Jonathan Kelley committed 2021-12-18 15:17:32 -05:00
1 parent 2b928372fb
commit 2c3a046426
10 files changed
+108 -71

No files matched your search

+26 -44
View File
@@ -1,44 +1,55 @@
[package]
name = "dioxus"
version = "0.1.1"
version = "0.1.2"
authors = ["Jonathan Kelley"]
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
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react", "wasm"]
[dependencies]
dioxus-core = { path = "./packages/core", version ="^0.1.3"}
dioxus-router = { path = "./packages/router", optional = true }
dioxus-core-macro = { path = "./packages/core-macro", optional = true }
dioxus-core = { path = "./packages/core", version = "^0.1.3" }
dioxus-html = { path = "./packages/html", optional = true }
dioxus-core-macro = { path = "./packages/core-macro", optional = true }
dioxus-hooks = { path = "./packages/hooks", optional = true }
dioxus-ssr = { path = "./packages/ssr", optional = true }
dioxus-web = { path = "./packages/web", optional = true }
dioxus-desktop = { path = "./packages/desktop", optional = true }
dioxus-hooks = { path = "./packages/hooks", optional = true }
dioxus-ssr = { path = "./packages/ssr", optional = true }
dioxus-router = { path = "./packages/router", optional = true }
dioxus-mobile = { path = "./packages/mobile", optional = true }
dioxus-liveview = { path = "./packages/liveview", optional = true }
[features]
# core
default = ["core"]
core = ["macro", "hooks", "html"]
default = ["macro", "hooks", "html"]
macro = ["dioxus-core-macro"]
hooks = ["dioxus-hooks"]
html = ["dioxus-html"]
router = ["dioxus-router"]
liveview = ["dioxus-liveview"]
# utilities
atoms = []
# targets
ssr = ["dioxus-ssr"]
web = ["dioxus-web"]
desktop = ["dioxus-desktop"]
mobile = ["dioxus-mobile"]
[workspace]
members = [
"packages/core",
"packages/core-macro",
"packages/html",
"packages/hooks",
"packages/web",
"packages/ssr",
"packages/desktop",
"packages/mobile",
]
[dev-dependencies]
futures-util = "0.3.17"
log = "0.4.14"
@@ -48,7 +59,6 @@ serde = { version = "1.0.131", features = ["derive"] }
im-rc = "15.0.0"
fxhash = "0.2.1"
anyhow = "1.0.51"
# reqwest = "0.11.4"
serde_json = "1.0.73"
simple_logger = "1.16.0"
@@ -69,31 +79,3 @@ wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
[dev-dependencies.getrandom]
version = "0.2.3"
features = ["js"]
[workspace]
members = [
"packages/core",
"packages/core-macro",
"packages/html",
"packages/hooks",
"packages/web",
"packages/ssr",
"packages/desktop",
"packages/mobile",
]
[[example]]
required-features = ["desktop"]
name = "webview"
path = "./examples/webview.rs"
[[example]]
required-features = ["desktop"]
name = "tailwind"
path = "./examples/tailwind.rs"
# [patch.crates-io]
# wasm-bindgen = { path = "../Tinkering/wasm-bindgen" }