2021-09-19 00:36:40 -07:00
|
|
|
[package]
|
|
|
|
name = "phantun"
|
2022-10-25 08:22:55 -07:00
|
|
|
version = "0.6.0"
|
2021-10-21 03:41:42 -07:00
|
|
|
edition = "2021"
|
2021-09-19 00:36:40 -07:00
|
|
|
authors = ["Datong Sun <dndx@idndx.com>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/dndx/phantun"
|
|
|
|
readme = "README.md"
|
|
|
|
description = """
|
2021-09-22 21:53:52 -07:00
|
|
|
Transforms UDP stream into (fake) TCP streams that can go through
|
|
|
|
Layer 3 & Layer 4 (NAPT) firewalls/NATs.
|
2021-09-19 00:36:40 -07:00
|
|
|
"""
|
|
|
|
[dependencies]
|
2022-09-29 08:23:43 +00:00
|
|
|
clap = { version = "4.0", features = ["cargo"] }
|
2023-02-27 09:05:00 +00:00
|
|
|
socket2 = { version = "0.5", features = ["all"] }
|
2022-10-25 08:36:42 -07:00
|
|
|
fake-tcp = { path = "../fake-tcp", version = "0.5" }
|
2021-12-05 07:01:58 -08:00
|
|
|
tokio = { version = "1.14", features = ["full"] }
|
2022-04-09 06:04:05 -07:00
|
|
|
tokio-util = "0.7"
|
2021-09-19 00:36:40 -07:00
|
|
|
log = "0.4"
|
2023-05-19 08:59:29 +00:00
|
|
|
pretty_env_logger = "0.5"
|
2023-10-30 08:38:52 +00:00
|
|
|
tokio-tun = "0.11"
|
2021-12-05 06:37:11 -08:00
|
|
|
num_cpus = "1.13"
|
2022-04-16 01:41:19 -07:00
|
|
|
neli = "0.6"
|
2024-02-26 08:12:52 +00:00
|
|
|
nix = { version = "0.28", features = ["net"] }
|