Feat: dioxus frontend crate

This commit is contained in:
Jonathan Kelley committed 2021-01-20 12:04:27 -05:00
1 parent 6c1205e91b
commit 4d7ac5bb5d
13 files changed
+465 -15

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
[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]
dioxus-core = { path = "../core", version = "0.1.0" }
+7
View File
@@ -0,0 +1,7 @@
# Dioxus
This crate serves as the thin frontend over dioxus-core and dioxus-app. Here, we support docs, feature flags, and incorporate some extra tools and utilities into a consistent API.
Ideally, we can prevent cfg creep into the core crate by moving it all into this frontend crate.
For now, see dioxus-core for all docs and details
+16
View File
@@ -0,0 +1,16 @@
pub mod prelude {
pub use dioxus_core::prelude::*;
}
// Re-export core completely
pub use dioxus_core as core;
struct App {}
fn new() -> App {
todo!()
}
struct Router {}
struct Route {}