Adding leetcode_api
library as a dependency
Run this command in a terminal, in your project's directory:
cargo add leetcode-api
To add it manually, edit your project's Cargo.toml
file and add to the [dependencies]
section:
leetcode-api = "0.6.0"
The leetcode_api
library will be automatically available globally.
Read the leetcode_api
library documentation.