uplink

Crates.iouplink
lib.rsuplink
version0.10.0
sourcesrc
created_at2021-11-16 10:10:34.863404
updated_at2024-11-14 12:49:35.344283
descriptionIdiomatic and safe Rust binding for the Storj Lib Uplink
homepagehttps://storj.io
repositoryhttps://github.com/storj-thirdparty/uplink-rust
max_upload_size
id482618
size330,772
Ivan Fraixedes (ifraixedes)

documentation

README

Storj Uplink Library for Rust

CI Status crates.io docs.rs Crates.io

Safe and idiomatic Rust crate library for the Storj Uplink Library.

Current status

This crate has implemented all the functionalities offered by the uplink-sys create and it's fully documented.

It has several unit-tests and integration tests which prove that a big part of the public API works as expected.

The crate is fully documented and the docs contains documentation outside of the API (types, function, etc.).

We consider its current status beta and it can be use for production systems with care because, despite of the integration tests, we don't know any reference that this crate is used in any production application.

If you're using this crate in any of your applications, we'd love that you open an issue and you tell us about.

Implementation

This crate wraps the uplink-sys crate present in this same repository for offering an safe and idiomatic Rust Storj Uplink.

Because it relies on uplink-sys and uplink-sys requires Go, using this crate also requires Go.

Development

For development the only requirements are Rust, Go, and clang.

For running the integration tests you need a Docker version that has the compose command, which is the docker-compose tool that it's now integrated in Docker. The command is needed because the Makefile invoked, but you should be able to use a Docker version without the compose command, using the docker-compose, however, you will have to run by hand or make an straightforward change in the Makefile.

When some integration test fails it may provoke the failure of other integration tests to fail in subsequent runs. This is because the previous executed test which failed left garbage data in the satellite/edge services. To execute again the tests without having to execute a full clean up, you may go to the temporary directory ../.tmp/up and run docker compose down and docker compose up -d and then execute make test-integrationa.

Commit count: 187

cargo fmt