diff --git a/Cargo.lock b/Cargo.lock index 53d54bc9..5b6d9fb8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1903,7 +1903,6 @@ dependencies = [ "dioxus-hooks", "dioxus-html", "dioxus-liveview", - "dioxus-logger", "dioxus-native", "dioxus-router", "dioxus-server", @@ -2518,8 +2517,7 @@ dependencies = [ [[package]] name = "dioxus-sdk-time" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80c25ae93a3f72e734873b97fbd09d9b1b6adff97205fb0ffd8543e3564fb78e" +source = "git+https://github.com/ealmloff/dioxus-std?branch=fix-time-dioxus-default-features#4b670aec7644b767728a33681266b99fc9b2739a" dependencies = [ "dioxus", "futures", diff --git a/Cargo.toml b/Cargo.toml index 5bed6886..3c8f6ef3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,17 @@ [workspace] resolver = "3" -members = ["primitives", "preview", "test-harness", "dioxus-attributes"] +members = [ + "primitives", + "preview", + "test-harness", + "dioxus-attributes", +] [workspace.dependencies] dioxus-primitives = { path = "primitives" } tracing = { version = "0.1", features = ["std"] } -dioxus = "0.7.8" +dioxus = { version = "0.7.8", default-features = false, features = ["lib", "launch"] } dioxus-rsx = "0.7.8" [profile.release] diff --git a/preview/Cargo.toml b/preview/Cargo.toml index 240a3afe..f3e3b0d5 100644 --- a/preview/Cargo.toml +++ b/preview/Cargo.toml @@ -28,7 +28,7 @@ serde_json = "1" dioxus-ssr = "0.7.0" [features] -web = ["dioxus/web", "dioxus-primitives/web"] +web = ["dioxus/web", "dioxus/devtools", "dioxus-primitives/web"] desktop = ["dioxus/desktop"] fullstack = ["dioxus/fullstack"] server = ["dioxus/server", "dioxus/fullstack"] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 655fdcbf..c7f4e4ff 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -14,7 +14,7 @@ repository = "https://github.com/DioxusLabs/components" [dependencies] dioxus.workspace = true dioxus-attributes = { path = "../dioxus-attributes" } -dioxus-sdk-time = "0.7.0" +dioxus-sdk-time = { git = "https://github.com/ealmloff/dioxus-std", branch = "fix-time-dioxus-default-features" } time = { version = "0.3.44", features = ["std", "macros", "parsing", "local-offset"] } num-integer = "0.1.46" tracing.workspace = true diff --git a/test-harness/Cargo.toml b/test-harness/Cargo.toml index b0f16080..9a069440 100644 --- a/test-harness/Cargo.toml +++ b/test-harness/Cargo.toml @@ -7,11 +7,11 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dioxus = { version = "0.7.9", features = [] } +dioxus = { version = "0.7.9", default-features = false, features = ["lib", "launch"] } dioxus-primitives = { path = "../primitives/", version = "0.0.1", default-features = false, features = ["router"] } [features] default = ["web"] -web = ["dioxus/web"] +web = ["dioxus/web", "dioxus/devtools"] desktop = ["dioxus/desktop"] mobile = ["dioxus/mobile"]