oceanpkg 0.0.11

Client library for the Ocean package manager.
Documentation

The oceanpkg library serves as core reusable components for:

  • The ocean CLI client
  • Backend web services

Note: All shell commands assume that the current working directory is lib. This can be done by running cd lib to "change directory" from the root folder.

Install

This library is written in Rust and is meant to be used within a cargo project. See rustup.rs for installing Rust and cargo.

It is made available on crates.io and can be used by adding the following to your project's Cargo.toml:

[dependencies]
oceanpkg = "0.0.11"

and this to your crate root (main.rs or lib.rs):

extern crate oceanpkg;

Usage

See documentation.

Testing

Various test cases are covered throughout this library. They can all be found by searching for mod tests within the lib folder.

To perform these tests, simply run:

cargo test