aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core
diff options
context:
space:
mode:
Diffstat (limited to 'lockchain-core')
-rw-r--r--lockchain-core/src/crypto/mod.rs1
-rw-r--r--lockchain-core/src/lib.rs2
-rw-r--r--lockchain-core/src/users/mod.rs9
3 files changed, 1 insertions, 11 deletions
diff --git a/lockchain-core/src/crypto/mod.rs b/lockchain-core/src/crypto/mod.rs
index ef52912..11aace0 100644
--- a/lockchain-core/src/crypto/mod.rs
+++ b/lockchain-core/src/crypto/mod.rs
@@ -19,4 +19,3 @@ pub mod hashing;
pub use self::data::PackedData;
pub use self::keys::{Key, KeyType};
-pub use users::KeyStore; \ No newline at end of file
diff --git a/lockchain-core/src/lib.rs b/lockchain-core/src/lib.rs
index 9c9ba95..b3d0931 100644
--- a/lockchain-core/src/lib.rs
+++ b/lockchain-core/src/lib.rs
@@ -76,7 +76,7 @@ mod record;
pub mod traits;
pub mod users;
-mod initialise;
+pub mod initialise;
pub use self::crypto::PackedData;
pub use self::meta::{MetaDomain, VaultMetadata};
diff --git a/lockchain-core/src/users/mod.rs b/lockchain-core/src/users/mod.rs
index 3fce31c..5fe1601 100644
--- a/lockchain-core/src/users/mod.rs
+++ b/lockchain-core/src/users/mod.rs
@@ -12,27 +12,18 @@
//!
//! `User` is also a serialisable struct which contains important
//! data to load and store them into a metadata store.
-#![allow(deprecated)]
mod auth;
mod user;
mod rights;
mod tokens;
-mod keystore;
mod secrets;
pub mod userstore;
pub use self::auth::pam_authenticate;
-pub use self::keystore::KeyStore;
pub use self::tokens::Token;
pub use self::user::User;
pub use errors::AuthError;
pub use self::rights::{Access, Role};
-
-use std::collections::HashMap;
-use {
- meta::MetaDomain,
- traits::{AutoEncoder, Base64AutoEncoder},
-};