Bump versions
Some checks failed
CI / Typos (push) Successful in 21s
CI / Clippy (push) Failing after 1m13s
CI / Build and test (all features) (push) Failing after 3m27s
CI / Build and test (push) Has been cancelled

This commit is contained in:
2026-03-11 11:03:37 -07:00
parent 56ac8e722a
commit 1812fa50d9
5 changed files with 54 additions and 15 deletions

13
.editorconfig Normal file
View File

@@ -0,0 +1,13 @@
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.yml]
indent_style = space
indent_size = 2

12
Cargo.lock generated
View File

@@ -2481,7 +2481,7 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
[[package]] [[package]]
name = "pile" name = "pile"
version = "0.0.1" version = "0.0.2"
dependencies = [ dependencies = [
"anstyle", "anstyle",
"anyhow", "anyhow",
@@ -2504,7 +2504,7 @@ dependencies = [
[[package]] [[package]]
name = "pile-config" name = "pile-config"
version = "0.0.1" version = "0.0.2"
dependencies = [ dependencies = [
"serde", "serde",
"smartstring", "smartstring",
@@ -2514,7 +2514,7 @@ dependencies = [
[[package]] [[package]]
name = "pile-dataset" name = "pile-dataset"
version = "0.0.1" version = "0.0.2"
dependencies = [ dependencies = [
"axum", "axum",
"chrono", "chrono",
@@ -2535,7 +2535,7 @@ dependencies = [
[[package]] [[package]]
name = "pile-flac" name = "pile-flac"
version = "0.0.1" version = "0.0.2"
dependencies = [ dependencies = [
"base64", "base64",
"itertools 0.14.0", "itertools 0.14.0",
@@ -2549,7 +2549,7 @@ dependencies = [
[[package]] [[package]]
name = "pile-toolbox" name = "pile-toolbox"
version = "0.0.1" version = "0.0.2"
dependencies = [ dependencies = [
"thiserror", "thiserror",
"tokio", "tokio",
@@ -2557,7 +2557,7 @@ dependencies = [
[[package]] [[package]]
name = "pile-value" name = "pile-value"
version = "0.0.1" version = "0.0.2"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"aws-sdk-s3", "aws-sdk-s3",

View File

@@ -5,7 +5,7 @@ resolver = "2"
[workspace.package] [workspace.package]
rust-version = "1.94.0" rust-version = "1.94.0"
edition = "2024" edition = "2024"
version = "0.0.1" version = "0.0.2"
[workspace.lints.rust] [workspace.lints.rust]
unused_import_braces = "deny" unused_import_braces = "deny"
@@ -73,15 +73,15 @@ pile-value = { path = "crates/pile-value" }
tantivy = "0.25.0" tantivy = "0.25.0"
axum = { version = "0.8.8", features = ["macros", "multipart"] } axum = { version = "0.8.8", features = ["macros", "multipart"] }
utoipa = { version = "5.4.0", features = [ utoipa = { version = "5.4.0", features = [
"axum_extras", "axum_extras",
"chrono", "chrono",
"url", "url",
"uuid", "uuid",
] } ] }
utoipa-swagger-ui = { version = "9.0.2", features = [ utoipa-swagger-ui = { version = "9.0.2", features = [
"axum", "axum",
"debug-embed", "debug-embed",
"vendored", "vendored",
] } ] }
# Async & Parallelism # Async & Parallelism

26
bump-version.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -euo pipefail
CARGO_TOML="$(dirname "$0")/Cargo.toml"
DEFAULT_NIX="$(dirname "$0")/default.nix"
# Read current version from workspace Cargo.toml
current=$(grep '^version = ' "$CARGO_TOML" | head -1 | sed 's/version = "\(.*\)"/\1/')
echo "Current version: $current"
read -rp "New version: " new
if [[ -z "$new" ]]; then
echo "No version entered. Aborting." >&2
exit 1
fi
# Update Cargo.toml workspace version
sed -i "s/^version = \"$current\"/version = \"$new\"/" "$CARGO_TOML"
# Update default.nix version field
sed -i "s/version = \"$current\";/version = \"$new\";/" "$DEFAULT_NIX"
echo "Bumped $current -> $new in:"
echo " $CARGO_TOML"
echo " $DEFAULT_NIX"

View File

@@ -5,7 +5,7 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "pile"; pname = "pile";
version = "0.0.1"; version = "0.0.2";
src = ./.; src = ./.;
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;