aboutsummaryrefslogtreecommitdiff
path: root/PLANNING
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2017-12-13 00:52:03 +0100
committerKatharina Fey <kookie@spacekookie.de>2017-12-13 00:52:03 +0100
commit056cddc9fb63bc269fb168a408781b864ff389bb (patch)
tree379a1bdda1bdd05edbb16ef523c8b657a863dd2f /PLANNING
parent6575479ee1c26c0891faa167e209032dd9dff01d (diff)
Adding a planning document for future code refactor
Diffstat (limited to 'PLANNING')
-rw-r--r--PLANNING21
1 files changed, 21 insertions, 0 deletions
diff --git a/PLANNING b/PLANNING
new file mode 100644
index 0000000..89d224f
--- /dev/null
+++ b/PLANNING
@@ -0,0 +1,21 @@
+Sugested module layout
+
+lib.rs // Entry points and initialisation
+core.rs // Handles all multi-threading and stuff
+
+vault/
+ mod.rs // core code
+ fs.rs // All filesystem utilities
+
+record/
+ mod.rs // core code
+ version.rs // versioning utilities
+
+crypto/
+ mod.rs // core code
+ encoding.rs // encoding utility functions
+
+api/
+ mod.rs // ...
+ rest.rs // A RESTful API
+ binding.rs // Exports some C headers