aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core/src/users/tokens.rs
diff options
context:
space:
mode:
authorKatharina <kookie@spacekookie.de>2019-04-22 02:02:08 +0200
committerGitHub <noreply@github.com>2019-04-22 02:02:08 +0200
commitf12fae4479c5b97ab37823d7aa58d9156e2fc3ad (patch)
treed3cd6576730c904c6d798c956295a989723a59a3 /lockchain-core/src/users/tokens.rs
parent9ceda952a1c0d42b11a67dd7d00178c720f9c601 (diff)
Updating crates to 2018 edition (#9)
* Updating main README * Updating lock file * Updating crate ecosystem to Rust 2018 edition
Diffstat (limited to 'lockchain-core/src/users/tokens.rs')
-rw-r--r--lockchain-core/src/users/tokens.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lockchain-core/src/users/tokens.rs b/lockchain-core/src/users/tokens.rs
index 535fdb9..3f29af1 100644
--- a/lockchain-core/src/users/tokens.rs
+++ b/lockchain-core/src/users/tokens.rs
@@ -1,4 +1,5 @@
-use crypto::{Key, KeyType};
+use crate::crypto::{Key, KeyType};
+use serde::{Serialize, Deserialize};
use std::borrow::Cow;
/// An authentication token that can be compared in constant time