cbindgen: Update to 0.16.0

* Fix HOMEPAGE.

Changelog:
     * Remove artificial restriction on lifetime parameters on enums (#604)
     * Add an option for converting usize/isize into size_t/ptrdiff_t. (#606)
     * Allow controlling the cargo profile used for expansion. (#607)
     * Support wider range of expressions in enum discriminants (#614)
     * Support generation of Cython bindings (#590)
     * Fixed some issues with style=tag and recursive structs (#615)
     * Default C style to Both (as specified in docs) (#615)
     * Fix resolution of path dependencies from certain modules. (#629)
     * Support inlined definitions for tuple variants with a single field in C (#631)
This commit is contained in:
ryoon 2021-01-01 12:47:48 +00:00
parent 9dbcdd6ebc
commit bf9a3623e6
2 changed files with 53 additions and 8 deletions

View file

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.23 2020/10/11 13:04:35 ryoon Exp $
# $NetBSD: Makefile,v 1.24 2021/01/01 12:47:48 ryoon Exp $
DISTNAME= cbindgen-0.15.0
DISTNAME= cbindgen-0.16.0
CATEGORIES= devel
EXTRACT_SUFX= .crate
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/eqrion/cbindgen/releases
HOMEPAGE= https://github.com/eqrion/cbindgen/
COMMENT= Generating C bindings from Rust code
LICENSE= mpl-2.0
@ -15,14 +15,19 @@ CARGO_CRATE_DEPENDS+= autocfg-1.0.1
CARGO_CRATE_DEPENDS+= bitflags-1.2.1
CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
CARGO_CRATE_DEPENDS+= clap-2.33.3
CARGO_CRATE_DEPENDS+= cloudabi-0.0.3
CARGO_CRATE_DEPENDS+= getrandom-0.1.15
CARGO_CRATE_DEPENDS+= hashbrown-0.9.1
CARGO_CRATE_DEPENDS+= heck-0.3.1
CARGO_CRATE_DEPENDS+= hermit-abi-0.1.16
CARGO_CRATE_DEPENDS+= indexmap-1.6.0
CARGO_CRATE_DEPENDS+= itoa-0.4.6
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= libc-0.2.77
CARGO_CRATE_DEPENDS+= lock_api-0.3.4
CARGO_CRATE_DEPENDS+= log-0.4.11
CARGO_CRATE_DEPENDS+= parking_lot-0.10.2
CARGO_CRATE_DEPENDS+= parking_lot_core-0.7.2
CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.9
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.21
CARGO_CRATE_DEPENDS+= quote-1.0.7
@ -33,9 +38,13 @@ CARGO_CRATE_DEPENDS+= rand_hc-0.2.0
CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57
CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.3
CARGO_CRATE_DEPENDS+= ryu-1.0.5
CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
CARGO_CRATE_DEPENDS+= serde-1.0.116
CARGO_CRATE_DEPENDS+= serde_derive-1.0.116
CARGO_CRATE_DEPENDS+= serde_json-1.0.57
CARGO_CRATE_DEPENDS+= serial_test-0.5.0
CARGO_CRATE_DEPENDS+= serial_test_derive-0.5.0
CARGO_CRATE_DEPENDS+= smallvec-1.4.2
CARGO_CRATE_DEPENDS+= strsim-0.8.0
CARGO_CRATE_DEPENDS+= syn-1.0.41
CARGO_CRATE_DEPENDS+= tempfile-3.1.0

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.18 2020/10/11 13:04:35 ryoon Exp $
$NetBSD: distinfo,v 1.19 2021/01/01 12:47:48 ryoon Exp $
SHA1 (ansi_term-0.11.0.crate) = 0c6f984f171ee890100780e038def5db2a8b7ab8
RMD160 (ansi_term-0.11.0.crate) = 0bc10d826fc7a658ac1026dac333cc54f26f7c5b
@ -16,10 +16,10 @@ SHA1 (bitflags-1.2.1.crate) = b7d3a9b30a05e14231cb55271c6ffa45cc1279cd
RMD160 (bitflags-1.2.1.crate) = 186b1893055eb415978ca547b0775aaa617a00fd
SHA512 (bitflags-1.2.1.crate) = ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
Size (bitflags-1.2.1.crate) = 16745 bytes
SHA1 (cbindgen-0.15.0.crate) = cb4c0fd3e1fe914fc4c7858c75c088e3f935bb9f
RMD160 (cbindgen-0.15.0.crate) = 898356be6f8e536a567ef257012875b76368210c
SHA512 (cbindgen-0.15.0.crate) = cb0868ccdd5ae8f46b3c07f7f06bfad0583f2eda5381e4404a679814dcaad62ce95c9c16c22f00dedfaa2b78f25f1e5f3404a3e515ab50cffac05d1e6f936e60
Size (cbindgen-0.15.0.crate) = 181832 bytes
SHA1 (cbindgen-0.16.0.crate) = 09013fa96ffde83f718af8249464ec74895109d2
RMD160 (cbindgen-0.16.0.crate) = 97dfa419e59d54d74f9e69865ad40066139e3867
SHA512 (cbindgen-0.16.0.crate) = aca6a783f4347bb977d115b5a1ae8c532b0cad1509a6ec0ddccb4d5f043c59de1242b4f1f4ab081b7ec04f67b5f137b614ab71374377efeb7b119043b47e089d
Size (cbindgen-0.16.0.crate) = 178160 bytes
SHA1 (cfg-if-0.1.10.crate) = 3bd865df56c1f9266444b96351a1c30ffa5d9d75
RMD160 (cfg-if-0.1.10.crate) = 896cd2fb2bb15582a174cb08c5e5ace6cc0be1c8
SHA512 (cfg-if-0.1.10.crate) = 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339
@ -28,6 +28,10 @@ SHA1 (clap-2.33.3.crate) = a432f81828ef9948c7d3b7c4a467cda8ca60ea00
RMD160 (clap-2.33.3.crate) = 58082599dc4f1d5b29825be7e0258f052f1069bd
SHA512 (clap-2.33.3.crate) = 3eb0fd648e2e3f9e5ff69a5e6cf0d867304fe18523accd036f28a86de368e4774088a6936c108ccc045092c539fe7f7494ea96420ebf6b4bec16880cea84bedf
Size (clap-2.33.3.crate) = 201925 bytes
SHA1 (cloudabi-0.0.3.crate) = 3686cb2aa6c559198711acc8b0c7b0b1494d70b9
RMD160 (cloudabi-0.0.3.crate) = 4da7ab080c1d18e5881dbcb419d250d0c38387eb
SHA512 (cloudabi-0.0.3.crate) = 691ed793e9b35ba382f03897f4c0efc31a528394862a27b814ba8993ad30bbe0ebc9808484baf580e8b69d9c13ad1612776a1efd0f6981545b420139ff83592c
Size (cloudabi-0.0.3.crate) = 22156 bytes
SHA1 (getrandom-0.1.15.crate) = 86d31bdbf4ab0e54b5770d380fcbee2a1b4e9107
RMD160 (getrandom-0.1.15.crate) = 9a8b3e2b42ef4b2cdd4b942115fc8cab60a1efc8
SHA512 (getrandom-0.1.15.crate) = b26d9558554058f8a54b03f56f488db5ebad2d5cc84f737e489f8f532f8464ef9038d104173eb30acca61caa1f99e1ce267bc493c01ba1611b829e0a090cc87f
@ -52,14 +56,30 @@ SHA1 (itoa-0.4.6.crate) = 8da44ba223871001de19a0910c372820661e8995
RMD160 (itoa-0.4.6.crate) = 3075bdd92b5aa770d1d94dd9c2e34bfca1006362
SHA512 (itoa-0.4.6.crate) = 9085ad30313a2904fc60a85afed99c7388a345ed50c988f4e7307b23b5f38b14bc9ff64edf02b85fda6c363e035ac314241d5dba4a6e2dcfef3d2648cadb9692
Size (itoa-0.4.6.crate) = 12167 bytes
SHA1 (lazy_static-1.4.0.crate) = 3e8852a6967dc257753fe75a13112a04bc03dfc0
RMD160 (lazy_static-1.4.0.crate) = 6c74661c140113ff3b1d660bba095259398bbb55
SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
Size (lazy_static-1.4.0.crate) = 10443 bytes
SHA1 (libc-0.2.77.crate) = 9ddaa7119e151ce60dfbaf28da6caa6e0f60aae9
RMD160 (libc-0.2.77.crate) = 5cb02f9a9dba54f4f372ab2dd91f83092ac8c37b
SHA512 (libc-0.2.77.crate) = 1e6dbd6f646a50fffd294ea56146c42dec6c4e027f2cd886ce2bbab9a5a2d036e4787f95201c448bef9ceddd52d863153c849343791d92900bf1378fbacee0f7
Size (libc-0.2.77.crate) = 507233 bytes
SHA1 (lock_api-0.3.4.crate) = 117885360bd1f1dae9dc28ccd84bba0e4cc87547
RMD160 (lock_api-0.3.4.crate) = 03294274296bf10eaba4941648cede1bd22a1ef4
SHA512 (lock_api-0.3.4.crate) = 1517ec7cb1f9012da78be866e026be40465cc9befbbfff4a5f644ec19653baab6b171323c3fb8ef218df4a7bc4b305e42a6b9d6849654d0542a1c2dc8fe11fd8
Size (lock_api-0.3.4.crate) = 18750 bytes
SHA1 (log-0.4.11.crate) = e564fc11dffd0e80977c35278c6994232f178116
RMD160 (log-0.4.11.crate) = 1d7b864b62d56eef261a53f1bed276883101fa39
SHA512 (log-0.4.11.crate) = e216fcb3c9635d8c4b67b05c1ada1e5de4e99dce89ab4c8f8033ddce6ac488605d8af09f93c42d25ebf8844feea22c93b71682e77a368ee01c686a15133fdeec
Size (log-0.4.11.crate) = 36276 bytes
SHA1 (parking_lot-0.10.2.crate) = f355b2a76088594d15f7ab5d4a7401198b9ed626
RMD160 (parking_lot-0.10.2.crate) = 295eaa971fc66cb9a59ee83aac647bce1457ab1c
SHA512 (parking_lot-0.10.2.crate) = fcbc057e3c59a51d3b9eb2cc0d20a0beb36bf480e11954a701c4cce1a795ea7791fc17fbf992a259f855ccd1556704397c58060c93c27bf0828051aeebb35168
Size (parking_lot-0.10.2.crate) = 39536 bytes
SHA1 (parking_lot_core-0.7.2.crate) = 5047b8c11607885b2f9cbd5f14f8bed6537fcea9
RMD160 (parking_lot_core-0.7.2.crate) = aa4f102de2e3fa31377f3ae5ab53994d41ac8252
SHA512 (parking_lot_core-0.7.2.crate) = 96c62ac274343f46f3e0481ba3265bb00a085a4a95c4fb642f923e42852050b04b5d3a4c547b0dc261b83fe91766856df897ea3104545b89962614f7c63dae2b
Size (parking_lot_core-0.7.2.crate) = 33875 bytes
SHA1 (ppv-lite86-0.2.9.crate) = a43a397792904ebf1bc53c7359ee94bfb5c1358e
RMD160 (ppv-lite86-0.2.9.crate) = 7714769c38e0dace17f66b88a1fbee5aa32f72d3
SHA512 (ppv-lite86-0.2.9.crate) = d9fe88a221733197b43db2a2a608dd2acdd9aa37129af07ad2405d66171b6f9f4c1a61530013c7f9ad69194a2e52e7480ba80c696e97cf2adaea7677052cb010
@ -100,6 +120,10 @@ SHA1 (ryu-1.0.5.crate) = 20db65d59430e573f83d80b92efe5cb622615eb7
RMD160 (ryu-1.0.5.crate) = 7fb7f2a90d303c0a20b0e28ead4220b510f09124
SHA512 (ryu-1.0.5.crate) = d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c
Size (ryu-1.0.5.crate) = 49570 bytes
SHA1 (scopeguard-1.1.0.crate) = 4425144c5e5d1e14cd15920c067a6062353b4642
RMD160 (scopeguard-1.1.0.crate) = e46cfa35a49217861219347951a73d5b523d7190
SHA512 (scopeguard-1.1.0.crate) = 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d
Size (scopeguard-1.1.0.crate) = 11470 bytes
SHA1 (serde-1.0.116.crate) = 0fa35985f2fca497715da57ec2dc5bfa26ff9186
RMD160 (serde-1.0.116.crate) = 6c2c4d331375a94a62e1aea4bb5aa2c561879284
SHA512 (serde-1.0.116.crate) = 938cf3c4860a35746810cf46003ab754b02446f481ad91ad3a030c751ef593889f433019626c613add8834b71d855742482d7e7c471f423a4c7b324d809992f8
@ -112,6 +136,18 @@ SHA1 (serde_json-1.0.57.crate) = 63baf116ca88406e824d7aa3081d3b03c8070b5e
RMD160 (serde_json-1.0.57.crate) = eb8adc60935f27c43a9ad1fff359a524066a7434
SHA512 (serde_json-1.0.57.crate) = 0ca0ed1cf47c87f907b241e696d6aa23b49bec876d3b9e0e011c20d145b797769631ff8ce8d57487633d1d8a8657e601884bc10b5670ce17c136b9579fd921de
Size (serde_json-1.0.57.crate) = 114723 bytes
SHA1 (serial_test-0.5.0.crate) = 1b32a196fce7a521358277633884c1e1f11b76dd
RMD160 (serial_test-0.5.0.crate) = f8aeb2fddc4a75e74d70b844f453a5df157103cc
SHA512 (serial_test-0.5.0.crate) = 668d4eaf6d5fa79ba2b3883a6a6f95736fb19a93516031b68991dd35962ce7881d4a9cb8b291ded37dee057352511d5bbab8f8d4e0670a147810ebdc27e1314c
Size (serial_test-0.5.0.crate) = 2305 bytes
SHA1 (serial_test_derive-0.5.0.crate) = ffec3b34b7edfa46ae328b631daae59760f6b1c9
RMD160 (serial_test_derive-0.5.0.crate) = 51b5a3a081dc1d7409a8f16a36f1717873c02994
SHA512 (serial_test_derive-0.5.0.crate) = 2c9e3a49c726975dfe6ccc7f7fd4bb9365660113c3d4352593285a4e5c6f250b4ba0375f0fa1a4a7b47bf7726cc59d4b63fc37c3bc80e9030eafe9b2c5ddeeac
Size (serial_test_derive-0.5.0.crate) = 2899 bytes
SHA1 (smallvec-1.4.2.crate) = 48adb15de08cd4cf4ca5db988d371a2ba55e349a
RMD160 (smallvec-1.4.2.crate) = 6769a329a6b4292514af82be4bf48f5d6ae2f3c1
SHA512 (smallvec-1.4.2.crate) = 5fa8ca2bd49dcf23c5f2c241b69811ff92bcca30b9687c3796cd4d4676450640cf5ab15745fd0df07993db42d12e2d4022fc395c55e5464b12ad6a1b3f7f75d5
Size (smallvec-1.4.2.crate) = 26109 bytes
SHA1 (strsim-0.8.0.crate) = 9a09b5df624d5e5cc4f9ae9f6d45e49b27e18834
RMD160 (strsim-0.8.0.crate) = 980ec0eecba085ca6419d089af3743e23b27cd16
SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34