docs.rs failed to build uplink-sys-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
uplink-sys-0.6.1
uplink-sys
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.
Building (from repo)
Linux
- Install Go
- Install Rust
- Install GCC and make
sudo apt install build-essential
- Install libclang (required by bindgen for generating platform specific c bindings)
sudo apt install libclang-dev
- Checkout this repo
- Build crate
make build
(fromuplink-sys
directory)
macOS
Building (from crates.io) (TODO ONCE CRATE IS PUBLISHED)
Linux
- Install Go
- Install libclang (required by bindgen for generating platform specific c bindings)
- Add uplink-sys to Cargo.toml
Tests
Setup
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>
Run
make test
Examples
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.