Start playing with cbindgen

This commit is contained in:
Floris Bruynooghe
2022-04-07 20:56:16 +02:00
parent 918ee47c79
commit eeaf320595
10 changed files with 945 additions and 221 deletions

64
Cargo.lock generated
View File

@@ -636,6 +636,25 @@ dependencies = [
"opaque-debug",
]
[[package]]
name = "cbindgen"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "485ede05a56152367a6ec586a7425b475d6c3d3838581ff651d2a6e3730a62ef"
dependencies = [
"clap 3.1.8",
"heck",
"indexmap",
"log",
"proc-macro2",
"quote",
"serde",
"serde_json",
"syn",
"tempfile",
"toml",
]
[[package]]
name = "cc"
version = "1.0.73"
@@ -712,6 +731,21 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "clap"
version = "3.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71c47df61d9e16dc010b55dba1952a57d8c215dbb533fd13cdd13369aac73b1c"
dependencies = [
"atty",
"bitflags",
"indexmap",
"os_str_bytes",
"strsim 0.10.0",
"termcolor",
"textwrap 0.15.0",
]
[[package]]
name = "clear_on_drop"
version = "0.2.4"
@@ -836,7 +870,7 @@ dependencies = [
"async-std",
"atty",
"cast",
"clap",
"clap 2.34.0",
"criterion-plot",
"csv",
"futures",
@@ -1014,7 +1048,7 @@ dependencies = [
"ident_case",
"proc-macro2",
"quote",
"strsim",
"strsim 0.9.3",
"syn",
]
@@ -1154,6 +1188,7 @@ version = "1.76.0"
dependencies = [
"anyhow",
"async-std",
"cbindgen",
"deltachat",
"human-panic",
"libc",
@@ -1973,6 +2008,16 @@ dependencies = [
"nom 6.1.2",
]
[[package]]
name = "indexmap"
version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f647032dfaa1f8b6dc29bd3edb7bbef4861b8b8007ebb118d6db284fd59f6ee"
dependencies = [
"autocfg 1.1.0",
"hashbrown",
]
[[package]]
name = "infer"
version = "0.2.3"
@@ -2509,6 +2554,15 @@ dependencies = [
"vcpkg",
]
[[package]]
name = "os_str_bytes"
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64"
dependencies = [
"memchr",
]
[[package]]
name = "os_type"
version = "2.4.0"
@@ -3636,6 +3690,12 @@ version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c"
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "strum"
version = "0.24.0"