bump bitflags dependency to 2.4

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2024-06-20 13:02:09 +02:00
parent c96ad06247
commit 533954ed38
3 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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;

View File

@ -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;