This crate provides Rust bindings to uplink-c, the C interface for the storj uplink API library.
TODO is the safe wrapper crate for this library.
sudo apt install build-essential
sudo apt install libclang-dev
make build
(from uplink-sys
directory)To allow the integrations tests access to the test project, create a file in this directory with the satellite address and api key for running tests.
Do not commit this file to the repo.
test_secrets.txt
:
<satellite_addresss>
<api_key>
make test
For a usage example see examples/list_buckets
. This contains a rust project that lists buckets for a project, you just need to add access parameters.
TODO is a safe library crate wrapping this sys crate so more examples using the wrapper library can be found there.