axnet 0.3.0-preview.3

ArceOS network module
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 = "axnet"
version = "0.3.0-preview.3"
authors = [
    "Yuekai Jia <equation618@gmail.com>",
    "ChengXiang Qi <kuangjux@outlook.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ArceOS network module"
homepage = "https://github.com/arceos-org/arceos"
readme = false
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/arceos/tree/main/modules/axnet"

[features]
default = ["smoltcp"]
smoltcp = ["dep:smoltcp"]
vsock = ["axdriver/vsock"]

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

[dependencies.axdriver]
version = "=0.3.0-preview.3"
features = ["net"]

[dependencies.axerrno]
version = "0.2"

[dependencies.axhal]
version = "=0.3.0-preview.3"

[dependencies.axio]
version = "0.3.0-pre.1"

[dependencies.axsync]
version = "=0.3.0-preview.3"

[dependencies.axtask]
version = "=0.3.0-preview.3"

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

[dependencies.lazyinit]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.smoltcp]
version = "0.12.1-preview.1"
features = [
    "alloc",
    "log",
    "async",
    "medium-ethernet",
    "medium-ip",
    "proto-ipv4",
    "proto-ipv6",
    "socket-raw",
    "socket-icmp",
    "socket-udp",
    "socket-tcp",
    "socket-dns",
]
optional = true
default-features = false
package = "starry-smoltcp"

[dependencies.spin]
version = "0.10"