| Crates.io | forc-publish |
| lib.rs | forc-publish |
| version | 0.70.3 |
| created_at | 2025-03-11 19:11:07.781454+00 |
| updated_at | 2025-12-17 16:55:57.979912+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 | 189,477 |
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