Skip to content

Commit 746423e

Browse files
committed
Update to new semver versions of dependencies
1 parent 382af70 commit 746423e

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

alpm-sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ generate = ["bindgen"]
1919
docs-rs = []
2020

2121
[build-dependencies]
22-
bindgen = { version = "0.66.1", optional = true, default-features = false, features = ["runtime"] }
23-
pkg-config = "0.3.27"
22+
bindgen = { version = "0.69.4", optional = true, default-features = false, features = ["runtime"] }
23+
pkg-config = "0.3.29"
2424

2525
[package.metadata.docs.rs]
2626
features = [ "docs-rs" ]

alpm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ checkver = []
2828
docs-rs = ["alpm-sys/docs-rs"]
2929

3030
[dependencies]
31-
bitflags = "1.3.2"
31+
bitflags = "2.4.2"
3232
libarchive = { version = "0.1.1", optional = true }
3333
libarchive3-sys = { version = "0.1.2", optional = true }
3434
alpm-sys = { path = "../alpm-sys", version = "2.1.3" }
@@ -37,7 +37,7 @@ alpm-sys = { path = "../alpm-sys", version = "2.1.3" }
3737
alpm-sys = { path = "../alpm-sys", version = "2.1.3" }
3838

3939
[dev-dependencies]
40-
criterion = "0.3.5"
40+
criterion = "0.5.1"
4141

4242
[[bench]]
4343
name = "list"

alpm/src/alpm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ pub fn version() -> &'static str {
110110
}
111111

112112
bitflags! {
113+
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Clone, Copy)]
113114
pub struct Capabilities: u32 {
114115
const NLS = alpm_caps::ALPM_CAPABILITY_NLS;
115116
const DOWNLOADER = alpm_caps::ALPM_CAPABILITY_DOWNLOADER;

alpm/src/trans.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use std::ptr;
88
use bitflags::bitflags;
99

1010
bitflags! {
11+
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Clone, Copy)]
1112
pub struct TransFlag: u32 {
1213
const NONE = 0;
1314
const NO_DEPS = ALPM_TRANS_FLAG_NODEPS;

alpm/src/types.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ pub enum FetchResult {
4141
}
4242

4343
bitflags! {
44+
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Clone, Copy)]
4445
pub struct SigLevel: u32 {
4546
const NONE = 0;
4647
const PACKAGE = ALPM_SIG_PACKAGE;
@@ -56,6 +57,7 @@ bitflags! {
5657
}
5758

5859
bitflags! {
60+
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Clone, Copy)]
5961
pub struct Usage: u32 {
6062
const NONE = 0;
6163
const SYNC = ALPM_DB_USAGE_SYNC;
@@ -67,6 +69,7 @@ bitflags! {
6769
}
6870

6971
bitflags! {
72+
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Clone, Copy)]
7073
pub struct LogLevel: u32 {
7174
const NONE = 0;
7275
const ERROR = ALPM_LOG_ERROR;
@@ -107,6 +110,7 @@ pub enum PackageReason {
107110
}
108111

109112
bitflags! {
113+
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
110114
pub struct PackageValidation: u32 {
111115
const UNKNOWN = ALPM_PKG_VALIDATION_UNKNOWN;
112116
const NONE = ALPM_PKG_VALIDATION_NONE;

0 commit comments

Comments
 (0)