Compare commits

..

4 Commits

Author SHA1 Message Date
faef9a6b2f Updating packages
Some checks failed
Rust Build / Check (pull_request) Failing after 1m15s
Rust Build / Rustfmt (pull_request) Successful in 40s
Rust Build / Test Suite (pull_request) Failing after 1m30s
Rust Build / Clippy (pull_request) Failing after 1m19s
Rust Build / build (pull_request) Failing after 2m13s
2026-04-05 17:22:34 -04:00
c7a17a315b Updated rust version in workflow 2026-04-05 17:19:12 -04:00
e3e9da519d Updating rust version in docker file 2026-04-05 17:18:58 -04:00
c3aba0caad Updated rust version 2026-04-05 17:18:45 -04:00
3 changed files with 698 additions and 286 deletions

39
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,39 @@
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/

941
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

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