mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
The current Rust workspace isn't as consistent as it could be. To make navigation a bit easier, we move a few crates around. Generally, we follow the idea that entry-points should be at the top-level. `rust/` now looks like this (directories only): ``` . ├── cli # Firezone CLI ├── client-ffi # Entry point for Apple & Android ├── gateway # Gateway ├── gui-client # GUI client ├── headless-client # Headless client ├── libs # Library crates ├── relay # Relay ├── target # Compile artifacts ├── tests # Crates for testing └── tools # Local tools ``` To further enforce this structure, we also drop the `firezone-` prefix from all crates that are not top-level binary crates.
33 lines
853 B
TOML
33 lines
853 B
TOML
[package]
|
|
name = "http-client"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
bytes = { workspace = true }
|
|
http = { workspace = true }
|
|
http-body-util = { workspace = true }
|
|
hyper = { workspace = true, features = ["client", "http2"] }
|
|
hyper-util = { workspace = true, features = ["tokio"] }
|
|
rustls = { workspace = true }
|
|
rustls-pki-types = { workspace = true }
|
|
socket-factory = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-rustls = { workspace = true }
|
|
tokio-util = { workspace = true, features = ["rt"] }
|
|
tracing = { workspace = true }
|
|
webpki-roots = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
futures = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt"] }
|
|
|
|
[lints]
|
|
workspace = true
|