From c5f7d995dfcc0b4225e767428960449fa09ac206 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Sun, 6 May 2018 21:48:59 +0200 Subject: Fleshing out README files for sub-crates --- lockchain-core/README.md | 2 +- lockchain-core/examples/simple_create.rs | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 lockchain-core/examples/simple_create.rs (limited to 'lockchain-core') diff --git a/lockchain-core/README.md b/lockchain-core/README.md index 9456b72..006040c 100644 --- a/lockchain-core/README.md +++ b/lockchain-core/README.md @@ -1,3 +1,3 @@ # lockchain-core -Contains common types used in the `lockchain` ecosystem. Exposes serde serialisable types that can be embedded into various applications. \ No newline at end of file +Contains common types used in the `lockchain` ecosystem. Exposes serde serialisable types that can be embedded into various applications. \ No newline at end of file diff --git a/lockchain-core/examples/simple_create.rs b/lockchain-core/examples/simple_create.rs deleted file mode 100644 index ef3898f..0000000 --- a/lockchain-core/examples/simple_create.rs +++ /dev/null @@ -1,18 +0,0 @@ -extern crate lockchain_core as lockchain; -use lockchain::*; - -fn main() { - let mut v = Vault::new( - "some_vault", - "/home/spacekookie", - "my password is super cool", - ).unwrap(); - - v.add_record("icarus", "Keys", Vec::new()); - v.add_data( - "icarus", - "key", - Payload::Text("My key data here .........................................".to_owned()), - ); - v.sync(); -} -- cgit v1.2.3