Crates.io | cargo-emanate |
lib.rs | cargo-emanate |
version | 0.4.3 |
source | src |
created_at | 2022-08-17 17:58:33.826466 |
updated_at | 2023-11-04 14:13:19.674513 |
description | Cargo subcommand for publishing workspace-based crates. |
homepage | |
repository | https://github.com/aspectron/cargo-emanate |
max_upload_size | |
id | 647675 |
size | 119,705 |
cargo-emanate
Cargo subcommand for publishing workspace-based crates and checking dependency versions.
Created with simplicity and manual management in mind.
The following commands are available:
version
: Applies the specified version to the workspace and its member crates.publish
: Publish all crates in a hierarchial dependency order.check
: Scans all dependencies in the crate and checks them against crates.io outputing the difference to console. You can use this information to manually update dependencies.Required project structure:
version.workspace = true
in the Cargo.toml
[package] publish = false
properties enabledIf you require to publish a crate within your workspace with a specific version, you should manually change the version settings and publish it. This tool currently does not track versions within workspace crates.
The following commands are available:
check
: Scans all dependencies in the crate and checks them against crates.io outputing the difference to console. You can use this information to manually update dependencies.NOTE: This tool supports only fixed version use in the workspace. i.e. dependency versions like "^2.0.0" or "1.0" will be rejected. Versions must always comply with the exact x.y.z[-suffix]
schema. This is done to prevent a potential of code injections during minor and patch dependency releases.