ax-net 0.13.2

Unified network stack for TGOSKits (ArceOS, StarryOS, Axvisor)
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 = "ax-net"
version = "0.13.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"

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-none",
    "aarch64-unknown-none-softfloat",
    "riscv64gc-unknown-none-elf",
    "loongarch64-unknown-none-softfloat",
]

[features]
host-test = [
    "ax-hal/host-test",
    "axpoll-set/host-test",
    "ax-sync/host-test",
    "ax-task/host-test",
]
vsock = ["dep:rdif-vsock"]

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

[[test]]
name = "std"
path = "tests/std.rs"
required-features = ["host-test"]

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

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

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

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

[dependencies.ax-lazyinit]
version = "0.5"

[dependencies.ax-sync]
version = "0.6"
features = ["sleep"]

[dependencies.ax-task]
version = "0.8"

[dependencies.axpoll]
version = "0.7"

[dependencies.axpoll-set]
version = "0.1"

[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.heapless]
version = "0.9"

[dependencies.irq-framework]
version = "0.5"

[dependencies.log]
version = "0.4"

[dependencies.rand_chacha]
version = "0.3.1"
default-features = false

[dependencies.rand_core]
version = "0.6.4"
default-features = false

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

[dependencies.rdif-vsock]
version = "0.3"
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",
    "auto-icmp-echo-reply",
    "packetmeta-id",
    "socket-raw",
    "socket-icmp",
    "socket-udp",
    "socket-tcp",
    "socket-dhcpv4",
    "socket-dns",
    "iface-max-addr-count-8",
]
default-features = false

[dependencies.syscalls]
version = "0.8.1"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies]

[target.'cfg(not(target_os = "none"))'.dev-dependencies]