A Rust library for building clients and utilities for the Coinbase Prime REST APIs.
The canonical source repository is coinbase/core_rs. The former coinbase-samples/core_rs repository is deprecated.
The core_rs crate provides foundational HTTP, authentication, and error handling utilities for interacting with Coinbase Prime APIs. It is designed to be used as a building block for higher-level SDKs and applications.
- HTTP client abstraction (async, based on
reqwest) - Typed request/response handling
- Credential management
- Error handling with
thiserror - Utilities for HTTP methods, headers, and status codes
Add the library from crates.io:
cargo add core_rsOr add it to your Cargo.toml:
[dependencies]
core_rs = "0.2"git clone git@github.com:coinbase/core_rs.git
cd core_rsTo build the library, ensure you have Rust installed (Rust 1.61+ recommended):
cargo buildThis project is licensed under the Apache-2.0 license.