-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
353 additions
and
141 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[workspace] | ||
members = ["hooyad", "hooya-gtk", "packages/*"] | ||
resolver = "2" | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
FROM rust:1.73.0-alpine as builder | ||
RUN apk add openssl-dev musl-dev protoc ffmpeg | ||
FROM rust:1.78.0-alpine as builder | ||
RUN apk add openssl-dev musl-dev protoc | ||
WORKDIR /wd | ||
COPY . /wd | ||
|
||
ENV OPENSSL_DIR=/usr | ||
RUN cargo build --bin hooyad --bin hooya-web-proxy --release | ||
|
||
FROM scratch as hooyad | ||
FROM alpine as hooyad | ||
RUN apk add --no-cache ffmpeg | ||
COPY --from=builder /wd/target/release/hooyad / | ||
|
||
EXPOSE 8531 | ||
CMD ["/hooyad"] | ||
|
||
FROM scratch as hooya-web-proxy | ||
COPY --from=builder /wd/target/release/hooya-web-proxy / | ||
|
||
EXPOSE 8532 | ||
CMD ["/hooya-web-proxy"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ edition = "2021" | |
authors = [ "wesl-ee <[email protected]>" ] | ||
|
||
[dependencies] | ||
tonic = { version = "0.9" } | ||
prost = { version = "0.11" } | ||
tonic = { version = "0.11" } | ||
prost = { version = "0.12" } | ||
tokio = { version = "1.0", features = [ "macros", "rt-multi-thread"] } | ||
tokio-stream = { version = "0.1" } | ||
hooya = { path = "../packages/hooya" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ edition = "2021" | |
authors = [ "wesl-ee <[email protected]>" ] | ||
|
||
[dependencies] | ||
tonic = { version = "0.9" } | ||
prost = { version = "0.11" } | ||
tonic = { version = "0.11" } | ||
prost = { version = "0.12" } | ||
cid = "0.10" | ||
ring = "0.16" | ||
tokio = { version = "1.0", features = [ "macros", "rt-multi-thread"] } | ||
|
@@ -19,4 +19,4 @@ kamadak-exif = "0.5" | |
serde = { version = "1.0", features = [ "derive" ] } | ||
|
||
[build-dependencies] | ||
tonic-build = "0.9" | ||
tonic-build = "0.11" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.73.0 | ||
1.78.0 |