Crates.io | uplink |
lib.rs | uplink |
version | 0.10.0 |
source | src |
created_at | 2021-11-16 10:10:34.863404 |
updated_at | 2024-11-14 12:49:35.344283 |
description | Idiomatic and safe Rust binding for the Storj Lib Uplink |
homepage | https://storj.io |
repository | https://github.com/storj-thirdparty/uplink-rust |
max_upload_size | |
id | 482618 |
size | 330,772 |
Safe and idiomatic Rust crate library for the Storj Uplink Library.
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.
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.
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
.