Skip to content

Commit

Permalink
release: 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Jun 2, 2023
2 parents d11f6f5 + 141939f commit 1dd834f
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 26 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build

on:
push:
branches: [ master ]
branches: []
pull_request:
branches: [ master ]
branches: []

defaults:
run:
Expand Down Expand Up @@ -48,6 +48,7 @@ jobs:
- name: Build
run: |
cargo build --target ${{ matrix.target }}
cargo build --release --target ${{ matrix.target }}
- name: Clippy
Expand All @@ -56,4 +57,5 @@ jobs:
- name: Tests
run: |
cargo test --target ${{ matrix.target }}
cargo test --release --target ${{ matrix.target }}
53 changes: 53 additions & 0 deletions .github/workflows/msrv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: MSRV

on:
push:
branches: []
pull_request:
branches: []

defaults:
run:
shell: bash

env:
CARGO_TERM_COLOR: always

jobs:
all:
name: All

strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest

runs-on: ${{matrix.os}}

env:
RUSTFLAGS: "-D warnings"

steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- uses: taiki-e/install-action@v2
with:
tool: cargo-msrv

- name: Info
run: |
rustup --version
cargo --version
cargo clippy --version
- name: MSRV
run: |
cargo msrv verify
14 changes: 7 additions & 7 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Project Dependencies
Package: yesvgmap
Version: 0.3.14
Generated: 2023-04-20 17:35:56 UTC
Version: 0.4.0
Generated: 2023-06-02 03:23:50 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.3 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.7 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.4.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dowser](https://github.com/Blobfolio/dowser) | 0.7.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.5.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dowser](https://github.com/Blobfolio/dowser) | 0.8.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [fastrand](https://github.com/smol-rs/fastrand) | 1.9.0 | [Stjepan Glavina](mailto:[email protected]) | Apache-2.0 or MIT |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.10.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.15 | The Rust Project Developers | Apache-2.0 or MIT |
| [svg](https://github.com/bodoni/svg) | 0.13.1 | [Adam Bryant](mailto:[email protected]), [Felix Schütt](mailto:[email protected]), [GeoffreyY](mailto:[email protected]), [Gijs Burghoorn](mailto:[email protected]), [Ivan Ukhov](mailto:[email protected]), [Mike Wilkerson](mailto:[email protected]), [Nathan Hüsken](mailto:[email protected]), [Nathaniel Cook](mailto:[email protected]), [Nicolas Silva](mailto:[email protected]), [Nor Khasyatillah](mailto:[email protected]), [OCTronics](mailto:[email protected]), [Patrick Chieppe](mailto:[email protected]), [Will Nelson](mailto:[email protected]), [Xander Rudelis](mailto:[email protected]), [e-matteson](mailto:[email protected]), and [kmkzt](mailto:[email protected]) | Apache-2.0 or MIT |
| [tempfile](https://github.com/Stebalien/tempfile) | 3.5.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [write_atomic](https://github.com/Blobfolio/write_atomic) | 0.3.1 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [write_atomic](https://github.com/Blobfolio/write_atomic) | 0.3.2 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "yesvgmap"
version = "0.3.14"
version = "0.4.0"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
rust-version = "1.63"
rust-version = "1.70"
description = "Generate SVG sprite maps from individual SVG images."
repository = "https://github.com/Blobfolio/yesvgmap"
readme = "README.md"
Expand Down Expand Up @@ -83,12 +83,12 @@ label = "<PATH(s)…>"
description = "One or more file and/or directory paths to crunch and/or (recursively) crawl. Only files with the extension .svg will ultimately be included."

[build-dependencies]
dowser = "0.7.*"
dowser = "0.8.*"

[dependencies]
argyle = "0.6.*"
dowser = "0.7.*"
fyi_msg = "0.10.*"
dowser = "0.8.*"
fyi_msg = "0.11.*"
svg = "=0.13.1"
write_atomic = "0.3.*"

Expand Down
14 changes: 4 additions & 10 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@ release_dir := justfile_directory() + "/release"
--target-dir "{{ cargo_dir }}"


# Check Release!
@check:
# First let's build the Rust bit.
cargo check \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


@clean:
# Most things go here.
[ ! -d "{{ cargo_dir }}" ] || rm -rf "{{ cargo_dir }}"
Expand All @@ -100,7 +91,6 @@ release_dir := justfile_directory() + "/release"
clear
cargo clippy \
--release \
--all-features \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"

Expand Down Expand Up @@ -142,6 +132,10 @@ release_dir := justfile_directory() + "/release"
cargo test \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
cargo test \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


# Get/Set version.
Expand Down
4 changes: 2 additions & 2 deletions release/man/yesvgmap.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "YESVGMAP" "1" "April 2023" "Yesvgmap v0.3.14" "User Commands"
.TH "YESVGMAP" "1" "June 2023" "Yesvgmap v0.4.0" "User Commands"
.SH NAME
Yesvgmap \- Manual page for yesvgmap v0.3.14.
Yesvgmap \- Manual page for yesvgmap v0.4.0.
.SH DESCRIPTION
Generate SVG sprite maps from individual SVG images.
.SS USAGE:
Expand Down

0 comments on commit 1dd834f

Please sign in to comment.