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

#1883 in Magic Beans

Download history 66/week @ 2023-10-28 98/week @ 2023-11-04 131/week @ 2023-11-11 122/week @ 2023-11-18 140/week @ 2023-11-25 77/week @ 2023-12-02 61/week @ 2023-12-09 10/week @ 2023-12-16 86/week @ 2023-12-23 52/week @ 2023-12-30 23/week @ 2024-01-06 21/week @ 2024-01-13 32/week @ 2024-01-20 112/week @ 2024-01-27 19/week @ 2024-02-03 55/week @ 2024-02-10

220 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–27MB
~420K SLoC