diff --git a/rust/Cargo.lock b/rust/Cargo.lock index bcfe643d..1e20ee1b 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "_pendulum" -version = "3.0.0-beta-1" +version = "3.0.0" dependencies = [ "mimalloc", "pyo3", diff --git a/rust/src/parsing.rs b/rust/src/parsing.rs index 757a3e3b..9cae0709 100644 --- a/rust/src/parsing.rs +++ b/rust/src/parsing.rs @@ -27,6 +27,7 @@ pub struct ParsedDateTime { pub second: u32, pub microsecond: u32, pub offset: Option, + #[allow(dead_code)] pub has_offset: bool, pub tzname: Option, pub has_date: bool,