Skip to content

Commit

Permalink
Merge pull request #180 from byllyfish/fixes
Browse files Browse the repository at this point in the history
Minor maintenance
  • Loading branch information
byllyfish authored Dec 13, 2023
2 parents 8577aaa + d38f7a8 commit d51c54e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion ci/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d51c54e

Please sign in to comment.