core_rs
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.
Overview
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.
Features
- 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
Installation
Add the library from crates.io:
Or add it to your Cargo.toml:
[]
= "0.2"
Setup
1. Clone the Repository
2. Build the Library
To build the library, ensure you have Rust installed (Rust 1.61+ recommended):
License
This project is licensed under the Apache-2.0 license.