Commit graph

15 commits

Author SHA1 Message Date
Ujjwal Sharma 4b2a20c581
src: improve Node handling 2021-03-31 12:04:50 +05:30
mirsal 749cf151bf cosmetics: Remove unnecessary newlines between use blocks 2021-03-30 08:50:55 +00:00
mirsal 60cf753b7f main: Fix the main function return type 2021-03-30 08:45:33 +00:00
mirsal 3195de3d5f Switch to non-blocking asynchronous I/O with async_std
* main: add a basic main loop and make the network part async
 * keypair: do not block when writing the generated keyfile
 * keypair: Read the secret file asynchronously
2021-03-29 19:42:32 +00:00
Ujjwal Sharma 1f2635d845
src: add simple broadcast listening logic 2021-03-28 11:03:53 +05:30
Ujjwal Sharma c3fe4c7230
src: simplify file reading 2021-03-25 12:31:49 +05:30
Ujjwal Sharma f2cfe7a056
src: move SSBKeypair to keypair.rs 2021-03-25 11:33:41 +05:30
Ujjwal Sharma ba1a5226d9
src: strip_suffix and tidy up 2021-03-25 11:25:00 +05:30
Ujjwal Sharma 433139cfb1
src: allow users to specify custom path 2021-03-25 11:14:00 +05:30
Ujjwal Sharma 1937e1f8c5
src: refactor reading config to function 2021-03-25 11:10:21 +05:30
Ujjwal Sharma 4d32e8e55f
src: move reading and generation logic into trait 2021-03-22 11:36:53 +05:30
Ujjwal Sharma 2f44ee021d
src: add SSBKeypair trait 2021-03-22 11:20:42 +05:30
Ujjwal Sharma 5b29f9fc12
src: fix keypair problem 2021-03-22 11:09:12 +05:30
Ujjwal Sharma 2f159241fa
src: add basic options, config and secrets handling
- Handles basic options
- Reads from a config file
- Locates secrets
- Generates keypair if none exists
2021-03-21 00:05:13 +05:30
Ujjwal Sharma f6533c7a9f
meta: initial commit 2021-03-20 00:59:46 +05:30