ax-net 0.7.2

Unified network stack for TGOSKits (ArceOS, StarryOS, Axvisor)
# 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 = "ax-net"
version = "0.7.2"
authors = ["Mivik <mivikq@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified network stack for TGOSKits (ArceOS, StarryOS, Axvisor)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
vsock = ["dep:rdif-vsock"]

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

[dependencies.async-channel]
version = "2.5"
default-features = false

[dependencies.async-trait]
version = "0.1"

[dependencies.ax-errno]
version = "0.6.0"

[dependencies.ax-hal]
version = "0.5.18"

[dependencies.ax-io]
version = "0.6.0"

[dependencies.ax-kspin]
version = "0.3.11"

[dependencies.ax-sync]
version = "0.5.18"

[dependencies.ax-task]
version = "0.5.19"
features = [
    "irq",
    "multitask",
]

[dependencies.axpoll]
version = "0.3.11"

[dependencies.bitflags]
version = "2.9"

[dependencies.cfg-if]
version = "1.0"

[dependencies.enum_dispatch]
version = "0.3"

[dependencies.event-listener]
version = "5.4"
default-features = false

[dependencies.hashbrown]
version = "0.16"

[dependencies.log]
version = "0.4"

[dependencies.rd-net]
version = "0.1.3"

[dependencies.rdif-vsock]
version = "0.1.1"
optional = true

[dependencies.ringbuf]
version = "0.4"
features = ["alloc"]
default-features = false

[dependencies.smoltcp]
version = "0.13.1"
features = [
    "alloc",
    "log",
    "async",
    "medium-ethernet",
    "medium-ip",
    "proto-ipv4",
    "proto-ipv6",
    "socket-raw",
    "socket-icmp",
    "socket-udp",
    "socket-tcp",
    "socket-dhcpv4",
    "socket-dns",
]
default-features = false

[dependencies.spin]
version = "0.12"

[dev-dependencies.ax-hal]
version = "0.5.18"
features = ["host-test"]

[dev-dependencies.ax-kspin]
version = "0.3.11"
features = ["host-test"]