diff --git a/Cargo.lock b/Cargo.lock index c4aee72..f4840b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,17 +102,17 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bindgen" -version = "0.66.1" +version = "0.69.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7" +checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" dependencies = [ "bitflags 2.4.0", "cexpr", "clang-sys", + "itertools", "lazy_static", "lazycell", "log", - "peeking_take_while", "prettyplease", "proc-macro2", "quote", @@ -408,6 +408,15 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" @@ -521,12 +530,6 @@ version = "6.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "pin-utils" version = "0.1.0" diff --git a/lib/src/bindings/runbindgen/Cargo.toml b/lib/src/bindings/runbindgen/Cargo.toml index f0d250d..148aa95 100644 --- a/lib/src/bindings/runbindgen/Cargo.toml +++ b/lib/src/bindings/runbindgen/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bindgen = "0.66" -clap = { version = "4.0", features = ["derive"]} +bindgen = "0.69" +clap = { version = "4.0", features = ["derive"] } diff --git a/lib/src/bindings/videodev2_32.rs b/lib/src/bindings/videodev2_32.rs index 232f71a..0425311 100644 --- a/lib/src/bindings/videodev2_32.rs +++ b/lib/src/bindings/videodev2_32.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.66.1 */ +/* automatically generated by rust-bindgen 0.69.4 */ pub const _SYS_TIME_H: u32 = 1; pub const _FEATURES_H: u32 = 1; @@ -27,6 +27,7 @@ pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; +pub const __GLIBC_USE_C2X_STRTOL: u32 = 0; pub const _STDC_PREDEF_H: u32 = 1; pub const __STDC_IEC_559__: u32 = 1; pub const __STDC_IEC_60559_BFP__: u32 = 201404; @@ -35,7 +36,7 @@ pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 37; +pub const __GLIBC_MINOR__: u32 = 39; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; @@ -178,6 +179,7 @@ pub const V4L2_CID_USER_ALLEGRO_BASE: u32 = 9968240; pub const V4L2_CID_USER_ISL7998X_BASE: u32 = 9968256; pub const V4L2_CID_USER_DW100_BASE: u32 = 9968272; pub const V4L2_CID_USER_ASPEED_BASE: u32 = 9968288; +pub const V4L2_CID_USER_NPCM_BASE: u32 = 9968304; pub const V4L2_CID_CODEC_BASE: u32 = 10029312; pub const V4L2_CID_CODEC_CLASS: u32 = 10027009; pub const V4L2_CID_MPEG_STREAM_TYPE: u32 = 10029312; diff --git a/lib/src/bindings/videodev2_64.rs b/lib/src/bindings/videodev2_64.rs index 58bd69f..fb57c1c 100644 --- a/lib/src/bindings/videodev2_64.rs +++ b/lib/src/bindings/videodev2_64.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.66.1 */ +/* automatically generated by rust-bindgen 0.69.4 */ pub const _SYS_TIME_H: u32 = 1; pub const _FEATURES_H: u32 = 1; @@ -26,6 +26,7 @@ pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0; pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0; +pub const __GLIBC_USE_C2X_STRTOL: u32 = 0; pub const _STDC_PREDEF_H: u32 = 1; pub const __STDC_IEC_559__: u32 = 1; pub const __STDC_IEC_60559_BFP__: u32 = 201404; @@ -34,7 +35,7 @@ pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 37; +pub const __GLIBC_MINOR__: u32 = 39; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; @@ -179,6 +180,7 @@ pub const V4L2_CID_USER_ALLEGRO_BASE: u32 = 9968240; pub const V4L2_CID_USER_ISL7998X_BASE: u32 = 9968256; pub const V4L2_CID_USER_DW100_BASE: u32 = 9968272; pub const V4L2_CID_USER_ASPEED_BASE: u32 = 9968288; +pub const V4L2_CID_USER_NPCM_BASE: u32 = 9968304; pub const V4L2_CID_CODEC_BASE: u32 = 10029312; pub const V4L2_CID_CODEC_CLASS: u32 = 10027009; pub const V4L2_CID_MPEG_STREAM_TYPE: u32 = 10029312;