oci-rust-sdk
Oracle Cloud Infrastructure SDK for Rust Lang
About
OCI-Rust-SDK is written to access the OCI API using async methods.
use ;
async
}
Examples
You can look for the test folder for more examples.
Development
OCI-Emulator
We recommend you to use oci-emulator to develop new features and testing.
To do so, just run:
You can then use the service_endpoint parameter available on every client to use it. For example:
let auth_config = from_file;
new;
Running Tests
We're using tarpaulin to generate code coverage. To use it, you'll need to install it using cargo:
After installing it, you can build/test and generate the coverage simply using:
We're using Lcov format to upload the coverage to codecov.
You can view the coverage on VSCode using Coverage Gutters.
If you don't want to generate coverage you can simply use: