We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 382af70 commit 746423eCopy full SHA for 746423e
alpm-sys/Cargo.toml
@@ -19,8 +19,8 @@ generate = ["bindgen"]
19
docs-rs = []
20
21
[build-dependencies]
22
-bindgen = { version = "0.66.1", optional = true, default-features = false, features = ["runtime"] }
23
-pkg-config = "0.3.27"
+bindgen = { version = "0.69.4", optional = true, default-features = false, features = ["runtime"] }
+pkg-config = "0.3.29"
24
25
[package.metadata.docs.rs]
26
features = [ "docs-rs" ]
alpm/Cargo.toml
@@ -28,7 +28,7 @@ checkver = []
28
docs-rs = ["alpm-sys/docs-rs"]
29
30
[dependencies]
31
-bitflags = "1.3.2"
+bitflags = "2.4.2"
32
libarchive = { version = "0.1.1", optional = true }
33
libarchive3-sys = { version = "0.1.2", optional = true }
34
alpm-sys = { path = "../alpm-sys", version = "2.1.3" }
@@ -37,7 +37,7 @@ alpm-sys = { path = "../alpm-sys", version = "2.1.3" }
37
38
39
[dev-dependencies]
40
-criterion = "0.3.5"
+criterion = "0.5.1"
41
42
[[bench]]
43
name = "list"
alpm/src/alpm.rs
@@ -110,6 +110,7 @@ pub fn version() -> &'static str {
110
}
111
112
bitflags! {
113
+ #[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Clone, Copy)]
114
pub struct Capabilities: u32 {
115
const NLS = alpm_caps::ALPM_CAPABILITY_NLS;
116
const DOWNLOADER = alpm_caps::ALPM_CAPABILITY_DOWNLOADER;
alpm/src/trans.rs
@@ -8,6 +8,7 @@ use std::ptr;
8
use bitflags::bitflags;
9
10
11
12
pub struct TransFlag: u32 {
13
const NONE = 0;
14
const NO_DEPS = ALPM_TRANS_FLAG_NODEPS;
alpm/src/types.rs
@@ -41,6 +41,7 @@ pub enum FetchResult {
44
45
pub struct SigLevel: u32 {
46
47
const PACKAGE = ALPM_SIG_PACKAGE;
@@ -56,6 +57,7 @@ bitflags! {
56
57
58
59
60
61
pub struct Usage: u32 {
62
63
const SYNC = ALPM_DB_USAGE_SYNC;
@@ -67,6 +69,7 @@ bitflags! {
67
69
68
70
71
72
73
pub struct LogLevel: u32 {
74
75
const ERROR = ALPM_LOG_ERROR;
@@ -107,6 +110,7 @@ pub enum PackageReason {
107
108
109
+ #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
pub struct PackageValidation: u32 {
const UNKNOWN = ALPM_PKG_VALIDATION_UNKNOWN;
const NONE = ALPM_PKG_VALIDATION_NONE;
0 commit comments