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

#11 in #stellar

Download history 33/week @ 2024-07-21 27/week @ 2024-07-28 18/week @ 2024-08-04 27/week @ 2024-08-11 25/week @ 2024-08-18 8/week @ 2024-08-25 39/week @ 2024-09-01 126/week @ 2024-09-08 72/week @ 2024-09-15 138/week @ 2024-09-22 116/week @ 2024-09-29 165/week @ 2024-10-06 29/week @ 2024-10-13 22/week @ 2024-10-20 27/week @ 2024-10-27 17/week @ 2024-11-03

101 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–27MB
~399K SLoC