Compare commits
90 Commits
upload
...
feature/co
Author | SHA1 | Date | |
---|---|---|---|
40fc2229a3 | |||
4007b2cb0d | |||
d9f67c5d1a | |||
9bcf34fb1c | |||
79544c5a4b | |||
759727d4e9 | |||
1164f8e12a | |||
44725f65df | |||
dfe899a7d8 | |||
d5b8c10264 | |||
fc4cebc862 | |||
658266aa89 | |||
56899fa7da | |||
d9531f1d4e | |||
994eb9c4be | |||
17bfbef482 | |||
e5c7ed6b75 | |||
9d6780a0b0 | |||
4fd7795457 | |||
1ea68d96ef | |||
4ced7f6210 | |||
db2c760c49 | |||
8ee041918b | |||
5384bbcb3b | |||
9f3bd80403 | |||
7863137174 | |||
15fd698a21 | |||
07f0b03d45 | |||
7e27b378e9 | |||
48ab23bae5 | |||
97286612b7 | |||
8e589f7f0f | |||
cbb5805d54 | |||
d6add611fb | |||
ebd5bb526e | |||
858ed8a89c | |||
35657d4d51 | |||
15e8c8208f | |||
5574c34045 | |||
e5322ad711 | |||
0d0f1b1792 | |||
1b3a8be142 | |||
eb20f8056d | |||
b3f5dd6c4d | |||
10f1ac313c | |||
2260d9a565 | |||
ee8e59b898 | |||
a9a40cd2f0 | |||
cef0f38482 | |||
c2041b33e4 | |||
29b4211484 | |||
bbbbd6bf64 | |||
e8ef06c2cb | |||
9dc67a22c1 | |||
67048cccf6 | |||
b9eaefe056 | |||
1bdfbf96c3 | |||
db44cf12be | |||
30169ddc5b | |||
4d77895260 | |||
aeb72503f0 | |||
1ba8d636f1 | |||
a5c01ff9cf | |||
c3ca545119 | |||
def0d1a69a | |||
00f4788169 | |||
e12c13a1dd | |||
816461e9f4 | |||
13ebb96ed6 | |||
097c92f602 | |||
82eb78db23 | |||
1434a11f28 | |||
1aef1f73d9 | |||
eebc843cb4 | |||
fdbe3251b3 | |||
b2f92a741c | |||
7e4a9f872c | |||
5f1178d0cf | |||
bb32d30896 | |||
03ae57e2e1 | |||
589c1b044e | |||
aed3b69ca0 | |||
4a081d5b8f | |||
54ca5520b7 | |||
23dfcadc85 | |||
1075d59a91 | |||
01676bb4da | |||
df62258608 | |||
dc4ec4547a | |||
929484855d |
527
Cargo.lock
generated
527
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
15
Cargo.toml
15
Cargo.toml
@ -7,16 +7,21 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.75"
|
||||
chrono = { version = "0.4.31", features = ["serde"] }
|
||||
clap = { version = "4.4.2", features = ["derive"] }
|
||||
flate2 = "1.0.28"
|
||||
futures = "0.3.30"
|
||||
git2 = "0.18.1"
|
||||
lazy-regex = "3.1.0"
|
||||
pollster = "0.3.0"
|
||||
rbx_binary = "0.7.1"
|
||||
rbx_dom_weak = "2.5.0"
|
||||
rbx_reflection_database = "0.2.7"
|
||||
rbx_xml = "0.13.1"
|
||||
reqwest = { version = "0.11.23", features = ["cookies"] }
|
||||
rayon = "1.8.0"
|
||||
rbx_binary = "0.7.4"
|
||||
rbx_dom_weak = "2.7.0"
|
||||
rbx_reflection_database = "0.2.10"
|
||||
rbx_xml = "0.13.3"
|
||||
reqwest = { version = "0.11.23", features = ["cookies", "json"] }
|
||||
serde = { version = "1.0.195", features = ["derive"] }
|
||||
serde_json = "1.0.111"
|
||||
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread", "fs"] }
|
||||
|
||||
[profile.release]
|
||||
|
23
Containerfile
Normal file
23
Containerfile
Normal file
@ -0,0 +1,23 @@
|
||||
# Using the `rust-musl-builder` as base image, instead of
|
||||
# the official Rust toolchain
|
||||
FROM clux/muslrust:stable AS chef
|
||||
USER root
|
||||
RUN cargo install cargo-chef
|
||||
WORKDIR /app
|
||||
|
||||
FROM chef AS planner
|
||||
COPY . .
|
||||
RUN cargo chef prepare --recipe-path recipe.json
|
||||
|
||||
FROM chef AS builder
|
||||
COPY --from=planner /app/recipe.json recipe.json
|
||||
# Notice that we are specifying the --target flag!
|
||||
RUN cargo chef cook --release --target x86_64-unknown-linux-musl --recipe-path recipe.json
|
||||
COPY . .
|
||||
RUN cargo build --release --target x86_64-unknown-linux-musl --bin asset-tool
|
||||
|
||||
FROM alpine AS runtime
|
||||
RUN addgroup -S myuser && adduser -S myuser -G myuser
|
||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/asset-tool /usr/local/bin/
|
||||
USER myuser
|
||||
CMD ["/usr/local/bin/asset-tool"]
|
1526
src/main.rs
1526
src/main.rs
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user