mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +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.
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[package]
|
|
name = "client-shared"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
backoff = { workspace = true }
|
|
bimap = { workspace = true }
|
|
connlib-model = { workspace = true }
|
|
dns-types = { workspace = true }
|
|
futures = { workspace = true }
|
|
ip_network = { workspace = true }
|
|
l4-udp-dns-client = { workspace = true }
|
|
libc = { workspace = true }
|
|
logging = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
phoenix-channel = { workspace = true }
|
|
secrecy = { workspace = true }
|
|
serde = { workspace = true, features = ["std", "derive"] }
|
|
snownet = { workspace = true }
|
|
socket-factory = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
time = { workspace = true, features = ["formatting"] }
|
|
tokio = { workspace = true, features = ["rt", "sync"] }
|
|
tokio-stream = { workspace = true, features = ["sync"] }
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
|
tun = { workspace = true }
|
|
tunnel = { workspace = true }
|
|
url = { workspace = true, features = ["serde"] }
|
|
|
|
[dev-dependencies]
|
|
chrono = { workspace = true }
|
|
serde_json = { workspace = true, features = ["std"] }
|
|
tokio = { workspace = true, features = ["macros"] }
|
|
|
|
[lints]
|
|
workspace = true
|