mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-13 12:13:42 +01:00
35 lines
829 B
TOML
35 lines
829 B
TOML
[package]
|
|
name = "yaak-proxy-helper"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
authors = ["Gregory Schier"]
|
|
publish = false
|
|
|
|
# The library is the protocol and the `networksetup` logic, shared with `yaak-proxy-lib`, and
|
|
# builds everywhere. The daemon itself is macOS only.
|
|
[lib]
|
|
name = "yaak_proxy_helper"
|
|
|
|
[[bin]]
|
|
name = "yaak-proxy-helper"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
# TypeScript bindings for the types the proxy app shows.
|
|
ts = ["dep:ts-rs"]
|
|
# An in-memory `networksetup`, for tests that change the system proxy.
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
ts-rs = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = "0.10"
|
|
libc = "0.2"
|
|
security-framework = "3"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|