Skip to content

Commit f2c539d

Browse files
committed
replace enumflags2 with bit math
1 parent 31b6d54 commit f2c539d

File tree

3 files changed

+261
-69
lines changed

3 files changed

+261
-69
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ now = ["std"]
2828
oldtime = []
2929
wasmbind = ["wasm-bindgen", "js-sys"]
3030
unstable-locales = ["pure-rust-locales"]
31-
experimental_weekdays = ["dep:enumflags2"]
31+
experimental_weekdays = []
3232
# Note that rkyv-16, rkyv-32, and rkyv-64 are mutually exclusive.
3333
rkyv = ["dep:rkyv", "rkyv/size_32"]
3434
rkyv-16 = ["dep:rkyv", "rkyv?/size_16"]
@@ -44,7 +44,6 @@ serde = { version = "1.0.99", default-features = false, optional = true }
4444
pure-rust-locales = { version = "0.8", optional = true }
4545
rkyv = { version = "0.7.43", optional = true, default-features = false }
4646
arbitrary = { version = "1.0.0", features = ["derive"], optional = true }
47-
enumflags2 = { version = "0.7.11", optional = true }
4847

4948
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies]
5049
wasm-bindgen = { version = "0.2", optional = true }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ mod weekday;
580580
pub use weekday::ParseWeekdayError;
581581
pub use weekday::Weekday;
582582

583-
#[cfg(feature = "experimental_weekdays")]
583+
// #[cfg(feature = "experimental_weekdays")]
584584
mod weekdays;
585585
#[cfg(feature = "experimental_weekdays")]
586586
pub use weekdays::Weekdays;

0 commit comments

Comments
 (0)