diff options
author | Ashelyn Rose <git@ashen.earth> | 2025-04-19 18:39:22 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2025-04-19 18:39:22 -0600 |
commit | 55dd47aff347ee882f375b5cf880a299e633f556 (patch) | |
tree | b643473071db0ae1023d8b9856395ee1aeaaa507 /modules | |
parent | a35d336dc9a61fda931f4a9158205d590af87bd5 (diff) |
Async rendering
Diffstat (limited to 'modules')
-rw-r--r-- | modules/proc/Cargo.toml | 3 | ||||
-rw-r--r-- | modules/proc/src/lib.rs | 0 | ||||
-rw-r--r-- | modules/site_test/Cargo.toml | 2 | ||||
-rw-r--r-- | modules/site_test/src/main.rs | 2 |
4 files changed, 2 insertions, 5 deletions
diff --git a/modules/proc/Cargo.toml b/modules/proc/Cargo.toml deleted file mode 100644 index 16bcbb8..0000000 --- a/modules/proc/Cargo.toml +++ /dev/null @@ -1,3 +0,0 @@ -[package] -name = "morgana_proc" -edition = "2021" diff --git a/modules/proc/src/lib.rs b/modules/proc/src/lib.rs deleted file mode 100644 index e69de29..0000000 --- a/modules/proc/src/lib.rs +++ /dev/null diff --git a/modules/site_test/Cargo.toml b/modules/site_test/Cargo.toml index 118c9bd..e9031e5 100644 --- a/modules/site_test/Cargo.toml +++ b/modules/site_test/Cargo.toml @@ -3,4 +3,4 @@ name = "morgana_site_test" edition = "2021" [dependencies] -morgana = { path = "../../" } +morgana = { path = "../../", features = ["blocking"] } diff --git a/modules/site_test/src/main.rs b/modules/site_test/src/main.rs index 3062c11..7ef98a1 100644 --- a/modules/site_test/src/main.rs +++ b/modules/site_test/src/main.rs @@ -15,7 +15,7 @@ pub fn main() { ] }; - let text = morgana::render_tree(RenderNode::Component(Box::new(parent))); + let text = morgana::render_tree_blocking(RenderNode::Component(Box::new(parent))); println!("{text}") } |