diff --git a/Cargo.toml b/Cargo.toml index ac5c88c..950e851 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,23 +27,23 @@ default = [] buildtime_bindgen = ["bindgen"] [dependencies] -bitflags = "2.4.0" -log = "0.4.11" -uuid = "1.1.1" -scopeguard = "1.1.0" +bitflags = "2.4.1" +log = "0.4.20" +uuid = "1.6.1" +scopeguard = "1.2.0" serde = { version = "1.0", optional = true, features = ["derive"] } [build-dependencies] -bindgen = { version = "0.68.1", optional = true } +bindgen = { version = "0.69.1", optional = true } [dev-dependencies] -tempfile = "3.1.0" -ctor = "0.2.2" +tempfile = "3.8.1" +ctor = "0.2.6" # Used by exacl.rs example. -clap = { version = "4.0.23", features = ["derive"] } -env_logger = "0.10.0" -serde_json = "1.0.59" +clap = { version = "4.4.11", features = ["derive"] } +env_logger = "0.10.1" +serde_json = "1.0.108" [package.metadata.docs.rs] rustc-args = ["--cfg", "docsrs"] diff --git a/build.rs b/build.rs index e46621b..45bb36e 100644 --- a/build.rs +++ b/build.rs @@ -37,7 +37,7 @@ fn bindgen_bindings(wrapper: &str, out_path: &Path) { // crate when any included header file changes. let mut builder = bindgen::Builder::default() .header(wrapper) - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .disable_header_comment() .layout_tests(false); // no layout tests for passwd/group structs. diff --git a/ci/lint.sh b/ci/lint.sh index 683d099..7d06e14 100755 --- a/ci/lint.sh +++ b/ci/lint.sh @@ -5,7 +5,7 @@ set -eu # Space-separated list of ignored clippy lints. -IGNORE="similar-names wildcard_imports use_self module_name_repetitions" +IGNORE="similar-names wildcard_imports use_self module_name_repetitions needless_raw_string_hashes" allow="" for name in $IGNORE; do