Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Wish: expose serve() & co for testing #16

Open
brainstorm opened this issue Jun 15, 2022 · 0 comments
Open

Wish: expose serve() & co for testing #16

brainstorm opened this issue Jun 15, 2022 · 0 comments

Comments

@brainstorm
Copy link

After seeing your comment in datenlord/s3-server#108 (comment) and given that I'm getting cargo audit errors by using datenlord/s3-server on my CI, which pulls Rusoto (deprecated), I've considered switching to your crate to substitute a test that is using s3-server from @datenlord.

All I'd need is to have the serve() method you have in server.rs and perhaps some accessory ones to just get/put some example file(s) on my small testsuite, but currently the crate only seems to be available as a standalone binary instead of lib:

% cargo build
    Updating crates.io index
warning: s3d-test-example v0.1.0 (/Users/rvalls/dev/umccr/s3d-test-example) ignoring invalid dependency `s3d` which is missing a lib target
   Compiling s3d-test-example v0.1.0 (/Users/rvalls/dev/umccr/s3d-test-example)
    Finished dev [unoptimized + debuginfo] target(s) in 1.36s
brainstorm added a commit to umccr/reusable-github-actions that referenced this issue Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant