space-traders

Crates.iospace-traders
lib.rsspace-traders
version0.1.2-3ff410c
sourcesrc
created_at2023-08-31 06:50:16.106325
updated_at2024-04-10 21:33:26.05046
descriptionAsync SpaceTraders API client for Rust.
homepage
repositoryhttps://gitlab.com/konnorandrews/space-traders-rust
max_upload_size
id959596
size523,265
Konnor Andrews (konnorandrews)

documentation

README

Maintenance Crates.io docs.rs Crates.io

Rust SpaceTraders API Client

This is an async Rust client for the SpaceTraders API game. This client is not official as are all client libraries for the game.

The APIs and models are generated from the game specification using the OpenAPI Generator. The generation template has been rewritten from scratch to provide a high quality client.

Please see the getting started guide for the game. The demo example in this repository shows using the crate to implement the steps shown in the "New game" section.

Other Clients

Here is a list of other SpaceTraders API clients in Rust.

  • spacedust uses the same tool to generate the client. However, it uses the default Rust template for the generator, which results in non-standard Rust code. It does use a version of the specification with more documentation.
  • bevy_mod_pies_spacetraders_api is a client specifically for the bevy game engine.
  • spacetraders looks to be abandoned.

Minimum Supported Rust Version

Requires Rust 1.64.0.

This crate follows the "Latest stable Rust" policy. The listed MSRV won't be changed unless needed. However, updating the MSRV anywhere up to the latest stable at time of release is allowed.


License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in space-traders by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 13

cargo fmt