add license info, version bump

This commit is contained in:
Bryson Steck 2025-08-19 22:28:22 -06:00 committed by Bryson Steck
commit 3d9e7f5616
Signed by: bryson
SSH key fingerprint: SHA256:XpKABw/nP4z8UVaH+weLaBnEOD86+cVwif+QjuYLGT4
9 changed files with 56 additions and 16 deletions

1
.dockerignore Symbolic link
View file

@ -0,0 +1 @@
.gitignore

18
Cargo.lock generated
View file

@ -129,18 +129,18 @@ dependencies = [
[[package]]
name = "cc"
version = "1.2.32"
version = "1.2.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e"
checksum = "3ee0f8803222ba5a7e2777dd72ca451868909b1ac410621b676adf07280e9b5f"
dependencies = [
"shlex",
]
[[package]]
name = "cfg-if"
version = "1.0.1"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
[[package]]
name = "clap"
@ -367,7 +367,7 @@ checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
[[package]]
name = "picca"
version = "0.6.0"
version = "0.7.0"
dependencies = [
"ascon-hash",
"belt-hash",
@ -408,9 +408,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.97"
version = "1.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d61789d7719defeb74ea5fe81f2fdfdbd28a803847077cecce2ff14e1472f6f1"
checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
dependencies = [
"unicode-ident",
]
@ -537,9 +537,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "syn"
version = "2.0.105"
version = "2.0.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7bc3fcb250e53458e712715cf74285c1f889686520d79294a9ef3bd7aa1fc619"
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
dependencies = [
"proc-macro2",
"quote",

View file

@ -1,6 +1,9 @@
[package]
name = "picca"
version = "0.6.0"
version = "0.7.0"
authors = ["Bryson Steck <bryson@steck.dev>"]
license = "MIT"
repository = "https://forge.steck.dev/bryson/picca"
edition = "2024"
autobins = true

7
LICENSE Normal file
View file

@ -0,0 +1,7 @@
Copyright © 2025 Bryson Steck
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -16,6 +16,7 @@ ARG DATE
LABEL org.opencontainers.image.title="picca"
LABEL org.opencontainers.image.authors="bryson@steck.dev"
LABEL org.opencontainers.image.version="${VERSION}"
LABEL org.opencontainers.image.license="MIT"
LABEL org.opencontainers.image.url="https://forge.steck.dev/bryson/-/packages/container/picca/${VERSION}"
LABEL org.opencontainers.image.source="https://forge.steck.dev/bryson/picca"
LABEL org.opencontainers.image.created="${DATE}"

View file

@ -52,8 +52,22 @@ The following option is only useful when verifying checksums with the **-c** fla
# REPORTING BUGS
Bugs to the picca project can be submitted via an issue on Codeberg: [https://codeberg.org/bryson/picca]()
Bugs to the picca project can be submitted via an issue on Codeberg: https://codeberg.org/bryson/picca
# SEE ALSO
The main repository is located at https://codeberg.org/bryson/picca.
A read-only mirror is available at https://forge.steck.dev/bryson/picca.
Container images for use with Docker are available at https://forge.steck.dev/bryson/-/packages/container/picca.
# COPYRIGHT
Copyright &copy; 2025 Bryson Steck.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -15,11 +15,11 @@ for i in ascon belt blake2b512 blake2s256 blake3 fsb160 fsb224 fsb256 fsb384 fsb
shake256 skein1024 skein256 skein512 sm3 streebog256 streebog512 tiger whirlpool; do
echo $i
upper=$(echo $i | tr '[:lower:]' '[:upper:]')
pandoc --standalone <(sed "s/<VERSION>/$1/g;s/<ALG>/$upper/g;s/<ALGORITHM>/$i/g" algorithm.1.md) \
pandoc <(sed "s/<VERSION>/$1/g;s/<ALG>/$upper/g;s/<ALGORITHM>/$i/g" algorithm.1.md) \
-f markdown -t man > ../target/man/${i}sum.1
done
echo picca
pandoc --standalone <(sed "s/<VERSION>/$1/g" picca.1.md) -f markdown -t man > ../target/man/picca.1
pandoc <(sed "s/<VERSION>/$1/g" picca.1.md) -f markdown -t man > ../target/man/picca.1
popd > /dev/null

View file

@ -53,8 +53,22 @@ The following option is only useful when verifying checksums with the **-c** fla
# REPORTING BUGS
Bugs to the picca project can be submitted via an issue on Codeberg: [https://codeberg.org/bryson/picca]()
Bugs to the picca project can be submitted via an issue on Codeberg: https://codeberg.org/bryson/picca
# SEE ALSO
The main repository is located at https://codeberg.org/bryson/picca.
A read-only mirror is available at https://forge.steck.dev/bryson/picca.
Container images for use with Docker are available at https://forge.steck.dev/bryson/-/packages/container/picca.
# COPYRIGHT
Copyright &copy; 2025 Bryson Steck.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -62,8 +62,8 @@ pub const UNSECURE_ALGORITHMS: [&'static str; 7] = [
];
#[derive(Parser)]
#[command(name = "picca")]
#[command(version = option_env!("CARGO_PKG_VERSION"))]
#[command(author = "Bryson Steck")]
#[command(version = env!("CARGO_PKG_VERSION"))]
#[command(about = "a Parallel Implementation of Common Checksum Algorithms")]
#[command(long_about = None)]
pub struct Args {