[[bin]]
name = "port-mapping"
path = "src/main.rs"
[dependencies.dashmap]
default-features = false
version = "6.1.0"
[dependencies.socket2]
default-features = false
version = "0.5.10"
[dependencies.tokio]
default-features = false
features = ["fs", "io-util", "net", "rt-multi-thread", "time", "sync", "macros"]
version = "1.45.1"
[lib]
name = "port_mapping"
path = "src/lib.rs"
[package]
authors = ["share121 <2854631158@qq.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "command-line-utilities"]
description = "简单的映射端口程序"
documentation = "https://docs.rs/port-mapping"
edition = "2024"
exclude = ["/.github"]
homepage = "https://github.com/share121/port-mapping"
keywords = ["port", "mapping", "tokio", "concurrency", "performance"]
license = "MIT"
name = "port-mapping"
readme = "README.md"
repository = "https://github.com/share121/port-mapping"
version = "0.3.0"
[profile.dev]
incremental = true
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
strip = true