move dioxus copy into a separate package
This commit is contained in:
1 parent
998f9e0d00
commit
2b6b3b67b1
6 files changed
+14
-4
No files matched your search
@@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "dioxus-copy"
|
||||
authors = ["Evan Almloff"]
|
||||
version = "0.0.0"
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
bumpalo = { version = "3.6" }
|
||||
File renamed without changes.
@@ -8,5 +8,4 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { workspace = true }
|
||||
slab = { workspace = true }
|
||||
bumpalo = { version = "3.6" }
|
||||
dioxus-copy = { workspace = true }
|
||||
@@ -5,7 +5,6 @@ use std::{
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
mod copy;
|
||||
mod rt;
|
||||
pub use rt::*;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ use std::rc::Rc;
|
||||
|
||||
use dioxus_core::prelude::{consume_context, provide_root_context};
|
||||
|
||||
use crate::copy::{CopyHandle, Owner, Store};
|
||||
use dioxus_copy::{CopyHandle, Owner, Store};
|
||||
|
||||
fn current_store() -> Store {
|
||||
match consume_context() {
|
||||
|
||||
Reference in new issue
Block a user