From 0aca4c22abe34e36ebc052858ab08b293629e69f Mon Sep 17 00:00:00 2001 From: tottoto Date: Wed, 28 Jun 2023 06:51:39 +0900 Subject: [PATCH] Disable unused cbindgen feature --- Cargo.lock | 41 ++--------------------------------------- lib/c-api/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a427bf2540..0d196a97b6e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -480,7 +480,6 @@ version = "0.24.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b922faaf31122819ec80c4047cc684c6979a087366c069611e33649bf98e18d" dependencies = [ - "clap 3.2.25", "heck 0.4.1", "indexmap", "log", @@ -545,25 +544,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" dependencies = [ "bitflags 1.3.2", - "textwrap 0.11.0", + "textwrap", "unicode-width", ] -[[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", - "strsim", - "termcolor", - "textwrap 0.16.0", -] - [[package]] name = "clap" version = "4.3.5" @@ -594,7 +578,7 @@ dependencies = [ "anstream", "anstyle", "bitflags 1.3.2", - "clap_lex 0.5.0", + "clap_lex", "strsim", ] @@ -610,15 +594,6 @@ dependencies = [ "syn 2.0.18", ] -[[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.0" @@ -2870,12 +2845,6 @@ dependencies = [ "sdl2-sys", ] -[[package]] -name = "os_str_bytes" -version = "6.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" - [[package]] name = "output_vt100" version = "0.1.3" @@ -4469,12 +4438,6 @@ dependencies = [ "unicode-width", ] -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - [[package]] name = "thiserror" version = "1.0.40" diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index 80e08d753ab..0f643cccf9c 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -105,4 +105,4 @@ jit = ["compiler"] #emscripten = ["wasmer-emscripten"] [build-dependencies] -cbindgen = "0.24" +cbindgen = { version = "0.24", default-features = false }