18 releases

0.7.1 Nov 8, 2023
0.6.0 Jan 20, 2021
0.6.0-beta.2 Oct 5, 2020
0.5.0 Jul 30, 2020

#1534 in Magic Beans


Used in raccoin

Apache-2.0

190KB
4.5K SLoC

Rust Stellar Horizon Client

CI version codecov License

Introduction

This crate contains a client for Stellar Horizon, supporting both the REST API and streaming mode.

If you are looking for a crate to build Stellar transactions, look at stellar-base.

Need help? Have feeback?

You can join the discussion on our mailing list at ~aurora/stellar-sdk@lists.sr.ht.

Features

  • Easy to mock for testing
  • Support all Horizon endpoints
  • Support for Horizon streaming mode
  • Completely async

Documentation

You can find the documentation on docs.rs.

Roadmap

This crate is still a work in progress. Relevant SEPs will be implemented as separate crates when possible.

  • Request single resources
  • Request paginated resources
  • Stream resources
  • Parse error response
  • Cleanup API, e.g. turn String into Into<String>
  • Submit transactions
  • Expose rate limit headers
  • Lazily parse resources fields
  • Navigation support, follow links
  • Improve documentation
  • Link to example applications

Changelog

You can find a changelog here.

Dependencies

~14–26MB
~413K SLoC