Update axum and many dependencies (#3825)
* Update many dependencies; includes prs 3820 (axum 0.8.1), 3810 (wry 0.50.1), 3801 (tauri) --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
1379de7cc7
commit
a1107de0c0
44 files changed
+787
-671
No files matched your search
@@ -11,7 +11,7 @@ keywords = ["web", "desktop", "mobile", "gui", "wasm"]
|
||||
|
||||
[dependencies]
|
||||
dioxus-rsx = { workspace = true }
|
||||
proc-macro2 = { version = "1.0.6", features = ["span-locations"] }
|
||||
proc-macro2 = { workspace = true, features = ["span-locations"] }
|
||||
quote = { workspace = true }
|
||||
syn = { workspace = true, features = [
|
||||
"full",
|
||||
@@ -19,11 +19,11 @@ syn = { workspace = true, features = [
|
||||
"visit",
|
||||
"visit-mut",
|
||||
] }
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
prettyplease = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.2.1"
|
||||
pretty_assertions = { workspace = true }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
||||
@@ -16,5 +16,5 @@ syn = { workspace = true, features = ["full", "extra-traits", "visit"] }
|
||||
owo-colors = { workspace = true, features = ["supports-colors"] }
|
||||
|
||||
[dev-dependencies]
|
||||
indoc = "2.0.3"
|
||||
pretty_assertions = "1.2.1"
|
||||
indoc = "2.0.6"
|
||||
pretty_assertions = { workspace = true }
|
||||
@@ -13,27 +13,27 @@ keywords = ["dom", "ui", "gui", "react"]
|
||||
anyhow = { workspace = true }
|
||||
manganis = { workspace = true }
|
||||
manganis-core = { workspace = true }
|
||||
object = {version="0.36.0", features=["wasm"]}
|
||||
object = {version="0.36.7", features=["wasm"]}
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
const-serialize = { workspace = true, features = ["serde"] }
|
||||
tracing = { workspace = true }
|
||||
rayon = "1.8.0"
|
||||
rayon = "1.10.0"
|
||||
|
||||
# Image compression/conversion
|
||||
# - JPEG
|
||||
mozjpeg = { version = "0.10.7", default-features = false, features = [
|
||||
mozjpeg = { version = "0.10.13", default-features = false, features = [
|
||||
"parallel",
|
||||
] }
|
||||
# - PNG
|
||||
imagequant = "4.2.0"
|
||||
png = "0.17.9"
|
||||
imagequant = "4.3.4"
|
||||
png = "0.17.16"
|
||||
|
||||
# Image format/conversion
|
||||
image = { version = "0.25", features = ["avif"] }
|
||||
|
||||
# CSS Minification
|
||||
lightningcss = { version = "1.0.0-alpha.60", features = ["browserslist", "into_owned"] }
|
||||
lightningcss = { version = "1.0.0-alpha.63", features = ["browserslist", "into_owned"] }
|
||||
|
||||
# SCSS Processing
|
||||
grass = "0.13.4"
|
||||
|
||||
+35
-39
@@ -28,7 +28,7 @@ wasm-split-cli = { workspace = true }
|
||||
clap = { workspace = true, features = ["derive", "cargo"] }
|
||||
convert_case = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
uuid = { version = "1.3.0", features = ["v4"] }
|
||||
uuid = { workspace = true, features = ["v4"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
toml = { workspace = true }
|
||||
@@ -38,20 +38,20 @@ notify = { workspace = true, features = ["serde"] }
|
||||
html_parser = { workspace = true }
|
||||
cargo_metadata = { workspace = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tokio-stream = "0.1.15"
|
||||
chrono = "0.4.19"
|
||||
tokio-stream = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
hyper = { workspace = true }
|
||||
hyper-util = "0.1.3"
|
||||
hyper-util = { workspace = true }
|
||||
hyper-rustls = { workspace = true }
|
||||
rustls = { workspace = true }
|
||||
rayon = "1.8.0"
|
||||
console = "0.15.8"
|
||||
ctrlc = "3.2.3"
|
||||
rayon = { workspace = true }
|
||||
futures-channel = { workspace = true }
|
||||
krates = { version = "0.17.0" }
|
||||
cargo-config2 = { workspace = true, optional = true }
|
||||
regex = "1.10.6"
|
||||
krates = { version = "0.17.5" }
|
||||
regex = "1.11.1"
|
||||
console = "0.15.11"
|
||||
ctrlc = "3.4.5"
|
||||
|
||||
axum = { workspace = true, default-features = true, features = ["ws"] }
|
||||
axum-server = { workspace = true, features = ["tls-rustls"] }
|
||||
@@ -66,71 +66,67 @@ dunce = { workspace = true }
|
||||
|
||||
# tools download
|
||||
dirs = { workspace = true }
|
||||
reqwest = { workspace = true, features = [
|
||||
"rustls-tls",
|
||||
"trust-dns",
|
||||
"json"
|
||||
] }
|
||||
reqwest = { workspace = true, features = ["rustls-tls", "trust-dns", "json"] }
|
||||
tower = { workspace = true }
|
||||
once_cell = "1.19.0"
|
||||
once_cell = { workspace = true }
|
||||
|
||||
# path lookup
|
||||
which = { version = "7.0.1" }
|
||||
which = { version = "7.0.2" }
|
||||
|
||||
# plugin packages
|
||||
open = "5.0.1"
|
||||
cargo-generate = "=0.21.3"
|
||||
toml_edit = "0.22.20"
|
||||
open = { workspace = true }
|
||||
cargo-generate = "0.22.1"
|
||||
toml_edit = "0.22.24"
|
||||
|
||||
# formatting
|
||||
# syn = { workspace = true }
|
||||
prettyplease = { workspace = true }
|
||||
|
||||
# Assets
|
||||
brotli = "6.0.0"
|
||||
ignore = "0.4.22"
|
||||
brotli = "7.0.0"
|
||||
ignore = "0.4.23"
|
||||
env_logger = { workspace = true }
|
||||
const-serialize = { workspace = true, features = ["serde"] }
|
||||
|
||||
tracing-subscriber = { version = "0.3.18", features = ["std", "env-filter", "json", "registry", "fmt"] }
|
||||
console-subscriber = { version = "0.3.0", optional = true }
|
||||
tracing-subscriber = { version = "0.3.19", features = ["std", "env-filter", "json", "registry", "fmt"] }
|
||||
console-subscriber = { version = "0.4.1", optional = true }
|
||||
tracing = { workspace = true }
|
||||
wasm-opt = { version = "0.116.1", optional = true }
|
||||
crossterm = { version = "0.28.0", features = ["event-stream"] }
|
||||
ansi-to-tui = "6.0"
|
||||
ansi-to-html = "0.2.1"
|
||||
crossterm = { version = "0.28.1", features = ["event-stream"] }
|
||||
ansi-to-tui = "7.0.0"
|
||||
ansi-to-html = "0.2.2"
|
||||
path-absolutize = "3.1"
|
||||
ratatui = { version = "0.28.0", features = ["crossterm", "unstable"] }
|
||||
ratatui = { version = "0.29.0", features = ["crossterm", "unstable"] }
|
||||
|
||||
# disable `log` entirely since `walrus` uses it and is *much* slower with it enableda
|
||||
log = { version = "0.4", features = ["max_level_off", "release_max_level_off"] }
|
||||
|
||||
# link intercept
|
||||
tempfile = "3.3"
|
||||
tempfile = "3.13"
|
||||
manganis = { workspace = true }
|
||||
manganis-core = { workspace = true }
|
||||
|
||||
# Extracting data from an executable
|
||||
object = {version="0.36.0", features=["wasm"]}
|
||||
tokio-util = { version = "0.7.11", features = ["full"] }
|
||||
itertools = "0.13.0"
|
||||
throbber-widgets-tui = "=0.7.0"
|
||||
object = { version = "0.36.7", features = ["wasm"] }
|
||||
tokio-util = { workspace = true, features = ["full"] }
|
||||
itertools = { workspace = true }
|
||||
throbber-widgets-tui = "0.8.0"
|
||||
unicode-segmentation = "1.12.0"
|
||||
handlebars = "6.1.0"
|
||||
strum = { version = "0.26.3", features = ["derive"] }
|
||||
handlebars = "6.3.1"
|
||||
strum = { version = "0.27.1", features = ["derive"] }
|
||||
|
||||
tauri-utils = { workspace = true }
|
||||
tauri-bundler = { workspace = true }
|
||||
include_dir = "0.7.4"
|
||||
flate2 = "1.0.35"
|
||||
tar = "0.4.43"
|
||||
flate2 = "1.1.0"
|
||||
tar = "0.4.44"
|
||||
local-ip-address = "0.6.3"
|
||||
dircpy = "0.3.19"
|
||||
plist = "1.7.0"
|
||||
memoize = "0.5.1"
|
||||
|
||||
[build-dependencies]
|
||||
built = { version = "=0.7.4", features = ["git2"] }
|
||||
built = { version = "0.7.5", features = ["git2"] }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
@@ -162,5 +158,5 @@ pkg-fmt = "zip"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = false
|
||||
rustc-args = [ "--cfg", "docsrs" ]
|
||||
rustdoc-args = [ "--cfg", "docsrs" ]
|
||||
rustc-args = ["--cfg", "docsrs"]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
@@ -113,6 +113,7 @@ impl From<MacOsSettings> for tauri_bundler::MacOsSettings {
|
||||
info_plist_path: val.info_plist_path,
|
||||
files: val.files,
|
||||
hardened_runtime: val.hardened_runtime,
|
||||
bundle_version: val.bundle_version,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ pub(crate) struct DebianSettings {
|
||||
/// the list of debian dependencies.
|
||||
pub depends: Option<Vec<String>>,
|
||||
/// the list of recommended debian dependencies.
|
||||
#[serde(default)]
|
||||
pub recommends: Option<Vec<String>>,
|
||||
/// the list of dependencies the package provides.
|
||||
pub provides: Option<Vec<String>>,
|
||||
@@ -98,6 +99,7 @@ pub(crate) struct WixSettings {
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
pub(crate) struct MacOsSettings {
|
||||
pub(crate) bundle_version: Option<String>,
|
||||
pub(crate) frameworks: Option<Vec<String>>,
|
||||
pub(crate) minimum_system_version: Option<String>,
|
||||
pub(crate) license: Option<String>,
|
||||
|
||||
@@ -15,7 +15,7 @@ serde = { workspace = true, features = ["derive"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
const-serialize = { path = "." }
|
||||
rand.workspace = true
|
||||
rand = { workspace = true }
|
||||
|
||||
[features]
|
||||
test-big-endian = []
|
||||
|
||||
@@ -11,4 +11,4 @@ keywords = ["dom", "ui", "gui", "react", ]
|
||||
|
||||
|
||||
[dependencies]
|
||||
once_cell.workspace = true
|
||||
once_cell = { workspace = true }
|
||||
@@ -8,6 +8,7 @@ license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||
homepage = "https://dioxuslabs.com"
|
||||
keywords = ["web", "desktop", "mobile", "gui", "wasm"]
|
||||
rust-version = "1.76.0"
|
||||
|
||||
[dependencies]
|
||||
dioxus-core-types = { workspace = true }
|
||||
@@ -33,11 +34,11 @@ rand = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
tracing-subscriber = { workspace = true, default-features = true }
|
||||
tracing-fluent-assertions = "0.3.0"
|
||||
pretty_assertions = "1.3.0"
|
||||
pretty_assertions = { workspace = true }
|
||||
sysinfo = "0.33.1"
|
||||
|
||||
[dev-dependencies.web-sys]
|
||||
version = "0.3.56"
|
||||
version = "0.3.77"
|
||||
features = ["Document", "HtmlElement", "Window"]
|
||||
|
||||
[features]
|
||||
|
||||
+32
-44
@@ -8,14 +8,11 @@ license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||
homepage = "https://dioxuslabs.com/learn/0.6/getting_started"
|
||||
keywords = ["dom", "ui", "gui", "react"]
|
||||
rust-version = "1.76.0"
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { workspace = true, features = ["serialize"] }
|
||||
dioxus-html = { workspace = true, features = [
|
||||
"serialize",
|
||||
"mounted",
|
||||
"file_engine",
|
||||
] }
|
||||
dioxus-html = { workspace = true, features = ["serialize", "mounted", "file_engine"] }
|
||||
dioxus-document = { workspace = true }
|
||||
dioxus-signals = { workspace = true, optional = true }
|
||||
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol", "serialize"] }
|
||||
@@ -25,26 +22,22 @@ generational-box = { workspace = true }
|
||||
# hotreload only works on desktop platforms.... mobile is still wip
|
||||
dioxus-devtools = { workspace = true, optional = true }
|
||||
|
||||
serde = "1.0.136"
|
||||
serde_json = "1.0.79"
|
||||
serde = "1.0.218"
|
||||
serde_json = "1.0.140"
|
||||
thiserror = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
wry = { workspace = true, default-features = false, features = [
|
||||
"os-webview",
|
||||
"protocol",
|
||||
"drag-drop",
|
||||
] }
|
||||
wry = { workspace = true, default-features = false, features = ["os-webview", "protocol", "drag-drop"] }
|
||||
futures-channel = { workspace = true }
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
"rt-multi-thread",
|
||||
"rt",
|
||||
"time",
|
||||
"macros",
|
||||
"fs",
|
||||
"io-util",
|
||||
"sync",
|
||||
"rt-multi-thread",
|
||||
"rt",
|
||||
"time",
|
||||
"macros",
|
||||
"fs",
|
||||
"io-util",
|
||||
], optional = true }
|
||||
webbrowser = "0.8.0"
|
||||
webbrowser = { workspace = true }
|
||||
infer = { workspace = true }
|
||||
dunce = { workspace = true }
|
||||
slab = { workspace = true }
|
||||
@@ -52,27 +45,22 @@ rustc-hash = { workspace = true }
|
||||
dioxus-hooks = { workspace = true }
|
||||
futures-util = { workspace = true }
|
||||
urlencoding = { workspace = true }
|
||||
async-trait = "0.1.68"
|
||||
async-trait = { workspace = true }
|
||||
tao = { workspace = true, features = ["rwh_05"] }
|
||||
once_cell = { workspace = true }
|
||||
dioxus-history.workspace = true
|
||||
base64.workspace = true
|
||||
dioxus-history = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
signal-hook = "0.3.17"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
wry = { workspace = true, features = [
|
||||
"os-webview",
|
||||
"protocol",
|
||||
"drag-drop",
|
||||
"linux-body"
|
||||
] }
|
||||
wry = { workspace = true, features = ["os-webview", "protocol", "drag-drop", "linux-body"] }
|
||||
|
||||
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
|
||||
global-hotkey = "0.5.0"
|
||||
rfd = { version = "0.14", default-features = false, features = ["xdg-portal", "tokio"] }
|
||||
global-hotkey = "0.6.4"
|
||||
rfd = { version = "0.15.2", default-features = false, features = ["xdg-portal", "tokio"] }
|
||||
muda = { workspace = true }
|
||||
|
||||
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux"))'.dependencies]
|
||||
@@ -84,7 +72,7 @@ objc_id = "0.1.1"
|
||||
|
||||
# use rustls on android
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
tokio-tungstenite = { workspace = true, optional = true, features = ["rustls"]}
|
||||
tokio-tungstenite = { workspace = true, optional = true, features = ["rustls"] }
|
||||
jni = "0.21.1"
|
||||
ndk = { version = "0.9.0" }
|
||||
ndk-sys = { version = "0.6.0" }
|
||||
@@ -92,11 +80,11 @@ ndk-context = { version = "0.1.1" }
|
||||
|
||||
# use native tls on other platforms
|
||||
[target.'cfg(not(target_os = "android"))'.dependencies]
|
||||
tokio-tungstenite = { workspace = true, optional = true, features = ["native-tls"]}
|
||||
tokio-tungstenite = { workspace = true, optional = true, features = ["native-tls"] }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
cocoa = "0.25"
|
||||
core-foundation = "0.9.3"
|
||||
cocoa = "0.26.0"
|
||||
core-foundation = "0.10.0"
|
||||
objc = "0.2.7"
|
||||
|
||||
[build-dependencies]
|
||||
@@ -115,15 +103,15 @@ features = ["tokio_runtime", "devtools"]
|
||||
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
||||
default-features = false
|
||||
targets = [
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"x86_64-pc-windows-msvc",
|
||||
"aarch64-apple-darwin",
|
||||
"aarch64-apple-ios",
|
||||
"aarch64-linux-android",
|
||||
"armv7-linux-androideabi",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"x86_64-pc-windows-msvc",
|
||||
"aarch64-apple-darwin",
|
||||
"aarch64-apple-ios",
|
||||
"aarch64-linux-android",
|
||||
"armv7-linux-androideabi",
|
||||
]
|
||||
rustc-args = [ "--cfg", "docsrs" ]
|
||||
rustdoc-args = [ "--cfg", "docsrs" ]
|
||||
rustc-args = ["--cfg", "docsrs"]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus = { workspace = true, features = ["desktop"] }
|
||||
@@ -132,7 +120,7 @@ reqwest = { workspace = true, features = ["json"] }
|
||||
http-range = { version = "0.1.5" }
|
||||
dioxus-ssr = { workspace = true, default-features = false }
|
||||
separator = "0.4.1"
|
||||
rand = { version = "0.8.4", features = ["small_rng"] }
|
||||
rand = { workspace = true, features = ["small_rng"] }
|
||||
|
||||
# These tests need to be run on the main thread, so they cannot use rust's test harness.
|
||||
[[test]]
|
||||
|
||||
@@ -204,7 +204,7 @@ impl Config {
|
||||
/// #
|
||||
/// # fn main() {
|
||||
/// let cfg = Config::new()
|
||||
/// .with_asynchronous_custom_protocol("asset", |request, responder| {
|
||||
/// .with_asynchronous_custom_protocol("asset", |_webview_id, request, responder| {
|
||||
/// tokio::spawn(async move {
|
||||
/// responder.respond(
|
||||
/// HTTPResponse::builder()
|
||||
|
||||
@@ -18,14 +18,14 @@ serde_json = { workspace = true }
|
||||
|
||||
# hot reloading serve
|
||||
tracing = { workspace = true }
|
||||
warnings.workspace = true
|
||||
warnings = { workspace = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
tungstenite = { version = "0.23.0" }
|
||||
tungstenite = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
serde_json = "1.0.91"
|
||||
serde_json = { workspace = true }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
||||
+30
-18
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||
homepage = "https://dioxuslabs.com"
|
||||
keywords = ["web", "desktop", "mobile", "gui", "wasm"]
|
||||
rust-version = "1.79.0"
|
||||
rust-version = "1.80.0"
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { workspace = true }
|
||||
@@ -40,7 +40,21 @@ dioxus-cli-config = { workspace = true, optional = true }
|
||||
dioxus-devtools = { workspace = true, optional = true }
|
||||
|
||||
[features]
|
||||
default = ["macro", "html", "signals", "hooks", "launch", "mounted", "file_engine", "document", "asset", "devtools", "logger", "warnings", "cli-config"]
|
||||
default = [
|
||||
"macro",
|
||||
"html",
|
||||
"signals",
|
||||
"hooks",
|
||||
"launch",
|
||||
"mounted",
|
||||
"file_engine",
|
||||
"document",
|
||||
"asset",
|
||||
"devtools",
|
||||
"logger",
|
||||
"warnings",
|
||||
"cli-config",
|
||||
]
|
||||
minimal = ["macro", "html", "signals", "hooks", "launch"]
|
||||
signals = ["dep:dioxus-signals"]
|
||||
macro = ["dep:dioxus-core-macro"]
|
||||
@@ -54,7 +68,10 @@ document = ["dioxus-web?/document", "dep:dioxus-document", "dep:dioxus-history"]
|
||||
logger = ["dep:dioxus-logger"]
|
||||
cli-config = ["dep:dioxus-cli-config"]
|
||||
warnings = ["dep:warnings"]
|
||||
wasm-split = ["dep:wasm-split", "dioxus-config-macros/wasm-split"] # note: to turn on the router splitter, you need to manually enable wasm-split on the router
|
||||
wasm-split = [
|
||||
"dep:wasm-split",
|
||||
"dioxus-config-macros/wasm-split",
|
||||
] # note: to turn on the router splitter, you need to manually enable wasm-split on the router
|
||||
|
||||
launch = ["dep:dioxus-config-macro"]
|
||||
router = ["dep:dioxus-router"]
|
||||
@@ -63,7 +80,13 @@ router = ["dep:dioxus-router"]
|
||||
fullstack = ["dep:dioxus-fullstack", "dioxus-config-macro/fullstack", "dep:serde"]
|
||||
desktop = ["dep:dioxus-desktop", "dioxus-fullstack?/desktop", "dioxus-config-macro/desktop"]
|
||||
mobile = ["dep:dioxus-mobile", "dioxus-fullstack?/mobile", "dioxus-config-macro/mobile"]
|
||||
web = ["dep:dioxus-web", "dioxus-fullstack?/web", "dioxus-config-macro/web", "dep:dioxus-cli-config", "dioxus-cli-config?/web"]
|
||||
web = [
|
||||
"dep:dioxus-web",
|
||||
"dioxus-fullstack?/web",
|
||||
"dioxus-config-macro/web",
|
||||
"dep:dioxus-cli-config",
|
||||
"dioxus-cli-config?/web",
|
||||
]
|
||||
ssr = ["dep:dioxus-ssr", "dioxus-config-macro/ssr"]
|
||||
liveview = ["dep:dioxus-liveview", "dioxus-config-macro/liveview"]
|
||||
server = ["dioxus-fullstack?/axum", "dioxus-fullstack?/server", "ssr", "dioxus-liveview?/axum"]
|
||||
@@ -75,10 +98,10 @@ third-party-renderer = []
|
||||
[dev-dependencies]
|
||||
futures-util = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
rand = { version = "0.8.4", features = ["small_rng"] }
|
||||
rand = { workspace = true, features = ["small_rng"] }
|
||||
criterion = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
env_logger = "0.10.0"
|
||||
env_logger = { workspace = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
dioxus = { workspace = true }
|
||||
|
||||
@@ -88,15 +111,4 @@ harness = false
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
||||
features = [
|
||||
"router",
|
||||
"ssr",
|
||||
"web",
|
||||
"fullstack",
|
||||
"signals",
|
||||
"hooks",
|
||||
"html",
|
||||
"liveview",
|
||||
"server",
|
||||
"warnings"
|
||||
]
|
||||
features = ["router", "ssr", "web", "fullstack", "signals", "hooks", "html", "liveview", "server", "warnings"]
|
||||
@@ -261,7 +261,7 @@ impl LaunchBuilder {
|
||||
/// # Example
|
||||
/// ```rust, no_run
|
||||
/// use dioxus::prelude::*;
|
||||
/// use dioxus_desktop::Config;
|
||||
/// use dioxus_desktop::{Config,WindowBuilder};
|
||||
///
|
||||
/// fn app() -> Element {
|
||||
/// rsx! {
|
||||
@@ -269,8 +269,13 @@ impl LaunchBuilder {
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
/// dioxus::LaunchBuilder::desktop()
|
||||
/// .with_cfg(Config::new().with_window(|w| w.with_title("My App")))
|
||||
/// dioxus::LaunchBuilder::new()
|
||||
/// .with_cfg(desktop! {
|
||||
/// Config::new().with_window(
|
||||
/// WindowBuilder::new()
|
||||
/// .with_title("My App")
|
||||
/// )
|
||||
/// })
|
||||
/// .launch(app);
|
||||
/// ```
|
||||
pub fn with_cfg(mut self, config: impl LaunchConfig) -> Self {
|
||||
|
||||
@@ -18,8 +18,8 @@ tracing = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
futures-channel = { workspace = true }
|
||||
futures-util.workspace = true
|
||||
generational-box.workspace = true
|
||||
futures-util = { workspace = true }
|
||||
generational-box = { workspace = true }
|
||||
|
||||
[build-dependencies]
|
||||
lazy-js-bundle = { workspace = true }
|
||||
|
||||
@@ -4,11 +4,11 @@ edition = "2021"
|
||||
version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
ciborium.workspace = true
|
||||
ciborium = { workspace = true }
|
||||
dioxus-core = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
tracing.workspace = true
|
||||
tracing = { workspace = true }
|
||||
|
||||
[features]
|
||||
web = []
|
||||
web = []
|
||||
@@ -44,11 +44,11 @@ dioxus-mobile = { workspace = true, optional = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-futures = { workspace = true, optional = true }
|
||||
once_cell = { workspace = true }
|
||||
tokio-util = { version = "0.7.8", features = ["rt"], optional = true }
|
||||
async-trait = { version = "0.1.58", optional = true }
|
||||
tokio-util = { workspace = true, features = ["rt"], optional = true }
|
||||
async-trait = { workspace = true, optional = true }
|
||||
|
||||
serde = "1.0.159"
|
||||
tokio-stream = { version = "0.1.12", features = ["sync"], optional = true }
|
||||
serde = { workspace = true }
|
||||
tokio-stream = { workspace = true, features = ["sync"], optional = true }
|
||||
futures-util = { workspace = true }
|
||||
futures-channel = { workspace = true }
|
||||
ciborium = { workspace = true }
|
||||
@@ -56,19 +56,26 @@ base64 = { workspace = true }
|
||||
rustls = { workspace = true, optional = true }
|
||||
hyper-rustls = { workspace = true, optional = true }
|
||||
|
||||
pin-project = { version = "1.1.2", optional = true }
|
||||
pin-project = { version = "1.1.10", optional = true }
|
||||
thiserror = { workspace = true, optional = true }
|
||||
bytes = "1.4.0"
|
||||
bytes = "1.10.0"
|
||||
tower = { workspace = true, features = ["util"], optional = true }
|
||||
tower-layer = { version = "0.3.2", optional = true }
|
||||
tower-layer = { version = "0.3.3", optional = true }
|
||||
parking_lot = { workspace = true, features = ["send_guard"], optional = true }
|
||||
web-sys = { version = "0.3.61", optional = true, features = ["Window", "Document", "Element", "HtmlDocument", "Storage", "console"] }
|
||||
web-sys = { version = "0.3.77", optional = true, features = [
|
||||
"Window",
|
||||
"Document",
|
||||
"Element",
|
||||
"HtmlDocument",
|
||||
"Storage",
|
||||
"console",
|
||||
] }
|
||||
|
||||
dioxus-cli-config = { workspace = true, optional = true }
|
||||
|
||||
dioxus-devtools = { workspace = true, optional = true }
|
||||
aws-lc-rs = { version = "1.8.1", optional = true }
|
||||
dioxus-history.workspace = true
|
||||
aws-lc-rs = { version = "1.12.5", optional = true }
|
||||
dioxus-history = { workspace = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
tokio = { workspace = true, features = ["rt", "sync"], optional = true }
|
||||
|
||||
@@ -12,7 +12,7 @@ keywords = ["dom", "ui", "gui", "react"]
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { workspace = true }
|
||||
tracing.workspace = true
|
||||
tracing = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus = { workspace = true, features = ["router"] }
|
||||
@@ -20,7 +20,7 @@ futures-channel = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
slab = { workspace = true }
|
||||
futures-util = { workspace = true}
|
||||
generational-box.workspace = true
|
||||
generational-box = { workspace = true }
|
||||
rustversion = { workspace = true }
|
||||
warnings = { workspace = true }
|
||||
|
||||
@@ -28,7 +28,7 @@ warnings = { workspace = true }
|
||||
futures-util = { workspace = true, default-features = false }
|
||||
dioxus-core = { workspace = true }
|
||||
dioxus = { workspace = true }
|
||||
web-sys = { version = "0.3.64", features = ["Document", "Window", "Element"] }
|
||||
web-sys = { workspace = true, features = ["Document", "Window", "Element"] }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
reqwest = { workspace = true }
|
||||
|
||||
|
||||
@@ -17,18 +17,18 @@ dioxus-rsx = { workspace = true, optional = true }
|
||||
dioxus-html-internal-macro = { workspace = true }
|
||||
dioxus-hooks = { workspace = true }
|
||||
generational-box = { workspace = true }
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
serde_repr = { version = "0.1", optional = true }
|
||||
js-sys = { version = "0.3.56", optional = true }
|
||||
euclid = "0.22.7"
|
||||
enumset = "1.1.2"
|
||||
keyboard-types = { version = "0.7", default-features = false }
|
||||
async-trait = { version = "0.1.58" }
|
||||
serde = { workspace = true, features = ["derive"], optional = true }
|
||||
serde_repr = { workspace = true, optional = true }
|
||||
js-sys = { workspace = true, optional = true }
|
||||
keyboard-types = { workspace = true, default-features = false }
|
||||
async-trait = { workspace = true }
|
||||
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
|
||||
futures-channel = { workspace = true }
|
||||
serde_json = { version = "1", optional = true }
|
||||
tracing.workspace = true
|
||||
serde_json = { workspace = true, optional = true }
|
||||
tracing = { workspace = true }
|
||||
rustversion = { workspace = true }
|
||||
euclid = "0.22.11"
|
||||
enumset = "1.1.5"
|
||||
|
||||
[build-dependencies]
|
||||
lazy-js-bundle = { workspace = true }
|
||||
|
||||
@@ -13,14 +13,14 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
|
||||
[dependencies]
|
||||
wasm-bindgen = { workspace = true, optional = true }
|
||||
wasm-bindgen-futures = { workspace = true, optional = true }
|
||||
js-sys = { version = "0.3.56", optional = true }
|
||||
web-sys = { version = "0.3.56", optional = true, features = [
|
||||
js-sys = { workspace = true, optional = true }
|
||||
web-sys = { workspace = true, optional = true, features = [
|
||||
"Element",
|
||||
"Node",
|
||||
] }
|
||||
sledgehammer_bindgen = { version = "0.6.0", default-features = false, optional = true }
|
||||
sledgehammer_utils = { version = "0.3.1", optional = true }
|
||||
serde = { version = "1.0", features = ["derive"], optional = true }
|
||||
serde = { workspace = true, features = ["derive"], optional = true }
|
||||
rustc-hash = { workspace = true, optional = true }
|
||||
|
||||
dioxus-core = { workspace = true, optional = true }
|
||||
|
||||
@@ -18,10 +18,10 @@ futures-util = { workspace = true, default-features = false, features = [
|
||||
] }
|
||||
futures-channel = { workspace = true }
|
||||
tokio = { workspace = true, features = ["time", "macros"] }
|
||||
tokio-stream = { version = "0.1.11", features = ["net"] }
|
||||
tokio-util = { version = "0.7.4", features = ["rt"] }
|
||||
serde = { version = "1.0.151", features = ["derive"] }
|
||||
serde_json = "1.0.91"
|
||||
tokio-stream = { workspace = true, features = ["net"] }
|
||||
tokio-util = { workspace = true, features = ["rt"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
dioxus-html = { workspace = true, features = ["serialize"] }
|
||||
dioxus-document = { workspace = true }
|
||||
dioxus-history = { workspace = true }
|
||||
|
||||
@@ -13,7 +13,7 @@ categories = ["development-tools::debugging"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
dioxus-cli-config = { workspace = true }
|
||||
dioxus-cli-config = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-subscriber = { workspace = true, features = ["registry", "std"] }
|
||||
|
||||
@@ -22,4 +22,7 @@ tracing-wasm = { workspace = true }
|
||||
console_error_panic_hook = { workspace = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
tracing-subscriber = { workspace = true, features = [ "fmt" ] }
|
||||
tracing-subscriber = { workspace = true, features = ["fmt"] }
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus = { workspace = true, features = ["fullstack"] }
|
||||
@@ -26,4 +26,4 @@ macro-string = { workspace = true }
|
||||
default = []
|
||||
|
||||
[dev-dependencies]
|
||||
manganis.workspace = true
|
||||
manganis = { workspace = true }
|
||||
@@ -8,13 +8,14 @@ repository = "https://github.com/DioxusLabs/dioxus/"
|
||||
homepage = "https://dioxuslabs.com/learn/0.6/getting_started"
|
||||
keywords = ["dom", "ui", "gui", "react"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
rust-version = "1.71.1"
|
||||
|
||||
[dependencies]
|
||||
dioxus-desktop = { workspace = true }
|
||||
dioxus-lib = { workspace = true }
|
||||
dioxus-cli-config = { workspace = true }
|
||||
libc = "0.2.159"
|
||||
once_cell.workspace = true
|
||||
libc = "0.2.170"
|
||||
once_cell = { workspace = true }
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
jni = "0.21.1"
|
||||
|
||||
@@ -11,5 +11,5 @@ dioxus = { workspace = true, features = ["web"]}
|
||||
|
||||
[build-dependencies]
|
||||
reqwest = { workspace = true, features = ["blocking"] }
|
||||
flate2 = "1.0.35"
|
||||
tar = "0.4.43"
|
||||
flate2 = "1.1.0"
|
||||
tar = "0.4.44"
|
||||
@@ -8,7 +8,7 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
dioxus = { workspace = true, features = ["fullstack"] }
|
||||
serde = "1.0.159"
|
||||
serde = "1.0.218"
|
||||
tokio = { workspace = true, features = ["full"], optional = true }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -8,7 +8,7 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
dioxus = { workspace = true, features = ["fullstack"] }
|
||||
serde = "1.0.159"
|
||||
serde = "1.0.218"
|
||||
tokio = { workspace = true, features = ["full"], optional = true }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -8,7 +8,7 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
dioxus = { workspace = true, features = ["fullstack"] }
|
||||
serde = "1.0.159"
|
||||
serde = "1.0.218"
|
||||
tokio = { workspace = true, features = ["full"], optional = true }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -5,9 +5,9 @@ version.workspace = true
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
async-std = "1.12.0"
|
||||
async-std = "1.13.0"
|
||||
dioxus = { workspace = true, features = ["fullstack"] }
|
||||
serde = "1.0.159"
|
||||
serde = "1.0.218"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
||||
@@ -16,6 +16,5 @@ wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
web-sys = { workspace = true, features = ["Document", "Window", "HtmlElement", "Text", "DomRectReadOnly", "console"] }
|
||||
once_cell = { workspace = true }
|
||||
getrandom = { workspace = true, features = ["js"] }
|
||||
getrandom = { workspace = true }
|
||||
reqwest = { workspace = true, features = ["json"] }
|
||||
|
||||
@@ -8,8 +8,8 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
dioxus = { workspace = true, features = ["web"]}
|
||||
serde_json = "1.0.96"
|
||||
tracing.workspace = true
|
||||
tracing-wasm = "0.2.1"
|
||||
wasm-bindgen.workspace = true
|
||||
serde_json = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
tracing-wasm = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
web-sys = { workspace = true, features = ["Element", "Window"] }
|
||||
@@ -24,7 +24,7 @@ convert_case = { workspace = true }
|
||||
htmlentity = "1.3.2"
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.2.1"
|
||||
pretty_assertions = { workspace = true }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
||||
@@ -9,19 +9,16 @@ authors = ["Jonathan Kelley", "Evan Almloff"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Server function macros for Dioxus"
|
||||
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
proc-macro2 = "^1.0.63"
|
||||
quote = "^1.0.26"
|
||||
proc-macro2 = { workspace = true }
|
||||
quote = { workspace = true }
|
||||
syn = { workspace = true, features = ["full"] }
|
||||
server_fn_macro = "0.8.0-rc1"
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus = { workspace = true, features = ["fullstack"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
tower-http = { workspace = true, features = ["timeout"]}
|
||||
tower-http = { workspace = true, features = ["timeout"] }
|
||||
axum = { workspace = true }
|
||||
|
||||
[lib]
|
||||
|
||||
+19
-15
@@ -25,25 +25,22 @@ dioxus-interpreter-js = { workspace = true, features = [
|
||||
dioxus-fullstack-protocol = { workspace = true, features = ["web"], optional = true }
|
||||
generational-box = { workspace = true }
|
||||
|
||||
js-sys = "0.3.70"
|
||||
js-sys = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = "0.4.29"
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
rustc-hash = { workspace = true }
|
||||
futures-util = { workspace = true, features = [
|
||||
"std",
|
||||
"async-await",
|
||||
"async-await-macro",
|
||||
] }
|
||||
futures-util = { workspace = true, features = ["std", "async-await", "async-await-macro"] }
|
||||
futures-channel = { workspace = true }
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
serde = { version = "1.0", optional = true }
|
||||
serde-wasm-bindgen = { version = "0.5.0", optional = true }
|
||||
serde-wasm-bindgen = { version = "0.6.5", optional = true }
|
||||
|
||||
async-trait = { version = "0.1.58", optional = true }
|
||||
ciborium = { workspace = true, optional = true }
|
||||
async-trait = { workspace = true, optional = true }
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3.70"
|
||||
version = "0.3.77"
|
||||
features = [
|
||||
"AnimationEvent",
|
||||
"ClipboardEvent",
|
||||
@@ -104,17 +101,24 @@ file_engine = [
|
||||
"web-sys/FileList",
|
||||
"web-sys/FileReader"
|
||||
]
|
||||
devtools = ["web-sys/MessageEvent", "web-sys/WebSocket", "web-sys/Location", "dep:serde_json", "dep:serde", "dioxus-core/serialize"]
|
||||
devtools = [
|
||||
"web-sys/MessageEvent",
|
||||
"web-sys/WebSocket",
|
||||
"web-sys/Location",
|
||||
"dep:serde_json",
|
||||
"dep:serde",
|
||||
"dioxus-core/serialize",
|
||||
]
|
||||
document = ["dep:serde-wasm-bindgen", "dep:serde_json", "dep:serde"]
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus = { workspace = true, default-features = true }
|
||||
wasm-bindgen-test = "0.3.29"
|
||||
wasm-bindgen-test = "0.3.50"
|
||||
dioxus-ssr = { workspace = true, default-features = false }
|
||||
gloo-timers = "0.2.3"
|
||||
gloo-dialogs = "0.1.1"
|
||||
gloo-timers = { workspace = true }
|
||||
gloo-dialogs = { workspace = true }
|
||||
dioxus-web = { path = ".", features = ["hydrate"] }
|
||||
tracing-wasm = "0.2.1"
|
||||
tracing-wasm = { workspace = true }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
||||
Reference in new issue
Block a user