Skip to content

Latest commit

 

History

History

crates

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Crates Plugin

Deploy Rust crates to crates.io.

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/crates
# or
yarn add -D @auto-it/crates

WARNING: You can only use one "package manager" at a time! Mixing them will lead to undesired results.

Usage

{
  "plugins": ["crates"]
}

Crates Project Configuration

This plugin handles incrementing the crate version, but it requires that your crate be ready for publishing. You can view the publishing reference for more information on that process.

When ran on a machine with ~/cargo/credentials, that file will automatically be used by Cargo. For machines that do not have this file (like CI builds), the CARGO_REGISTRY_TOKEN environment variable is expected for Cargo's publish command as per the publish options.