Bump crate versions, fix any publish errors

This commit is contained in:
Jonathan Kelley committed 2023-07-31 18:49:54 -07:00
1 parent f80c3c9ffb
commit 39e89c1fac
35 files changed
+74 -69

No files matched your search

+29 -25
View File
@@ -1,4 +1,5 @@
[workspace] [workspace]
resolver = "2"
members = [ members = [
"packages/dioxus", "packages/dioxus",
"packages/core", "packages/core",
@@ -47,34 +48,37 @@ members = [
] ]
exclude = ["examples/mobile_demo"] exclude = ["examples/mobile_demo"]
[workspace.package]
version = "0.4.0"
# dependencies that are shared across packages # dependencies that are shared across packages
[workspace.dependencies] [workspace.dependencies]
dioxus = { path = "packages/dioxus" } dioxus = { path = "packages/dioxus", version = "0.4.0" }
dioxus-core = { path = "packages/core" } dioxus-core = { path = "packages/core", version = "0.4.0" }
dioxus-core-macro = { path = "packages/core-macro" } dioxus-core-macro = { path = "packages/core-macro", version = "0.4.0" }
dioxus-router = { path = "packages/router" } dioxus-router = { path = "packages/router", version = "0.4.0" }
dioxus-router-macro = { path = "packages/router-macro" } dioxus-router-macro = { path = "packages/router-macro", version = "0.4.0" }
dioxus-html = { path = "packages/html" } dioxus-html = { path = "packages/html", version = "0.4.0" }
dioxus-hooks = { path = "packages/hooks" } dioxus-hooks = { path = "packages/hooks", version = "0.4.0" }
dioxus-web = { path = "packages/web" } dioxus-web = { path = "packages/web", version = "0.4.0" }
dioxus-ssr = { path = "packages/ssr" } dioxus-ssr = { path = "packages/ssr", version = "0.4.0" }
dioxus-desktop = { path = "packages/desktop" } dioxus-desktop = { path = "packages/desktop", version = "0.4.0" }
dioxus-mobile = { path = "packages/mobile" } dioxus-mobile = { path = "packages/mobile", version = "0.4.0" }
dioxus-interpreter-js = { path = "packages/interpreter" } dioxus-interpreter-js = { path = "packages/interpreter", version = "0.4.0" }
fermi = { path = "packages/fermi" } fermi = { path = "packages/fermi", version = "0.4.0" }
dioxus-liveview = { path = "packages/liveview" } dioxus-liveview = { path = "packages/liveview", version = "0.4.0" }
dioxus-autofmt = { path = "packages/autofmt" } dioxus-autofmt = { path = "packages/autofmt", version = "0.4.0" }
dioxus-check = { path = "packages/check" } dioxus-check = { path = "packages/check", version = "0.4.0" }
dioxus-rsx = { path = "packages/rsx" } dioxus-rsx = { path = "packages/rsx", version = "0.4.0" }
dioxus-tui = { path = "packages/dioxus-tui" } dioxus-tui = { path = "packages/dioxus-tui", version = "0.4.0" }
rink = { path = "packages/rink" } plasmo = { path = "packages/rink", version = "0.4.0" }
dioxus-native-core = { path = "packages/native-core" } dioxus-native-core = { path = "packages/native-core", version = "0.4.0" }
dioxus-native-core-macro = { path = "packages/native-core-macro" } dioxus-native-core-macro = { path = "packages/native-core-macro", version = "0.4.0" }
rsx-rosetta = { path = "packages/rsx-rosetta" } rsx-rosetta = { path = "packages/rsx-rosetta", version = "0.4.0" }
dioxus-signals = { path = "packages/signals" } dioxus-signals = { path = "packages/signals" }
dioxus-hot-reload = { path = "packages/hot-reload" } dioxus-hot-reload = { path = "packages/hot-reload", version = "0.4.0" }
dioxus-fullstack = { path = "packages/fullstack" } dioxus-fullstack = { path = "packages/fullstack", version = "0.4.0" }
dioxus_server_macro = { path = "packages/server-macro" } dioxus_server_macro = { path = "packages/server-macro", version = "0.4.0" }
log = "0.4.19" log = "0.4.19"
tokio = "1.28" tokio = "1.28"
slab = "0.4.2" slab = "0.4.2"
+2 -2
View File
@@ -8,8 +8,8 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
dioxus = { path = "../../packages/dioxus", version = "^0.3.0"} dioxus = { path = "../../packages/dioxus", version = "*" }
dioxus-web = { path = "../../packages/web", version = "^0.3.0"} dioxus-web = { path = "../../packages/web", version = "*" }
log = "0.4.6" log = "0.4.6"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-autofmt" name = "dioxus-autofmt"
version = "0.3.0" version = { workspace = true }
edition = "2021" edition = "2021"
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
description = "Autofomatter for Dioxus RSX" description = "Autofomatter for Dioxus RSX"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-check" name = "dioxus-check"
version = "0.1.0" version = { workspace = true }
edition = "2021" edition = "2021"
authors = ["Dioxus Labs"] authors = ["Dioxus Labs"]
description = "Checks Dioxus RSX files for issues" description = "Checks Dioxus RSX files for issues"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-cli" name = "dioxus-cli"
version = "0.3.1" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2021" edition = "2021"
description = "CLI tool for developing, testing, and publishing Dioxus apps" description = "CLI tool for developing, testing, and publishing Dioxus apps"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-core-macro" name = "dioxus-core-macro"
version = "0.3.0" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2021" edition = "2021"
description = "Core macro for Dioxus Virtual DOM" description = "Core macro for Dioxus Virtual DOM"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-core" name = "dioxus-core"
version = "0.4.0" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-desktop" name = "dioxus-desktop"
version = "0.3.0" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "WebView renderer for Dioxus" description = "WebView renderer for Dioxus"
+2 -2
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-tui" name = "dioxus-tui"
version = "0.2.2" version = { workspace = true }
authors = ["Jonathan Kelley, Evan Almloff"] authors = ["Jonathan Kelley, Evan Almloff"]
edition = "2021" edition = "2021"
description = "TUI-based renderer for Dioxus" description = "TUI-based renderer for Dioxus"
@@ -16,7 +16,7 @@ dioxus-html = { workspace = true }
dioxus-native-core = { workspace = true, features = ["dioxus"] } dioxus-native-core = { workspace = true, features = ["dioxus"] }
dioxus-native-core-macro = { workspace = true } dioxus-native-core-macro = { workspace = true }
dioxus-hot-reload = { workspace = true, optional = true } dioxus-hot-reload = { workspace = true, optional = true }
rink = { workspace = true } plasmo = { workspace = true }
crossterm = "0.26.0" crossterm = "0.26.0"
tokio = { workspace = true, features = ["full"] } tokio = { workspace = true, features = ["full"] }
+1 -1
View File
@@ -11,7 +11,7 @@ use dioxus_html::{
}; };
use dioxus_native_core::NodeId; use dioxus_native_core::NodeId;
use rink::query::{ElementRef, Query}; use plasmo::query::{ElementRef, Query};
pub(crate) fn find_mount_events(mutations: &Mutations) -> Vec<ElementId> { pub(crate) fn find_mount_events(mutations: &Mutations) -> Vec<ElementId> {
let mut mount_events = Vec::new(); let mut mount_events = Vec::new();
+3 -3
View File
@@ -12,8 +12,8 @@ use dioxus_native_core::dioxus::{DioxusState, NodeImmutableDioxusExt};
use dioxus_native_core::prelude::*; use dioxus_native_core::prelude::*;
use element::{create_mounted_events, find_mount_events}; use element::{create_mounted_events, find_mount_events};
pub use rink::{query::Query, Config, RenderingMode, Size, TuiContext}; pub use plasmo::{query::Query, Config, RenderingMode, Size, TuiContext};
use rink::{render, Driver}; use plasmo::{render, Driver};
pub fn launch(app: Component<()>) { pub fn launch(app: Component<()>) {
launch_cfg(app, Config::default()) launch_cfg(app, Config::default())
@@ -116,7 +116,7 @@ impl Driver for DioxusRenderer {
rdom: &Arc<RwLock<RealDom>>, rdom: &Arc<RwLock<RealDom>>,
id: NodeId, id: NodeId,
event: &str, event: &str,
value: Rc<rink::EventData>, value: Rc<plasmo::EventData>,
bubbles: bool, bubbles: bool,
) { ) {
let id = { rdom.read().unwrap().get(id).unwrap().mounted_id() }; let id = { rdom.read().unwrap().get(id).unwrap().mounted_id() };
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus" name = "dioxus"
version = "0.3.2" version = { workspace = true }
authors = ["Jonathan Kelley", "Dioxus Labs", "ealmloff"] authors = ["Jonathan Kelley", "Dioxus Labs", "ealmloff"]
edition = "2021" edition = "2021"
description = "Portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust" description = "Portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust"
+1
View File
@@ -2,6 +2,7 @@
name = "dioxus-ext" name = "dioxus-ext"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "fermi" name = "fermi"
version = "0.3.0" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "Global state management for Dioxus" description = "Global state management for Dioxus"
+2 -2
View File
@@ -1,13 +1,13 @@
[package] [package]
name = "dioxus-fullstack" name = "dioxus-fullstack"
authors = ["Jonathan Kelley, Evan Almloff"] authors = ["Jonathan Kelley, Evan Almloff"]
version = "0.3.0" version = { workspace = true }
edition = "2021" edition = "2021"
description = "Fullstack Dioxus Utilities" description = "Fullstack Dioxus Utilities"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/" repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com" homepage = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react", "ssr", "fullstack"] keywords = ["ui", "gui", "react", "ssr", "fullstack"]
[dependencies] [dependencies]
# server functions # server functions
+3 -3
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-hooks" name = "dioxus-hooks"
version = "0.3.1" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "Basic useful hooks for Dioxus." description = "Basic useful hooks for Dioxus."
@@ -18,8 +18,8 @@ dioxus-core = { workspace = true }
futures-channel = { workspace = true } futures-channel = { workspace = true }
log = { workspace = true } log = { workspace = true }
thiserror = { workspace = true } thiserror = { workspace = true }
debug-cell = { git = "https://github.com/Niedzwiedzw/debug-cell", rev = "3352a1f8aff19f56f5e3b2018200a3338fd43d2e" } # waiting for the merge / official DioxusLabs fork slab = { workspace = true }
slab.workspace = true dioxus-debug-cell = "0.1.1"
[dev-dependencies] [dev-dependencies]
futures-util = { workspace = true, default-features = false } futures-util = { workspace = true, default-features = false }
+1 -1
View File
@@ -3,7 +3,7 @@ use dioxus_core::{ScopeId, ScopeState};
use std::{collections::HashSet, rc::Rc, sync::Arc}; use std::{collections::HashSet, rc::Rc, sync::Arc};
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
pub use debug_cell::{ pub use dioxus_debug_cell::{
error::{BorrowError, BorrowMutError}, error::{BorrowError, BorrowMutError},
Ref, RefCell, RefMut, Ref, RefCell, RefMut,
}; };
+1 -1
View File
@@ -1,7 +1,7 @@
[package] [package]
name = "dioxus-hot-reload" name = "dioxus-hot-reload"
authors = ["Jonathan Kelley", "Evan Almloff"] authors = ["Jonathan Kelley", "Evan Almloff"]
version = "0.1.1" version = { workspace = true }
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/" repository = "https://github.com/DioxusLabs/dioxus/"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-html" name = "dioxus-html"
version = "0.3.1" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-interpreter-js" name = "dioxus-interpreter-js"
version = "0.4.0" version = { workspace = true }
edition = "2018" edition = "2018"
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
description = "JS Intepreter for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences" description = "JS Intepreter for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-liveview" name = "dioxus-liveview"
version = "0.3.1" version = { workspace = true }
edition = "2021" edition = "2021"
repository = "https://github.com/DioxusLabs/dioxus/" repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com/docs/0.3/guide/en/getting_started/liveview.html" homepage = "https://dioxuslabs.com/docs/0.3/guide/en/getting_started/liveview.html"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-mobile" name = "dioxus-mobile"
version = "0.3.0" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "Mobile-compatible renderer for Dioxus" description = "Mobile-compatible renderer for Dioxus"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-native-core-macro" name = "dioxus-native-core-macro"
version = "0.3.0" version = { workspace = true }
edition = "2021" edition = "2021"
description = "Build natively rendered apps with Dioxus" description = "Build natively rendered apps with Dioxus"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-native-core" name = "dioxus-native-core"
version = "0.2.0" version = { workspace = true }
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/" repository = "https://github.com/DioxusLabs/dioxus/"
+3 -3
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rink" name = "plasmo"
version = "0.2.2" version = { workspace = true }
authors = ["Jonathan Kelley, Evan Almloff"] authors = ["Jonathan Kelley, Evan Almloff"]
edition = "2021" edition = "2021"
description = "TUI-based renderer for Dioxus" description = "TUI-based renderer for Dioxus"
@@ -33,4 +33,4 @@ criterion = "0.3.5"
[features] [features]
default = [] default = []
parallel = ["shipyard/parallel"] parallel = ["shipyard/parallel"]
+1 -1
View File
@@ -4,7 +4,7 @@ use dioxus_native_core::{
real_dom::{NodeImmutable, NodeTypeMut}, real_dom::{NodeImmutable, NodeTypeMut},
NodeId, NodeId,
}; };
use rink::{render, Config, Driver, EventData}; use plasmo::{render, Config, Driver, EventData};
use std::rc::Rc; use std::rc::Rc;
use std::sync::{Arc, RwLock}; use std::sync::{Arc, RwLock};
+1 -1
View File
@@ -4,7 +4,7 @@ use dioxus_native_core::{
real_dom::{NodeImmutable, NodeTypeMut}, real_dom::{NodeImmutable, NodeTypeMut},
NodeId, NodeId,
}; };
use rink::{render, Config, Driver, EventData}; use plasmo::{render, Config, Driver, EventData};
use rustc_hash::FxHashSet; use rustc_hash::FxHashSet;
use std::rc::Rc; use std::rc::Rc;
use std::sync::{Arc, RwLock}; use std::sync::{Arc, RwLock};
+1 -1
View File
@@ -3,7 +3,7 @@ use dioxus_native_core::{
real_dom::{NodeImmutable, NodeTypeMut}, real_dom::{NodeImmutable, NodeTypeMut},
NodeId, NodeId,
}; };
use rink::{render, Config, Driver, EventData}; use plasmo::{render, Config, Driver, EventData};
use std::rc::Rc; use std::rc::Rc;
use std::sync::{Arc, RwLock}; use std::sync::{Arc, RwLock};
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-router-macro" name = "dioxus-router-macro"
version = "0.3.0" version = { workspace = true }
authors = ["Evan Almloff"] authors = ["Evan Almloff"]
edition = "2021" edition = "2021"
description = "Macro for Dioxus Router" description = "Macro for Dioxus Router"
+2 -2
View File
@@ -1,7 +1,7 @@
[package] [package]
name = "dioxus-router" name = "dioxus-router"
authors = ["Jonathan Kelley", "Evan Almloff"] authors = ["Jonathan Kelley", "Evan Almloff"]
version = "0.3.0" version = { workspace = true }
edition = "2018" edition = "2018"
description = "Cross-platform router for Dioxus apps" description = "Cross-platform router for Dioxus apps"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@@ -55,7 +55,7 @@ dioxus-desktop = { path = "../desktop" }
[target.'cfg(target_family = "wasm")'.dev-dependencies] [target.'cfg(target_family = "wasm")'.dev-dependencies]
console_error_panic_hook = "0.1.7" console_error_panic_hook = "0.1.7"
dioxus-router = { workspace = true, features = ["web"] } dioxus-router = { path = ".", features = ["web"] }
dioxus-web = { workspace = true } dioxus-web = { workspace = true }
gloo = "0.8.0" gloo = "0.8.0"
wasm-bindgen-test = "0.3.33" wasm-bindgen-test = "0.3.33"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rsx-rosetta" name = "rsx-rosetta"
version = "0.3.0" version = { workspace = true }
edition = "2021" edition = "2021"
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
description = "Autofomatter for Dioxus RSX" description = "Autofomatter for Dioxus RSX"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-rsx" name = "dioxus-rsx"
version = "0.0.3" version = { workspace = true }
authors = ["Jonathan Kelley", "Evan Almloff"] authors = ["Jonathan Kelley", "Evan Almloff"]
edition = "2018" edition = "2018"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus_server_macro" name = "dioxus_server_macro"
version = "0.3.0" version = { workspace = true }
edition = "2021" edition = "2021"
repository = "https://github.com/DioxusLabs/dioxus/" repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com/docs/0.4/guide/en/getting_started/fullstack.html" homepage = "https://dioxuslabs.com/docs/0.4/guide/en/getting_started/fullstack.html"
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-ssr" name = "dioxus-ssr"
version = "0.3.0" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "Dioxus render-to-string" description = "Dioxus render-to-string"
+2 -2
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "dioxus-web" name = "dioxus-web"
version = "0.3.2" version = { workspace = true }
authors = ["Jonathan Kelley"] authors = ["Jonathan Kelley"]
edition = "2018" edition = "2018"
description = "Web renderer for Dioxus using websys" description = "Web renderer for Dioxus using websys"
@@ -74,4 +74,4 @@ dioxus-ssr = { workspace = true}
wasm-logger = "0.2.0" wasm-logger = "0.2.0"
gloo-timers = "0.2.3" gloo-timers = "0.2.3"
gloo-dialogs = "0.1.1" gloo-dialogs = "0.1.1"
dioxus-web = { workspace = true, features = ["hydrate"] } dioxus-web = { path = ".", features = ["hydrate"] }