Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
paths:
- Cargo.toml
- Cargo.lock
- packages/**
- examples/**

Expand All @@ -13,6 +15,8 @@ on:
branches:
- main
paths:
- Cargo.toml
- Cargo.lock
- packages/**
- examples/**

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches:
- main
paths:
- Cargo.toml
- Cargo.lock
- packages/**
- examples/**

Expand All @@ -14,6 +16,8 @@ on:
branches:
- main
paths:
- Cargo.toml
- Cargo.lock
- packages/**
- examples/**

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dioxus-sdk-util = { path = "packages/util", version = "0.7.0" }
dioxus-sdk-window = { path = "packages/window", version = "0.7.0" }

# Dioxus
dioxus = "0.7.0"
dioxus = { version = "0.7.0", default-features = false }
dioxus-signals = "0.7.0"
dioxus-desktop = "0.7.0"
dioxus-config-macro = "0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["launch", "lib"] }
dioxus-sdk-sync = { workspace = true }

[features]
Expand Down
3 changes: 1 addition & 2 deletions examples/geolocation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ edition = "2021"
publish = false

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["launch", "lib"] }
dioxus-sdk-geolocation = { workspace = true }

[features]
default = ["desktop"]
web = ["dioxus/web"]
desktop = ["dioxus/desktop"]

2 changes: 1 addition & 1 deletion examples/scroll/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish = false

[dependencies]
dioxus-sdk-util.workspace = true
dioxus.workspace = true
dioxus = { workspace = true, features = ["launch", "lib"] }

[features]
default = ["desktop"]
Expand Down
2 changes: 1 addition & 1 deletion examples/storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
dioxus = { workspace = true, features = ["router"] }
dioxus = { workspace = true, features = ["launch", "lib", "router"] }
dioxus-sdk-storage = { workspace = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion examples/theme/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["launch", "lib"] }
dioxus-sdk-window = { workspace = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion examples/timing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["launch", "lib"] }
dioxus-sdk-time = { workspace = true }
gloo-timers = { version = "0.3", features = ["futures"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/window_size/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["launch", "lib"] }
dioxus-sdk-window = { workspace = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion packages/geolocation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["hooks", "signals"] }
cfg-if = { workspace = true }
futures = { workspace = true }
futures-util = { workspace = true }
Expand Down
5 changes: 3 additions & 2 deletions packages/storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["hooks", "logger", "signals"] }
dioxus-config-macro = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
futures-util = { workspace = true }
cfg-if = { workspace = true }
Expand All @@ -35,4 +36,4 @@ wasm-bindgen = { workspace = true }

[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21.1"
ndk-context = "0.1.1"
ndk-context = "0.1.1"
1 change: 1 addition & 0 deletions packages/storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ mod persistence;
pub use client_storage::{LocalStorage, SessionStorage};
use dioxus::core::{ReactiveContext, current_scope_id, generation, needs_update};
use dioxus::logger::tracing::trace;
use dioxus_config_macro::{fullstack, server_only};
use futures_util::stream::StreamExt;
pub use persistence::{
new_persistent, new_singleton_persistent, use_persistent, use_singleton_persistent,
Expand Down
2 changes: 1 addition & 1 deletion packages/sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["hooks", "signals"] }

uuid = { version = "1.3.2", features = ["v4"] }
async-broadcast = "0.7.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["hooks", "signals"] }
futures = { workspace = true }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion packages/util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["document", "hooks", "logger", "signals"] }
serde.workspace = true
2 changes: 1 addition & 1 deletion packages/window/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
dioxus = { workspace = true }
dioxus = { workspace = true, features = ["hooks", "signals"] }
dioxus-config-macro = { workspace = true }

[target.'cfg(target_family = "wasm")'.dependencies]
Expand Down
Loading