5 releases

0.0.5 Aug 16, 2022
0.0.4 Aug 10, 2022
0.0.3 Aug 9, 2022
0.0.2 Aug 9, 2022
0.0.1 Jul 19, 2022

#6 in #kittycad

Download history 29/week @ 2024-02-19 5/week @ 2024-02-26 6/week @ 2024-03-11 82/week @ 2024-04-01

88 downloads per month

MPL-2.0 license

1MB
6K SLoC

kittycad.rs

The Rust API client for KittyCAD.

Generating

You can trigger a build with the GitHub action to generate the client. This will automatically update the client to the latest version based on the spec at spec.json.

Alternatively, if you wish to generate the client locally, run:

$ make generate

Contributing

Please do not change the code directly since it is generated. PRs that change the code directly will be automatically closed by a bot.

Releasing a new version

  1. Make sure the VERSION.txt has the new version you want to release.
  2. Make sure you have run make generate and pushed any changes. The release will fail if running make generate causes any changes to the generated code.
  3. Run make tag this is just an easy command for making a tag formatted correctly with the version.
  4. Push the tag (the result of make tag gives instructions for this)
  5. Everything else is triggered from the tag push. Just make sure all the tests pass on the main branch before making and pushing a new tag.

lib.rs:

A library for generating rust client sdks from OpenAPI specs.

Dependencies

~38–55MB
~685K SLoC