Adding torn_api_codegen library as a dependency

Run this command in a terminal, in your project's directory:

cargo add torn-api-codegen

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

torn-api-codegen = "0.8.1"

The torn_api_codegen library will be automatically available globally. Read the torn_api_codegen library documentation.

Back to the crate overview.