Compare commits
No commits in common. "main" and "v0.1.1" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,3 @@
|
|||||||
/um-react.exe
|
/um-react.exe
|
||||||
/um-react@*.zip
|
/um-react@*.zip
|
||||||
/um-react@*.exe
|
/um-react@*.exe
|
||||||
/*.gz
|
|
||||||
|
23
Cargo.toml
23
Cargo.toml
@ -6,31 +6,24 @@ edition = "2021"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wry = { version = "0.35.1", optional = true }
|
wry = "0.35.1"
|
||||||
tao = { version = "0.24", default-features = false, optional = true, features = [
|
tao = { version = "0.24", default-features = false, features = ["rwh_05"] }
|
||||||
"rwh_05",
|
zip = "0.6.6"
|
||||||
] }
|
http = "0.2"
|
||||||
image = { version = "0.24", default-features = true, optional = true, features = [
|
bytes = "1.5.0"
|
||||||
|
clap = { version = "4.4.12", features = ["derive"] }
|
||||||
|
image = { version = "0.24", default-features = true, features = [
|
||||||
"webp",
|
"webp",
|
||||||
"ico",
|
"ico",
|
||||||
] }
|
] }
|
||||||
|
dirs = "5.0.1"
|
||||||
zip = { version = "0.6.6" }
|
|
||||||
http = { version = "0.2" }
|
|
||||||
bytes = { version = "1.5.0" }
|
|
||||||
clap = { version = "4.4.12", features = ["derive"] }
|
|
||||||
dirs = { version = "5.0.1" }
|
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
winres = "0.1"
|
winres = "0.1"
|
||||||
|
|
||||||
[features]
|
|
||||||
stub-pkgs = ["wry", "tao", "image"]
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "um-react-wry-stub"
|
name = "um-react-wry-stub"
|
||||||
path = "src/stub.rs"
|
path = "src/stub.rs"
|
||||||
required-features = ["stub-pkgs"]
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "builder"
|
name = "builder"
|
||||||
|
10
Dockerfile
10
Dockerfile
@ -1,10 +0,0 @@
|
|||||||
FROM rust
|
|
||||||
|
|
||||||
ENV CARGO_HOME=/h
|
|
||||||
WORKDIR /c
|
|
||||||
|
|
||||||
COPY src /c/src/
|
|
||||||
COPY build.rs Cargo.toml Cargo.lock /c/
|
|
||||||
RUN cargo build --bin builder --release
|
|
||||||
|
|
||||||
CMD gzip < target/release/builder | base64
|
|
Loading…
Reference in New Issue
Block a user