Commit Graph
10 Commits
Author SHA1 Message Date
Friedel ZiegelmayerandFloris Bruynooghe c121094de2 feat: add STDIN and STDOUT support (#39)
* feat: add STDIN and STDOUT support

also avoid keeping files data in memory, after calculating the outboard data

* Update src/server.rs

Co-authored-by: Floris Bruynooghe <flub@devork.be>

* Update src/server.rs

Co-authored-by: Floris Bruynooghe <flub@devork.be>

Co-authored-by: Floris Bruynooghe <flub@devork.be>
2023-01-23 13:26:10 +01:00
dignifiedquire c899d64264 refactor output to improve client experience 2023-01-18 15:06:25 +01:00
dignifiedquire 6403bd1bb8 feat: add handshake and reduce allocations 2023-01-18 12:25:44 +01:00
Friedel Ziegelmayer 3038bfedf5 split out io on the client & use tracing (#26)
* split out io on the client & use tracing

closes #9

* ups

* fixup close
2023-01-16 22:59:20 +01:00
dignifiedquire c3cd9e63c2 implement custom version of libp2p-tls
- only ed25519 keys are supported
- no support for PeerIds that are based on protobufs
- remove support for RSA on the certificates
2023-01-13 15:07:24 +01:00
Kaseyanddignifiedquire e46d460222 feat: add clap and server and client options
- help & version commands
- optional custom port for server
- optional custom server addr for client
- server takes a list of filepaths
- client saves the transfered file to the filesystem. By default the name of
  this file is the hash. Optional flag for setting your own `out` path

Co-authored-by: dignifiedquire <me@dignifiedquire.com>
2023-01-13 13:07:38 +01:00
dignifiedquire c5eff3e2b8 add progressbar 2023-01-10 10:44:35 +01:00
dignifiedquire 836c125cc0 add blake3 verification 2023-01-09 22:44:38 +01:00
dignifiedquire 9fd0496a71 add framing 2023-01-09 21:39:59 +01:00
dignifiedquire 59fc6c84c3 initial commit 2023-01-09 17:37:25 +01:00