multicast-discovery-socket 0.1.4

Ready to use discovery solution for local networks
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "multicast-discovery-socket"
version = "0.1.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ready to use discovery solution for local networks"
readme = "README.md"
keywords = [
    "multicast",
    "lan",
    "discovery",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/skibon02/multicast-discovery-socket"

[features]
bincode = ["dep:bincode"]
default = [
    "bincode",
    "rand",
]
rand = ["dep:rand"]

[lib]
name = "multicast_discovery_socket"
path = "src/lib.rs"

[[example]]
name = "discovery"
path = "examples/discovery.rs"

[[example]]
name = "interfaces_updates"
path = "examples/interfaces_updates.rs"

[[example]]
name = "multiinterface"
path = "examples/multiinterface.rs"

[[example]]
name = "silent_discovery"
path = "examples/silent_discovery.rs"

[dependencies.bincode]
version = "2.0.1"
optional = true

[dependencies.log]
version = "0.4.27"

[dependencies.rand]
version = "0.9.1"
optional = true

[dependencies.sha2-const-stable]
version = "0.1.0"

[dependencies.socket2]
version = "0.6.0"

[dev-dependencies.ctrlc]
version = "3.4.7"

[dev-dependencies.simple_logger]
version = "5.0.0"

[build-dependencies.cfg-expr]
version = "0.20.1"

[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.nix]
version = "0.30.1"
features = [
    "socket",
    "net",
    "uio",
]

[target.'cfg(any(target_os="linux", target_os="android", windows))'.dependencies.if-addrs]
version = "0.15.0"

[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
    "mswsock",
    "iphlpapi",
]