diff options
author | Martin Fischer <martin@push-f.com> | 2021-04-09 14:23:14 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-04-09 14:28:25 +0200 |
commit | f755eb02b4be1a2d97941f15c776d2391420ecad (patch) | |
tree | 48d4cab357e11cacf7de4a0546f1cae3db5a6382 /src/security.rs | |
parent | 61d8ccaddde9ce3f50d11daa706e0c93f70a3cd4 (diff) |
make security module optional
Diffstat (limited to 'src/security.rs')
-rw-r--r-- | src/security.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/security.rs b/src/security.rs index a270ee9..abe114e 100644 --- a/src/security.rs +++ b/src/security.rs @@ -2,7 +2,9 @@ use time::OffsetDateTime; -pub use crate::signed::Key; +pub use signed::Key; + +mod signed; /// Join a string and an expiry date together into a string. pub fn encode_expiring_claim(claim: &str, expiry_date: OffsetDateTime) -> String { |