fix(cli): remove unused dependencies, closes #5522 (#5543)

This commit is contained in:
Lucas Fernandes Nogueira 2022-11-04 12:35:21 -03:00 committed by GitHub
parent e055c69c23
commit c6321a610c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 141 deletions

141
tooling/cli/Cargo.lock generated
View File

@ -70,15 +70,6 @@ dependencies = [
"memchr", "memchr",
] ]
[[package]]
name = "android_system_properties"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "ansi_term" name = "ansi_term"
version = "0.12.1" version = "0.12.1"
@ -357,36 +348,12 @@ dependencies = [
"uuid 0.8.2", "uuid 0.8.2",
] ]
[[package]]
name = "cfb"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f"
dependencies = [
"byteorder",
"fnv",
"uuid 1.1.2",
]
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
version = "1.0.0" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1"
dependencies = [
"iana-time-zone",
"num-integer",
"num-traits",
"serde",
"winapi",
]
[[package]] [[package]]
name = "chunked_transfer" name = "chunked_transfer"
version = "1.4.0" version = "1.4.0"
@ -671,18 +638,8 @@ version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
dependencies = [ dependencies = [
"darling_core 0.13.4", "darling_core",
"darling_macro 0.13.4", "darling_macro",
]
[[package]]
name = "darling"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4529658bdda7fd6769b8614be250cdcfc3aeb0ee72fe66f9e41e5e5eb73eac02"
dependencies = [
"darling_core 0.14.1",
"darling_macro 0.14.1",
] ]
[[package]] [[package]]
@ -699,38 +656,13 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "darling_core"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "649c91bc01e8b1eac09fb91e8dbc7d517684ca6be8ebc75bb9cafc894f9fdb6f"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
"strsim 0.10.0",
"syn",
]
[[package]] [[package]]
name = "darling_macro" name = "darling_macro"
version = "0.13.4" version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
dependencies = [ dependencies = [
"darling_core 0.13.4", "darling_core",
"quote",
"syn",
]
[[package]]
name = "darling_macro"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddfc69c5bfcbd2fc09a0f38451d2daf0e372e367986a83906d1b0dbc88134fb5"
dependencies = [
"darling_core 0.14.1",
"quote", "quote",
"syn", "syn",
] ]
@ -1307,19 +1239,6 @@ dependencies = [
"want", "want",
] ]
[[package]]
name = "iana-time-zone"
version = "0.1.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd911b35d940d2bd0bea0f9100068e5b97b51a1cbe13d13382f132e0365257a0"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"js-sys",
"wasm-bindgen",
"winapi",
]
[[package]] [[package]]
name = "ident_case" name = "ident_case"
version = "1.0.1" version = "1.0.1"
@ -1401,7 +1320,6 @@ checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
dependencies = [ dependencies = [
"autocfg", "autocfg",
"hashbrown", "hashbrown",
"serde",
] ]
[[package]] [[package]]
@ -1410,16 +1328,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20b2b533137b9cad970793453d4f921c2e91312a6d88b1085c07bc15fc51bb3b" checksum = "20b2b533137b9cad970793453d4f921c2e91312a6d88b1085c07bc15fc51bb3b"
dependencies = [ dependencies = [
"cfb 0.6.1", "cfb",
]
[[package]]
name = "infer"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f178e61cdbfe084aa75a2f4f7a25a5bb09701a47ae1753608f194b15783c937a"
dependencies = [
"cfb 0.7.3",
] ]
[[package]] [[package]]
@ -2898,23 +2807,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff"
dependencies = [ dependencies = [
"serde", "serde",
"serde_with_macros 1.5.2", "serde_with_macros",
]
[[package]]
name = "serde_with"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "368f2d60d049ea019a84dcd6687b0d1e0030fe663ae105039bdf967ed5e6a9a7"
dependencies = [
"base64",
"chrono",
"hex",
"indexmap",
"serde",
"serde_json",
"serde_with_macros 2.0.1",
"time",
] ]
[[package]] [[package]]
@ -2923,19 +2816,7 @@ version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082"
dependencies = [ dependencies = [
"darling 0.13.4", "darling",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "serde_with_macros"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ccadfacf6cf10faad22bbadf55986bdd0856edfb5d9210aa1dcf1f516e84e93"
dependencies = [
"darling 0.14.1",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn", "syn",
@ -3251,18 +3132,15 @@ dependencies = [
"ctrlc", "ctrlc",
"dialoguer", "dialoguer",
"env_logger", "env_logger",
"glob",
"handlebars", "handlebars",
"heck 0.4.0", "heck 0.4.0",
"html5ever", "html5ever",
"ignore", "ignore",
"image", "image",
"include_dir", "include_dir",
"infer 0.9.0",
"json-patch", "json-patch",
"jsonschema", "jsonschema",
"kuchiki", "kuchiki",
"lazy_static",
"libc", "libc",
"log", "log",
"minisign", "minisign",
@ -3275,12 +3153,10 @@ dependencies = [
"semver", "semver",
"serde", "serde",
"serde_json", "serde_json",
"serde_with 2.0.1",
"shared_child", "shared_child",
"tauri-bundler", "tauri-bundler",
"tauri-icns", "tauri-icns",
"tauri-utils", "tauri-utils",
"tempfile",
"tokio", "tokio",
"toml", "toml",
"toml_edit", "toml_edit",
@ -3322,7 +3198,7 @@ dependencies = [
"glob", "glob",
"heck 0.4.0", "heck 0.4.0",
"html5ever", "html5ever",
"infer 0.7.0", "infer",
"json-patch", "json-patch",
"json5", "json5",
"kuchiki", "kuchiki",
@ -3332,7 +3208,7 @@ dependencies = [
"semver", "semver",
"serde", "serde",
"serde_json", "serde_json",
"serde_with 1.14.0", "serde_with",
"serialize-to-javascript", "serialize-to-javascript",
"thiserror", "thiserror",
"toml", "toml",
@ -3458,7 +3334,6 @@ dependencies = [
"itoa 1.0.2", "itoa 1.0.2",
"libc", "libc",
"num_threads", "num_threads",
"serde",
"time-macros", "time-macros",
] ]

View File

@ -46,7 +46,6 @@ colored = "2.0"
once_cell = "1" once_cell = "1"
serde = { version = "1.0", features = [ "derive" ] } serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0" serde_json = "1.0"
serde_with = "2.0"
notify = "5.0" notify = "5.0"
notify-debouncer-mini = "0.2" notify-debouncer-mini = "0.2"
shared_child = "1.0" shared_child = "1.0"
@ -63,11 +62,8 @@ ureq = "2.5"
os_info = "3.5" os_info = "3.5"
semver = "1.0" semver = "1.0"
regex = "1.6.0" regex = "1.6.0"
lazy_static = "1"
unicode-width = "0.1" unicode-width = "0.1"
tempfile = "3"
zeroize = "1.5" zeroize = "1.5"
glob = "0.3"
heck = "0.4" heck = "0.4"
dialoguer = "0.10" dialoguer = "0.10"
url = { version = "2.3", features = [ "serde" ] } url = { version = "2.3", features = [ "serde" ] }
@ -80,7 +76,6 @@ icns = { package = "tauri-icns", version = "0.1" }
image = { version = "0.24", default-features = false, features = [ "ico" ] } image = { version = "0.24", default-features = false, features = [ "ico" ] }
axum = { version = "0.5.16", features = ["ws"] } axum = { version = "0.5.16", features = ["ws"] }
html5ever = "0.25" html5ever = "0.25"
infer = "0.9"
kuchiki = "0.8" kuchiki = "0.8"
tokio = { version = "1", features = ["macros", "sync"] } tokio = { version = "1", features = ["macros", "sync"] }
common-path = "1" common-path = "1"
@ -91,8 +86,5 @@ winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "
[target."cfg(unix)".dependencies] [target."cfg(unix)".dependencies]
libc = "0.2" libc = "0.2"
[target."cfg(target_os = \"linux\")".build-dependencies]
heck = "0.4"
[profile.release] [profile.release]
lto = true lto = true