mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-28 20:29:17 +00:00
bump bitflags dependency to 2.4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
c96ad06247
commit
533954ed38
@ -62,7 +62,7 @@ rust-version = "1.70"
|
||||
anyhow = "1.0"
|
||||
base32 = "0.4"
|
||||
base64 = "0.13"
|
||||
bitflags = "1.2.1"
|
||||
bitflags = "2.4"
|
||||
bytes = "1.0"
|
||||
const_format = "0.2"
|
||||
crc32fast = "1"
|
||||
|
@ -14,6 +14,7 @@ use crate::rrd::{AggregationFn, Archive, DataSource, DataSourceType, Database};
|
||||
|
||||
bitflags! {
|
||||
/// Flags to specify the data source type and consolidation function
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub struct RRAFlags: u64 {
|
||||
// Data Source Types
|
||||
const DST_GAUGE = 1;
|
||||
|
@ -5,7 +5,7 @@ use crate::parse_helpers::{parse_error, IResult};
|
||||
|
||||
bitflags! {
|
||||
/// Defines one or more days of a week.
|
||||
#[derive(Default)]
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
|
||||
pub struct WeekDays: u8 {
|
||||
const MONDAY = 1;
|
||||
const TUESDAY = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user