-
v5.1.0
released this
2025-01-18 17:47:17 +00:00 | 0 commits to main since this releaseAdded
- replace openssl with rustls
Other
- (deps) update git.kemitix.net/kemitix/rust docker tag to v4
- use check-for-ignored
- (deps) update git.kemitix.net/kemitix/rust docker tag to v3.1.0
- check for ignored files being included in repo
- upgrade kemitix/rust v3
- (deps) update https://git.kemitix.net/kemitix/rust action to v2.6.0
- (deps) update https://git.kemitix.net/kemitix/rust action to v2.5.1
- (net) add explicit tests for assert_no_unused_plans
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v5.0.0
All checks were successfulTest / build (map[name:nightly]) (pull_request) Successful in 7m47sTest / build (map[name:stable]) (pull_request) Successful in 8m7sTest / build (map[name:nightly]) (push) Successful in 7m42sTest / build (map[name:stable]) (push) Successful in 8m43sRelease Please / Release-plz (push) Successful in 6m17sreleased this
2024-12-29 20:36:53 +00:00 | 10 commits to main since this releaseAdded
- (net) add tracing to matching each criteria for mock request
Fixed
- (net) [breaking] remove Drop assertions for any unused plans
In previous versions any unused plans remaining in
MockNet
orNet
when it was dropped would cause a panic. This was a pain to investigate, an unsightly way to cause a test to fail and resulted in panics happing when a clone ofNet
orMockNet
was dropped.To perform the same check in a more sane manner tests must now use the
assert_no_unused_plans
method onNet
orMockNet
once their test case has completed.Example:
Line 75 in ae5eb2fnet.assert_no_unused_plans();
Other
- (print) add details to readme and an example
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v4.0.1
All checks were successfulTest / build (map[name:nightly]) (pull_request) Successful in 6m10sTest / build (map[name:stable]) (pull_request) Successful in 8m7sRelease Please / Release-plz (push) Successful in 4m56sTest / build (map[name:nightly]) (push) Successful in 8m45sTest / build (map[name:stable]) (push) Successful in 9m1sreleased this
2024-12-25 20:52:12 +00:00 | 14 commits to main since this releaseFixed
- (net) prevent race to match mocked net requests
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
v4.0.0
All checks were successfulTest / build (map[name:stable]) (pull_request) Successful in 5m54sTest / build (map[name:nightly]) (pull_request) Successful in 8m54sRelease Please / Release-plz (push) Successful in 1m6sTest / build (map[name:nightly]) (push) Successful in 4m44sTest / build (map[name:stable]) (push) Successful in 6m8sreleased this
2024-12-15 14:54:26 +00:00 | 16 commits to main since this releaseAdded
- (fs) [breaking] Reader now supports non-utf8 files
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v3.2.0
released this
2024-12-12 17:19:23 +00:00 | 18 commits to main since this releaseAdded
- (net) trace log the body of a request
- (net) don't use panic to signal test should fail
- (print) add print module
- (net) add tracing
- (fs) add tracing
- (net) add bearer_auth helper to MockNet
- (net) add basic_auth helper to MockNet
- (net) add user_agent helper to MockNet
- (net) mock requests based on query parameters
Fixed
- (net) typo in test data
- (example) don't use relative path - not allowed
Other
- (deps) update kemitix/rust action to v2.5.0
- (net) elide lifetime
- ignore any occasional use of rover
- (push-next) add ability for manual workflow dispatch
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v3.1.0
released this
2024-11-21 21:15:43 +00:00 | 34 commits to main since this releaseAdded
- (net) mock request builder adds .with and .with_{option,result}
Fixed
- impl Display for path, file and dir
Other
- (example) clean up get example
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v3.0.0
released this
2024-11-20 22:42:50 +00:00 | 38 commits to main since this releaseBreaking Changes in
net
The fluent API for
net
in v2 just wasn't good enough.Added
- (net) [breaking] net api: net.{get,post,etc..}(url) alternative to net.send(request)
- (fs) add TempFileSystem::as_real()
- (net) [breaking] new api: .on().respond().{status,header{s},body}(_)?, replacing respond(response)
- (net) [breaking] new api: .on().{get,post, etc}(url), replacing .on(method).get(url)
- re-export http::HeaderMap
- Add Debug, Clone, Default, PartialEq, Eq, Send, Sync to as many or our types as possible.
Fixed
- (net) [breaking] Remove MatchOn
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v2.1.1
All checks were successfulRust / build (map[name:stable]) (pull_request) Successful in 4m30sRust / build (map[name:nightly]) (pull_request) Successful in 6m54sRust / build (map[name:stable]) (push) Successful in 3m15sRust / build (map[name:nightly]) (push) Successful in 5m55sRelease Please / Release-plz (push) Successful in 2m29sreleased this
2024-11-16 07:36:59 +00:00 | 46 commits to main since this releaseFixed
- impl Clone for Net
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
1 download
-
v2.1.0
released this
2024-11-15 16:57:47 +00:00 | 48 commits to main since this releaseAdded
- re-export Method, Url, Request, Response and RequestBuilder from http, url and reqwest crates
Other
- remove duplicated section
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v2.0.0
released this
2024-11-14 20:13:21 +00:00 | 51 commits to main since this releaseBreaking Rewrite
This release is a complete rewrite. The concept of creating a real or mock instance of a filesystem or network object and passing it to your program remains. What has changed is the API around those objects. The API changes bring a new fluent style. The biggest change, for the better, is in the network module.
Read the documentation for the full details of the new API: https://docs.rs/kxio/latest/kxio/index.html
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
Source code (ZIP)