Commit graph

192 commits

Author SHA1 Message Date
d4cc102a0f [wip] unit tests for file module
- test for `Checked::start_upload`
2025-07-09 15:57:43 +00:00
3257a97351 [wip] unit testing
- mock impl for `sharry::Client` and associated IDs
2025-07-08 21:41:38 +00:00
908e0031e2 [wip] unit testing
- mock impl for `sharry::Client` and associated IDs
2025-07-08 16:17:41 +00:00
655db21ef4 clippy fix 2025-07-07 19:40:56 +00:00
11515a4158 [wip] unit testing
- refactored mock impl for IDs
2025-07-07 19:33:31 +00:00
51cf212bb6 [wip] unit testing
- mock impl for `sharry::Client` and associated IDs
2025-07-07 16:26:10 +00:00
65f1e5d083 minor fixes 2025-07-07 16:11:38 +00:00
c609f51c6a doc for file::Chunk 2025-07-06 00:02:51 +00:00
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
4ff1f34b08 refactor check_trait function 2025-07-05 23:00:54 +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
1ac110ddfb [wip] unit tests for file module
- testing for `Checked`
2025-07-04 17:13:48 +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
cab6d13d28 test data in arrays, not vec! 2025-07-03 15:43:26 +00:00
cca35e1ae8 [wip] unit tests for file module
- testing for `compute_hash`
2025-07-03 15:39:29 +00:00
aa16cc9ede Merge branch 'develop' into feature/unit_tests 2025-07-03 14:21:41 +00:00
0efde0e134 clippy fix 2025-07-03 14:21:02 +00:00
b9e553f112 use base64 crate instead of base64ct, no constant time necessary 2025-07-03 14:20:30 +00:00
ea453da433 [wip] unit tests for sharry module
- doc + testing for `uri` module
2025-07-03 13:10:19 +00:00
b01eb69e95 Merge branch 'develop' into feature/unit_tests 2025-07-03 13:07:20 +00:00
fada53044d sharry::ids formatting 2025-07-03 13:07:09 +00:00
67b048f9ac use to_string instead of to_owned where applicable 2025-07-03 13:05:56 +00:00
a7cddf3205 Merge branch 'develop' into feature/unit_tests 2025-07-03 13:05:09 +00:00
46913e93b9 use to_string instead of to_owned where applicable 2025-07-03 13:02:13 +00:00
470ebc4305 uri::Uri creation 2025-07-03 12:58:53 +00:00
f4e0bc5be4 [wip] unit tests for sharry module
- doc + testing for `uri` module
2025-07-03 11:07:32 +00:00
abf76c9df7 move check_trait to crate root 2025-07-03 10:32:46 +00:00
2cc13f24e7 minor refactoring
- untangle `CacheFile::{rewind_chunk, abort_upload}`
- change `file::Uploading::rewind` signature to a more "builder"esque pattern
2025-07-02 12:01:07 +00:00
ad1854dfb8 [wip] unit tests for sharry module
- makeover for `json` module
2025-07-02 11:39:49 +00:00
d891e6d1c4 [wip] unit tests for sharry module
- `ids` done
2025-07-01 19:12:48 +00:00
91085a9eec Merge branch 'develop' into feature/unit_tests 2025-07-01 18:56:33 +00:00
d55684096f remove unneeded macro param in error::impl_error_from 2025-07-01 18:51:49 +00:00
de208a20d5 clippy fix 2025-07-01 15:24:26 +00:00
3bfdf87277 Merge branch 'develop' into feature/unit_tests 2025-07-01 15:20:18 +00:00
0d68d139d5 improved error handling 2025-07-01 15:20:07 +00:00
2eb651f919 [wip] doc for sharry module 2025-06-28 09:24:46 +00:00
903fbc3480 [wip] unit tests for sharry module 2025-06-27 16:59:31 +00:00
bc4c15d17c consolidate sharry module 2025-06-27 08:34:13 +00:00
c10d86ff65 Merge branch 'feature/api_structs' into develop 2025-06-27 08:30:18 +00:00
3f00e08422 consolidate sharry::api module 2025-06-27 08:29:57 +00:00