Browse Source

🐛 bug: split the GUI client into its own crate

so we can build the other parts without having to set up FLTK
main
_ 1 year ago
parent
commit
1e35e9c18d
  1. 3
      .gitignore
  2. 15
      Cargo.lock
  3. 18
      prototypes/ptth_quic_client_gui/Cargo.toml
  4. 0
      prototypes/ptth_quic_client_gui/src/main.rs
  5. 3
      prototypes/quic_demo/.gitignore
  6. 1
      prototypes/quic_demo/Cargo.toml

3
.gitignore

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

15
Cargo.lock

@ -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",

18
prototypes/ptth_quic_client_gui/Cargo.toml

@ -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"

0
prototypes/quic_demo/src/bin/client_gui.rs → prototypes/ptth_quic_client_gui/src/main.rs

3
prototypes/quic_demo/.gitignore

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

1
prototypes/quic_demo/Cargo.toml

@ -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"

Loading…
Cancel
Save