🐛 bug: split the GUI client into its own crate

so we can build the other parts without having to set up FLTK
main
_ 2021-07-22 00:15:17 +00:00
parent 67e74169be
commit 1e35e9c18d
6 changed files with 35 additions and 5 deletions

3
.gitignore vendored
View File

@ -8,3 +8,6 @@
/ptth_server_build_BIHWLQXQ/
/scraper-secret.txt
/target
# TLS certs used for QUIC experiments
*.crt

15
Cargo.lock generated
View File

@ -1201,6 +1201,20 @@ dependencies = [
"tokio",
]
[[package]]
name = "ptth_quic_client_gui"
version = "0.1.0"
dependencies = [
"anyhow",
"fltk",
"quic_demo",
"quinn",
"structopt",
"tokio",
"tracing",
"tracing-subscriber",
]
[[package]]
name = "ptth_relay"
version = "2.0.0"
@ -1313,7 +1327,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"base64",
"fltk",
"futures-util",
"quinn",
"rcgen",

View File

@ -0,0 +1,18 @@
[package]
name = "ptth_quic_client_gui"
version = "0.1.0"
authors = ["Trish"]
edition = "2018"
license = "AGPL-3.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.38"
fltk = "1.1.1"
quic_demo = { path = "../quic_demo" }
quinn = "0.7.2"
structopt = "0.3.20"
tokio = { version = "1.8.1", features = ["full"] }
tracing-subscriber = "0.2.16"
tracing = "0.1.25"

View File

@ -1,4 +1 @@
# TLS certs used for QUIC experiments
*.crt
/app_packages

View File

@ -10,7 +10,6 @@ license = "AGPL-3.0"
[dependencies]
anyhow = "1.0.38"
base64 = "0.13.0"
fltk = "1.1.1"
futures-util = "0.3.9"
quinn = "0.7.2"
rcgen = "0.8.11"