2 unstable releases

0.2.0 Aug 19, 2023
0.1.0 Aug 14, 2023

#19 in #factorio


Used in facti

MPL-2.0 license

120KB
2.5K SLoC

facti-api   crates.io docs.rs Build status Audit status

Rust crate for interacting with the various Factorio APIs.

Contributing

GitHub discussionsMatrix room

Contributors are very welcome!

If you want to discuss the project you can do so in the discussions on GitHub or join the Matrix room.

APIs supported

All APIs that use an API key or do not require authentication will be supported. If there are any that are not currently supported, please create an issue to request addition or submit a pull request if you feel like adding it yourself!

Async or blocking

You can use either async or blocking methods with this crate, they can be enabled independent of each other.

  • To enable async support, enable the async feature (this is part of the default enabled features).
  • For blocking support, enable the blocking feature.

For more details on the different APIs, consult the documentation.

License

Copyright © 2023 by Adam Hellberg.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Dependencies

~9–25MB
~363K SLoC