Compare commits

..

No commits in common. "master" and "feat-parse-webpage" have entirely different histories.

6 changed files with 180 additions and 475 deletions

View file

@ -60,7 +60,7 @@ jobs:
- name: Upload to Codecov
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v1
with:
file: cobertura.xml
@ -73,7 +73,7 @@ jobs:
- name: Deploy to GitHub Pages
if: matrix.version == 'stable' && (github.repository == 'mCaptcha/cli')
uses: JamesIves/github-pages-deploy-action@v4.6.4
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages

618
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -10,11 +10,11 @@ edition = "2021"
[dependencies]
mcaptcha_pow_sha256 = "0.5.0"
mcaptcha_pow_sha256 = "0.4.0"
clap = { version = "4.4", features = ["derive"] }
tokio = { version = "1.33", features = ["rt", "rt-multi-thread", "macros"] }
reqwest = { version = "0.12.0", features = ["json", "gzip", "native-tls-vendored"] }
reqwest = { version = "0.11.18", features = ["json", "gzip", "native-tls-vendored"] }
serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.107"
url = { version = "2.4.1", features = ["serde"] }
scraper = "0.20.0"
scraper = "0.18.0"

View file

@ -12,7 +12,7 @@ COPY . /src
RUN cargo build --release
FROM debian:bookworm as mcaptcha-cli
LABEL org.opencontainers.image.source https://git.batsense.net/mcaptcha/cli
LABEL org.opencontainers.image.source https://github.com/mcaptcha/cli
RUN useradd -ms /bin/bash -u 1001 mcaptcha-cli
WORKDIR /home/mcaptcha-cli
COPY --from=rust /src/target/release/mcaptcha-cli /usr/local/bin/

View file

@ -32,9 +32,9 @@ install.rust:
define build
rm -rf target/
cross build --release --target $(1)
mkdir -p build/$(1)
mkdir -p build2/$(1)
@rm target/$(1)/release/mcaptcha-cli.d
mv target/$(1)/release/mcaptcha-cli* build/$(1)/
mv target/$(1)/release/mcaptcha-cli* build2/$(1)/
rm -rf target/
endef

View file

@ -1,21 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard"
],
"labels": [
"renovate-bot"
],
"prHourlyLimit": 0,
"timezone": "Asia/kolkata",
"prCreation": "immediate",
"vulnerabilityAlerts": {
"enabled": true,
"labels": [
"renovate-bot",
"renovate-security",
"security"
]
}
}