chore: Remove clap3 dependency by disabling default features of cbindgen (#15037)

cbindgen pulled that in, but we don't really need it (Plus it pulls in a
dep with an advisory)

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Piotr Osiewicz 2024-07-23 22:49:49 +02:00 committed by GitHub
parent d034d73af9
commit ba4ff1df59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 69 deletions

79
Cargo.lock generated
View File

@ -945,17 +945,6 @@ version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3"
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi 0.1.19",
"libc",
"winapi",
]
[[package]]
name = "audio"
version = "0.1.0"
@ -2052,7 +2041,6 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49"
dependencies = [
"clap 3.2.25",
"heck 0.4.1",
"indexmap 1.9.3",
"log",
@ -2220,21 +2208,6 @@ dependencies = [
"libloading 0.7.4",
]
[[package]]
name = "clap"
version = "3.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"
dependencies = [
"atty",
"bitflags 1.3.2",
"clap_lex 0.2.4",
"indexmap 1.9.3",
"strsim",
"termcolor",
"textwrap",
]
[[package]]
name = "clap"
version = "4.4.4"
@ -2253,7 +2226,7 @@ checksum = "5179bb514e4d7c2051749d8fcefa2ed6d06a9f4e6d69faf3805f5d80b8cf8d56"
dependencies = [
"anstream",
"anstyle",
"clap_lex 0.5.1",
"clap_lex",
"strsim",
]
@ -2269,15 +2242,6 @@ dependencies = [
"syn 2.0.59",
]
[[package]]
name = "clap_lex"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
dependencies = [
"os_str_bytes",
]
[[package]]
name = "clap_lex"
version = "0.5.1"
@ -2289,7 +2253,7 @@ name = "cli"
version = "0.1.0"
dependencies = [
"anyhow",
"clap 4.4.4",
"clap",
"core-foundation",
"core-services",
"exec",
@ -3075,7 +3039,7 @@ dependencies = [
"anes",
"cast",
"ciborium",
"clap 4.4.4",
"clap",
"criterion-plot",
"is-terminal",
"itertools 0.10.5",
@ -3945,7 +3909,7 @@ name = "extension_cli"
version = "0.1.0"
dependencies = [
"anyhow",
"clap 4.4.4",
"clap",
"env_logger",
"extension",
"fs",
@ -5118,15 +5082,6 @@ dependencies = [
"serde_json",
]
[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
[[package]]
name = "hermit-abi"
version = "0.3.9"
@ -5645,7 +5600,7 @@ version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
"hermit-abi 0.3.9",
"hermit-abi",
"libc",
"windows-sys 0.48.0",
]
@ -5705,7 +5660,7 @@ version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b"
dependencies = [
"hermit-abi 0.3.9",
"hermit-abi",
"libc",
"windows-sys 0.52.0",
]
@ -7068,7 +7023,7 @@ version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
dependencies = [
"hermit-abi 0.3.9",
"hermit-abi",
"libc",
]
@ -7334,12 +7289,6 @@ dependencies = [
"pin-project-lite",
]
[[package]]
name = "os_str_bytes"
version = "6.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac"
[[package]]
name = "ouroboros"
version = "0.17.2"
@ -10345,7 +10294,7 @@ name = "storybook"
version = "0.1.0"
dependencies = [
"anyhow",
"clap 4.4.4",
"clap",
"collab_ui",
"ctrlc",
"dialoguer",
@ -10916,12 +10865,6 @@ dependencies = [
"util",
]
[[package]]
name = "textwrap"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
[[package]]
name = "theme"
version = "0.1.0"
@ -10954,7 +10897,7 @@ name = "theme_importer"
version = "0.1.0"
dependencies = [
"anyhow",
"clap 4.4.4",
"clap",
"gpui",
"indexmap 1.9.3",
"log",
@ -13616,7 +13559,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"cargo_toml",
"clap 4.4.4",
"clap",
"toml 0.8.10",
]
@ -13723,7 +13666,7 @@ dependencies = [
"call",
"channel",
"chrono",
"clap 4.4.4",
"clap",
"cli",
"client",
"collab_ui",

View File

@ -87,7 +87,7 @@ embed-resource = "2.4"
[target.'cfg(target_os = "macos")'.build-dependencies]
bindgen = "0.65.1"
cbindgen = "0.26.0"
cbindgen = { version = "0.26.0", default-features = false }
[target.'cfg(target_os = "macos")'.dependencies]
block = "0.1"