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.

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.