mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-19 03:25:56 +00:00
Sharing on the local network used to take whatever address the Manager found first, which is often a virtual adapter. The Friends page now lists the usable IPv4 addresses of the computer (the automatic one marked) and accepts a custom one. The choice is kept independently of the sharing mode, so it survives restarts and switching to other modes. A chosen address that is not available is reported instead of silently switching to another adapter. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
39 lines
1.3 KiB
TOML
39 lines
1.3 KiB
TOML
[package]
|
|
name = "coa-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
thiserror = "2"
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
|
|
dunce = "1"
|
|
fs4 = "0.13"
|
|
tracing = "0.1"
|
|
ed25519-dalek = "2"
|
|
base64 = "0.22"
|
|
zstd = { version = "0.13", features = ["zstdmt"] }
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "native-tls"] }
|
|
tar = "0.4"
|
|
num-bigint = "0.4"
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
sha1 = "0.10"
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "std"] }
|
|
tempfile = "3"
|
|
if-addrs = "0.15"
|
|
|
|
[dev-dependencies]
|
|
rand_core = { version = "0.6", features = ["getrandom"] }
|
|
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.60", features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_Threading", "Win32_System_SystemInformation", "Win32_System_Diagnostics_ToolHelp", "Win32_NetworkManagement_IpHelper", "Win32_Networking_WinSock"] }
|
|
|
|
[features]
|
|
testkit = []
|