aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-05-06 21:48:59 +0200
committerKatharina Fey <kookie@spacekookie.de>2018-05-06 21:48:59 +0200
commitc5f7d995dfcc0b4225e767428960449fa09ac206 (patch)
treecb897313e9dd9dfa3f916ef43eaa69de49a455f9 /lockchain-core
parent74e30085dd30b430c3b60c4c8ab493ce83872e63 (diff)
Fleshing out README files for sub-crates
Diffstat (limited to 'lockchain-core')
-rw-r--r--lockchain-core/README.md2
-rw-r--r--lockchain-core/examples/simple_create.rs18
2 files changed, 1 insertions, 19 deletions
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();
-}