Ideally, make a copy of the elektra or elektra-sys crate respectively before publishing a new version. Switch to that new directory, then
- Delete any *.in files, since they are only meant for cmake.
- Rename the publish_Cargo.toml and publish_build.rs to Cargo.toml and build.rs respectively.
- Set the updated version correctly in Cargo.toml
cargo login $api_token
, thencargo publish
(possibly with a --dry-run first)