Rust integration handles uploads and file operations by wrapping Uploadcare Upload API and REST API. This comprehensive API client lets you use most of the Uploadcare features from within your Rust app.
Uploading (Upload API):
File management (REST API):
Image processing (URL API):
Security features:
Ensure you have Cargo, the Rust dependency manager, installed on your system. If not, follow the installation instructions.
Open your cargo.toml file and add the following code:
By default the full is enabled (REST and Upload API).
To reduce the code size, disable default features and enable just the APIs you use:
Creating a client:
For a comprehensive list of examples, check out the API documentation. Below are a few usage examples:
Read the full documentation on GitHub.