Skip to content

Commit

Permalink
Rename feature numericdate-conversion -> time
Browse files Browse the repository at this point in the history
  • Loading branch information
eelanagaraj committed Feb 14, 2024
1 parent 6dd0bf6 commit 2292c3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "Apache-2.0"
[features]
default = ["p256", "p384"]
async = ["async-signature"]
numericdate-conversion = ["dep:time", "dep:fmul-to-int"]
time = ["dep:time", "dep:fmul-to-int"]
p256 = ["dep:p256"]
p384 = ["dep:p384"]

Expand Down
2 changes: 1 addition & 1 deletion src/cwt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::collections::BTreeMap;

pub use crate::cwt::claim::{Claim, Key, NumericDate};

#[cfg(feature = "numericdate-conversion")]
#[cfg(feature = "time")]
pub mod numericdate_conversion;

/// Representation of a CWT claims set (a CBOR map containing CWT claims),
Expand Down

0 comments on commit 2292c3c

Please sign in to comment.