feat: Remove unused deps (#1447)
* feat: Reduce dioxus-cli deps * remove more unused deps
This commit is contained in:
1 parent
cde1e886d6
commit
c8c4e85e65
6 files changed
+1
-4822
No files matched your search
@@ -11,13 +11,10 @@ keywords = ["dom", "ui", "gui", "react"]
|
|||||||
# 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-rsx = { workspace = true }
|
|
||||||
proc-macro2 = { version = "1.0.6", features = ["span-locations"] }
|
proc-macro2 = { version = "1.0.6", features = ["span-locations"] }
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.11", features = ["full", "extra-traits", "visit"] }
|
syn = { version = "1.0.11", features = ["full", "extra-traits", "visit"] }
|
||||||
serde = { version = "1.0.136", features = ["derive"] }
|
|
||||||
owo-colors = { version = "3.5.0", features = ["supports-colors"] }
|
owo-colors = { version = "3.5.0", features = ["supports-colors"] }
|
||||||
prettyplease = { workspace = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
indoc = "2.0.3"
|
indoc = "2.0.3"
|
||||||
|
|||||||
Generated
-4778
File diff suppressed because it is too large.
Load diff
@@ -26,12 +26,9 @@ cargo_toml = "0.16.0"
|
|||||||
futures = "0.3.21"
|
futures = "0.3.21"
|
||||||
notify = { version = "5.0.0-pre.16", features = ["serde"] }
|
notify = { version = "5.0.0-pre.16", features = ["serde"] }
|
||||||
html_parser = { workspace = true }
|
html_parser = { workspace = true }
|
||||||
binary-install = "0.0.2"
|
|
||||||
convert_case = "0.5.0"
|
|
||||||
cargo_metadata = "0.15.0"
|
cargo_metadata = "0.15.0"
|
||||||
tokio = { version = "1.16.1", features = ["full"] }
|
tokio = { version = "1.16.1", features = ["fs", "sync", "rt", "macros"] }
|
||||||
atty = "0.2.14"
|
atty = "0.2.14"
|
||||||
regex = "1.5.4"
|
|
||||||
chrono = "0.4.19"
|
chrono = "0.4.19"
|
||||||
anyhow = "1.0.53"
|
anyhow = "1.0.53"
|
||||||
hyper = "0.14.17"
|
hyper = "0.14.17"
|
||||||
@@ -59,7 +56,6 @@ tar = "0.4.38"
|
|||||||
zip = "0.6.2"
|
zip = "0.6.2"
|
||||||
tower = "0.4.12"
|
tower = "0.4.12"
|
||||||
syn = { version = "2.0", features = ["full", "extra-traits"] }
|
syn = { version = "2.0", features = ["full", "extra-traits"] }
|
||||||
proc-macro2 = { version = "1.0", features = ["span-locations"] }
|
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
|
|
||||||
# plugin packages
|
# plugin packages
|
||||||
@@ -71,7 +67,6 @@ mlua = { version = "0.8.1", features = [
|
|||||||
"macros",
|
"macros",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
ctrlc = "3.2.3"
|
ctrlc = "3.2.3"
|
||||||
gitignore = "1.0.7"
|
|
||||||
open = "4.1.0"
|
open = "4.1.0"
|
||||||
cargo-generate = "0.18"
|
cargo-generate = "0.18"
|
||||||
toml_edit = "0.19.11"
|
toml_edit = "0.19.11"
|
||||||
|
|||||||
@@ -688,35 +688,3 @@ fn build_assets(config: &CrateConfig) -> Result<Vec<PathBuf>> {
|
|||||||
|
|
||||||
Ok(result)
|
Ok(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
// use binary_install::{Cache, Download};
|
|
||||||
|
|
||||||
// /// Attempts to find `wasm-opt` in `PATH` locally, or failing that downloads a
|
|
||||||
// /// precompiled binary.
|
|
||||||
// ///
|
|
||||||
// /// Returns `Some` if a binary was found or it was successfully downloaded.
|
|
||||||
// /// Returns `None` if a binary wasn't found in `PATH` and this platform doesn't
|
|
||||||
// /// have precompiled binaries. Returns an error if we failed to download the
|
|
||||||
// /// binary.
|
|
||||||
// pub fn find_wasm_opt(
|
|
||||||
// cache: &Cache,
|
|
||||||
// install_permitted: bool,
|
|
||||||
// ) -> Result<install::Status, failure::Error> {
|
|
||||||
// // First attempt to look up in PATH. If found assume it works.
|
|
||||||
// if let Ok(path) = which::which("wasm-opt") {
|
|
||||||
// PBAR.info(&format!("found wasm-opt at {:?}", path));
|
|
||||||
|
|
||||||
// match path.as_path().parent() {
|
|
||||||
// Some(path) => return Ok(install::Status::Found(Download::at(path))),
|
|
||||||
// None => {}
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// let version = "version_78";
|
|
||||||
// Ok(install::download_prebuilt(
|
|
||||||
// &install::Tool::WasmOpt,
|
|
||||||
// cache,
|
|
||||||
// version,
|
|
||||||
// install_permitted,
|
|
||||||
// )?)
|
|
||||||
// }
|
|
||||||
@@ -10,7 +10,6 @@ keywords = ["dom", "ui", "gui", "react", "terminal"]
|
|||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dioxus = { workspace = true }
|
|
||||||
dioxus-core = { workspace = true, features = ["serialize"] }
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
||||||
dioxus-html = { workspace = true }
|
dioxus-html = { workspace = true }
|
||||||
dioxus-native-core = { workspace = true, features = ["dioxus"] }
|
dioxus-native-core = { workspace = true, features = ["dioxus"] }
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ keyboard-types = "0.7"
|
|||||||
smallvec = "1.6"
|
smallvec = "1.6"
|
||||||
rustc-hash = { workspace = true }
|
rustc-hash = { workspace = true }
|
||||||
anymap = "1.0.0-beta.2"
|
anymap = "1.0.0-beta.2"
|
||||||
slab = { workspace = true }
|
|
||||||
parking_lot = { version = "0.12.1", features = ["send_guard"] }
|
parking_lot = { version = "0.12.1", features = ["send_guard"] }
|
||||||
dashmap = "5.4.0"
|
dashmap = "5.4.0"
|
||||||
|
|
||||||
@@ -24,7 +23,6 @@ dashmap = "5.4.0"
|
|||||||
taffy = { version = "0.3.12", optional = true }
|
taffy = { version = "0.3.12", optional = true }
|
||||||
lightningcss = { version = "1.0.0-alpha.39", optional = true }
|
lightningcss = { version = "1.0.0-alpha.39", optional = true }
|
||||||
|
|
||||||
rayon = "1.6.1"
|
|
||||||
shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = false }
|
shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
Reference in new issue
Block a user