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

#1608 in Magic Beans

Download history 2/week @ 2024-03-24 31/week @ 2024-03-31 1/week @ 2024-04-07 1/week @ 2024-04-21 10/week @ 2024-05-12 6/week @ 2024-05-19 27/week @ 2024-05-26 30/week @ 2024-06-02 50/week @ 2024-06-09 2/week @ 2024-06-16 12/week @ 2024-06-23 74/week @ 2024-06-30 13/week @ 2024-07-07

105 downloads per month
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

~13–26MB
~404K SLoC