Crates.io | next_semver |
lib.rs | next_semver |
version | |
source | src |
created_at | 2022-01-26 21:06:43.54348 |
updated_at | 2024-12-05 23:11:03.78453 |
description | Send your current version and the type of bump you want, and you get back the new version. As webpage or as library. |
homepage | |
repository | |
max_upload_size | |
id | 521987 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This is an extremely simple service. You send it your current version and the type of bump you want, and you get back the new version.
/minor/1.2.4
-> 1.3.0
/patch/0.3.7-alpha
-> 0.3.8-alpha
I have this as a http endpoint to keep my CI pipelines code-free.
No guarantees about uptime, but I intend to have the service occasionally available at next.tryin.top. Example:
curl -f https://next.tryin.top/minor/v1.2.4
# 1.3.0
You can run with just Docker (the image is 2MB):
docker run -p8080:8080 -it mverleg/next_semver:latest
Or you can build it yourself with Cargo, after checking out the code:
ROCKET_ADDRESS="0.0.0.0" ROCKET_PORT=8080 cargo run --features=web --bin next_semver
The crate is available as next_semver and can be used as a library (without web dependencies).