Compare commits
No commits in common. "master" and "feat-parse-webpage" have entirely different histories.
master
...
feat-parse
6 changed files with 180 additions and 475 deletions
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
|
@ -60,7 +60,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload to Codecov
|
- name: Upload to Codecov
|
||||||
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
|
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:
|
with:
|
||||||
file: cobertura.xml
|
file: cobertura.xml
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
if: matrix.version == 'stable' && (github.repository == 'mCaptcha/cli')
|
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:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BRANCH: gh-pages
|
BRANCH: gh-pages
|
||||||
|
|
618
Cargo.lock
generated
618
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -10,11 +10,11 @@ edition = "2021"
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
mcaptcha_pow_sha256 = "0.5.0"
|
mcaptcha_pow_sha256 = "0.4.0"
|
||||||
clap = { version = "4.4", features = ["derive"] }
|
clap = { version = "4.4", features = ["derive"] }
|
||||||
tokio = { version = "1.33", features = ["rt", "rt-multi-thread", "macros"] }
|
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 = { version = "1.0.189", features = ["derive"] }
|
||||||
serde_json = "1.0.107"
|
serde_json = "1.0.107"
|
||||||
url = { version = "2.4.1", features = ["serde"] }
|
url = { version = "2.4.1", features = ["serde"] }
|
||||||
scraper = "0.20.0"
|
scraper = "0.18.0"
|
||||||
|
|
|
@ -12,7 +12,7 @@ COPY . /src
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM debian:bookworm as mcaptcha-cli
|
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
|
RUN useradd -ms /bin/bash -u 1001 mcaptcha-cli
|
||||||
WORKDIR /home/mcaptcha-cli
|
WORKDIR /home/mcaptcha-cli
|
||||||
COPY --from=rust /src/target/release/mcaptcha-cli /usr/local/bin/
|
COPY --from=rust /src/target/release/mcaptcha-cli /usr/local/bin/
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -32,9 +32,9 @@ install.rust:
|
||||||
define build
|
define build
|
||||||
rm -rf target/
|
rm -rf target/
|
||||||
cross build --release --target $(1)
|
cross build --release --target $(1)
|
||||||
mkdir -p build/$(1)
|
mkdir -p build2/$(1)
|
||||||
@rm target/$(1)/release/mcaptcha-cli.d
|
@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/
|
rm -rf target/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue