mctx-core 0.3.0

Runtime-agnostic and portable IPv4 and IPv6 multicast sender library.
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"
rust-version = "1.88"
name = "mctx-core"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime-agnostic and portable IPv4 and IPv6 multicast sender library."
homepage = "https://github.com/QUICast/mctx-core"
documentation = "https://docs.rs/mctx-core"
readme = "README.md"
keywords = [
    "multicast",
    "udp",
    "networking",
    "sender",
    "ssm",
]
categories = ["network-programming"]
license = "BSD-2-Clause"
repository = "https://github.com/QUICast/mctx-core"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
metrics = [
    "dep:fs2",
    "dep:serde_json",
]
raw-ip = []
raw-packets = []
tokio = ["dep:tokio"]

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

[[bin]]
name = "mctx_raw_send"
path = "src/bin/mctx_raw_send.rs"
required-features = ["raw-packets"]

[[bin]]
name = "mctx_send"
path = "src/bin/mctx_send.rs"

[[bin]]
name = "mctx_tokio_send"
path = "src/bin/mctx_tokio_send.rs"
required-features = ["tokio"]

[[test]]
name = "raw_ip_linux_namespace"
path = "tests/raw_ip_linux_namespace.rs"

[dependencies.fs2]
version = "0.4.3"
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.socket2]
version = "0.6.3"
features = ["all"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
    "time",
]
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_NetworkManagement_IpHelper",
    "Win32_NetworkManagement_Ndis",
    "Win32_Networking_WinSock",
]