Compare commits

..

1 Commits

Author SHA1 Message Date
6a905c7ec6 Update rust (#72)
All checks were successful
Rust Build / Check (push) Successful in 30s
Rust Build / Rustfmt (push) Successful in 34s
Rust Build / Test Suite (push) Successful in 1m12s
Rust Build / Clippy (push) Successful in 55s
Rust Build / build (push) Successful in 1m27s
Reviewed-on: #72
Co-authored-by: phoenix <mail@kundeng.us>
Co-committed-by: phoenix <mail@kundeng.us>
2026-04-05 17:32:13 -04:00
3 changed files with 285 additions and 697 deletions

View File

@@ -1,39 +0,0 @@
stages:
- build
- test
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- mv "$SSH_DEPLOY_KEY" gitlab_deploy_key # copies the file from the variable.
- chmod 600 gitlab_deploy_key
- ssh-add gitlab_deploy_key
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host gitlab.com\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- echo "$KNOWN_HOSTS" >> ~/.ssh/known_hosts
build:
stage: build
image: rust:1.85
script:
- cargo build --release
artifacts:
paths:
- target/release/songparser
expire_in: 1 week
cache:
key: "cargo-cache"
paths:
- target/
- ~/.cargo/
test:
stage: test
image: rust:latest
script:
- cargo test
cache:
key: "cargo-cache"
paths:
- target/
- ~/.cargo/

939
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,13 @@
[package] [package]
name = "songparser" name = "songparser"
version = "0.4.12" version = "0.5.0"
edition = "2024" edition = "2024"
rust-version = "1.94" rust-version = "1.94"
[dependencies] [dependencies]
tokio = { version = "1.51", features = ["full"] } tokio = { version = "1.51", features = ["full"] }
futures = { version = "0.3.32" } futures = { version = "0.3.32" }
reqwest = { version = "0.13.2", features = ["json", "stream", "multipart"] } reqwest = { version = "0.12.28", features = ["json", "stream", "multipart"] }
serde = { version = "1.0.228", features = ["derive"] } serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.149" } serde_json = { version = "1.0.149" }
time = { version = "0.3.47", features = ["macros", "serde"] } time = { version = "0.3.47", features = ["macros", "serde"] }