Commit graph

11 commits

Author SHA1 Message Date
f573b61ad1 crate::Error::mismatch refactor 2025-07-06 00:01:46 +00:00
4ad9e28bc7 [wip] unit tests for file module
- test value generation for `sharry::{id, uri}`
- testing for `Chunk`
2025-07-05 23:03:42 +00:00
f988c80854 [wip] unit tests for file module
- move test data to `test_util::data`
2025-07-05 01:37:00 +00:00
a34aa968b4 [wip] documentation and minor refactoring 2025-07-03 22:55:33 +00:00
f1c6eb5d75 create struct sharry::api::FileID 2025-06-25 23:20:57 +00:00
783346c888 major refactoring
- `sharry::Client` fn signatures
- `sharry::ClientError` rework
- `file::Uploading` saves `file_id` instead of `patch_uri`
- `impl sharry::Client for ureq::Agent` into separate file
2025-06-18 14:21:25 +00:00
0a8e5cf3f0 [wip] retry chunks
- move buffer into main function again, avoiding `unsafe` code
- partially revert `Chunk` changes, removing `unsafe` parts
2025-06-13 22:32:41 +00:00
f05e112040 [wip] retry chunks
- make `Chunk` lifetime agnostic by using a raw pointer
- add `fn Uploading::rewind`
- add `fn AppState::{next_chunk, is_done}`
2025-06-13 17:03:25 +00:00
5556a658f5 minor refactoring
- var names
- logging
2025-06-13 16:07:25 +00:00
0993679641 [wip] impl Client for ureq::Agent
- clippy fix
2025-06-11 00:06:08 +00:00
dc2a330d58 [wip] impl Client for ureq::Agent
- Chunk implementation
2025-06-10 23:39:20 +00:00