mirror of
https://github.com/localsend/localsend.git
synced 2026-08-07 07:14:52 +00:00
refactor: move core to packages/core
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
[package]
|
||||
name = "localsend"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.100"
|
||||
base64 = "0.22.1"
|
||||
bytes = "1.11"
|
||||
ed25519-dalek = { version = "2.2", features = ["pem", "rand_core"], optional = true }
|
||||
flate2 = { version = "1.1", optional = true }
|
||||
form_urlencoded = { version = "1.2", optional = true }
|
||||
futures-util = { version = "0.3.31", features = ["sink"] }
|
||||
http-body-util = { version = "0.1.3", optional = true }
|
||||
hyper = { version = "1.8.1", optional = true }
|
||||
hyper-util = { version = "0.1.19", features = ["server"], optional = true }
|
||||
lru = "0.16.3"
|
||||
pem = { version = "3.0.6", optional = true }
|
||||
percent-encoding = { version = "2.3", optional = true }
|
||||
reqwest = { version = "0.13.1", features = ["charset", "http2", "system-proxy", "json", "rustls-no-provider", "stream", "webpki-roots"], default-features = false, optional = true }
|
||||
rand = "0.9.1"
|
||||
rsa = { version = "0.9.8", optional = true }
|
||||
rustls = { version = "0.23.32", default-features = false, features = ["ring", "tls12", "std"], optional = true }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
sha2 = { version = "0.10.9", optional = true }
|
||||
socket2 = { version = "0.6.2", optional = true }
|
||||
thiserror = "2.0.18"
|
||||
tokio = { version = "1.49.0", features = ["full"] }
|
||||
tokio-rustls = { version = "0.26.4", default-features = false, features = ["ring", "tls12"], optional = true }
|
||||
tokio-stream = "0.1.18"
|
||||
tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-webpki-roots"], optional = true }
|
||||
tokio-util = { version = "0.7.16", optional = true }
|
||||
tracing = "0.1.44"
|
||||
tracing-subscriber = { version = "0.3.20" }
|
||||
tungstenite = "0.28.0"
|
||||
uuid = { version = "1.20.0", features = ["serde", "v4"] }
|
||||
webrtc = { version = "0.14.0", optional = true }
|
||||
x509-parser = { version = "0.18.0", features = ["verify"], optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
crypto = ["ed25519-dalek", "rsa", "sha2"]
|
||||
http = ["crypto", "form_urlencoded", "http-body-util", "hyper", "hyper-util", "pem", "percent-encoding", "reqwest", "rustls", "socket2", "tokio-rustls", "tokio-util", "x509-parser"]
|
||||
webrtc-signaling = ["tokio-tungstenite"]
|
||||
webrtc = ["crypto", "flate2", "dep:webrtc", "webrtc-signaling", "x509-parser"]
|
||||
full = ["crypto", "http", "webrtc"]
|
||||
Reference in New Issue
Block a user