53fdb6cc97
[wip] unit tests
...
- use `unwrap` while testing
2025-07-10 13:19:27 +00:00
f573b61ad1
crate::Error::mismatch refactor
2025-07-06 00:01:46 +00:00
f988c80854
[wip] unit tests for file module
...
- move test data to `test_util::data`
2025-07-05 01:37:00 +00:00
389e33e512
[wip] unit tests for file module
...
- testing for `Checked`
- better place for test-only utilities
2025-07-04 23:55:26 +00:00
95dcc25e0d
[wip] unit tests for file module
...
- testing for `Checked`
2025-07-04 17:06:01 +00:00
a34aa968b4
[wip] documentation and minor refactoring
2025-07-03 22:55:33 +00:00
6ba17d57df
clippy fix
2025-07-03 19:15:35 +00:00
52d455e219
Merge branch 'develop' into feature/unit_tests
2025-07-03 19:12:37 +00:00
7e4bd398c2
elided lifetimes
2025-07-03 19:10:22 +00:00
5a34a8d791
[wip] documentation for file module
2025-07-03 18:31:13 +00:00
61d62d731e
[wip] unit tests for file module
...
- testing for `compute_hash` and `check_hash`
2025-07-03 17:20:56 +00:00
6814f74484
base64 usage
2025-07-03 16:20:39 +00:00
6c385ffeea
[wip] unit tests for file module
...
- testing for `compute_hash` and `check_hash`
2025-07-03 16:18:46 +00:00
cca35e1ae8
[wip] unit tests for file module
...
- testing for `compute_hash`
2025-07-03 15:39:29 +00:00
b9e553f112
use base64 crate instead of base64ct, no constant time necessary
2025-07-03 14:20:30 +00:00
2315c9cd2e
import strategy for error module
2025-06-27 01:55:43 +00:00
b17f239801
create Error::Mismatch variant
2025-06-26 09:56:29 +00:00
0b8bebad6e
implement better hashing
...
- actually, calling `file::Checked::hash` in `AppState::from_args` was correct: If `AppState::rebuild_share` is called, hashes are in a known state.
- call `check_hash` in `AppState::try_resume`
- minor renamings
2025-06-25 10:44:36 +00:00
ea5ef1fa10
implement better hashing
...
- call `file::Checked::hash` in `AppState::from_args`
2025-06-24 19:34:11 +00:00
56223b3ae8
[wip] documentation
...
- added more notes
- `main.rs` logging
- clearer matching of `ClientError::ResponseStatus`
2025-06-15 00:44:28 +00:00
dc2a330d58
[wip] impl Client for ureq::Agent
...
- Chunk implementation
2025-06-10 23:39:20 +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