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

#9 in #stellar

Download history 71/week @ 2024-07-01 10/week @ 2024-07-08 26/week @ 2024-07-15 37/week @ 2024-07-22 22/week @ 2024-07-29 27/week @ 2024-08-05 19/week @ 2024-08-12 25/week @ 2024-08-19 8/week @ 2024-08-26 57/week @ 2024-09-02 110/week @ 2024-09-09 70/week @ 2024-09-16 149/week @ 2024-09-23 110/week @ 2024-09-30 160/week @ 2024-10-07 29/week @ 2024-10-14

449 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

~14–26MB
~400K SLoC