| Crates.io | forc-publish |
| lib.rs | forc-publish |
| version | 0.69.4 |
| created_at | 2025-03-11 19:11:07.781454+00 |
| updated_at | 2025-09-24 17:14:30.006223+00 |
| description | Forc subcommand for uploading a package to the registry. |
| homepage | https://fuel.network/ |
| repository | https://github.com/FuelLabs/sway |
| max_upload_size | |
| id | 1588351 |
| size | 187,838 |
Forc subcommand for uploading a package to the registry.
Requires either the --token argument to be passed, the environment variable FORC_PUB_TOKEN, or a ~/.forc/credentials.toml file like this:
[registry]
token = "YOUR_TOKEN"
This credential file can be created automatically by running the CLI without the --token argument.
For local development, run forc.pub, create an API token and then forc publish --registry-url http://localhost:8080