Commit graph

22 commits

Author SHA1 Message Date
f2b063ba85 minor changes
- adjust `main` log levels
- lower default upload chunk size to utilize common cache sizes
2025-06-25 22:52:46 +00:00
465c857126 implement better hashing
- move hashing back into `cachefile` to correctly handle the `rebuild_share` case
- add `-n` / `--no-hash` CLI switch to explicitly skip hashing
2025-06-25 22:47:55 +00:00
1f9c247439 Merge branch 'develop' into feature/hashing
- with "clippy fix" and "cargo fmt"
2025-06-25 21:07:24 +00:00
9000c8a46b clippy fix 2025-06-25 16:34:32 +00:00
2bcbc0d71c implement better hashing
- use `blake2b_simd` crate and optimize
2025-06-24 19:27:13 +00:00
6e553cc185 implement better hashing
- use Blake2b128 for the CLI arguments hash
2025-06-24 16:29:38 +00:00
c734355ebb file names from args, not from appstate
- remove `AppState::file_names`, `CacheFile::file_names`, `FileState::file_name`
- add `Cli::file_names`
- clippy fix
2025-06-24 00:18:26 +00:00
79bc8e67a7 "verbose" CLI param 2025-06-18 18:58:49 +00:00
4eb0627a5f "retry-limit" CLI param 2025-06-18 18:44:24 +00:00
de07d556a2 minor refactoring
- `use crate::` where appropriate
- cleanup CLI parsing
- `Uri::with_protocol` -> `Uri::new`
2025-06-18 13:04:04 +00:00
4bf18631d4 bug: don't allow chunk_size of 0 2025-06-15 00:46:02 +00:00
9f1e0cfc6c [wip] impl Client for ureq::Agent
- Client is now owned by `AppState`
- minor cleanups
2025-06-12 23:01:16 +00:00
d607380659 [wip] impl Client for ureq::Agent
- factored out `file` module
- renamed some stuff
- decoupled `sharry::client` from `file`
2025-06-10 18:20:52 +00:00
09af480379 [wip] impl Client for ureq::Agent
- remove `sharry::alias` and `sharry::share` (reduced to IDs)
- use `sharry_share_create` in `AppState`
2025-06-08 21:31:50 +00:00
7e9cc00d7c derive Ord for FileChecked 2025-06-04 16:44:24 +00:00
88c6ce94de reimplementation of sharry::file submodule
- compileable
2025-06-04 13:25:00 +00:00
d197c06688 struct AppState 2025-06-02 23:57:17 +00:00
b999c35965 various minor refactorings mostly targeting CLI ergonomy 2025-05-31 15:27:52 +00:00
5643ced9d1 CLI ergonomy: timeout value 2025-05-28 13:43:14 +00:00
763c8f689e CLI ergonomy 2025-05-28 12:35:35 +00:00
2dab3c9ecd CLI ergonomy 2025-05-28 00:21:14 +00:00
fdccab81fa move CLI into own module 2025-05-28 00:07:59 +00:00