mirror of
https://github.com/localsend/localsend.git
synced 2026-08-07 07:14:52 +00:00
feat: add discovery to core
This commit is contained in:
@@ -43,11 +43,12 @@ x509-parser = { version = "0.18.1", features = ["verify"], optional = true }
|
||||
[features]
|
||||
default = []
|
||||
crypto = ["ed25519-dalek", "rcgen", "rsa", "sha2", "tokio-util"]
|
||||
discovery = ["http", "multicast"]
|
||||
http = ["crypto", "form_urlencoded", "http-body-util", "hyper", "hyper-util", "pem", "percent-encoding", "reqwest", "rustls", "socket2", "tokio-rustls", "tokio-util", "x509-parser"]
|
||||
multicast = ["if-addrs", "socket2", "tokio-util"]
|
||||
webrtc-signaling = ["tokio-tungstenite"]
|
||||
webrtc = ["crypto", "flate2", "dep:webrtc", "webrtc-signaling", "x509-parser"]
|
||||
full = ["crypto", "http", "multicast", "webrtc"]
|
||||
full = ["crypto", "discovery", "http", "multicast", "webrtc"]
|
||||
|
||||
# RSA key generation is bignum-heavy and takes ~10x longer unoptimized;
|
||||
# keep the crypto crates optimized in dev so tests stay fast.
|
||||
|
||||
Reference in New Issue
Block a user