# 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 = "2021" name = "protomask" version = "1.1.0" authors = ["Evan Pratten "] exclude = [ "/.github/", "/.vscode/", ] description = "A user space NAT64 implementation" homepage = "https://github.com/ewpratten/protomask" documentation = "https://docs.rs/protomask" readme = "README.md" keywords = [] categories = [] license = "GPL-3.0" repository = "https://github.com/ewpratten/protomask" [package.metadata.deb] assets = [ [ "target/release/protomask", "/usr/local/bin/protomask", "755", ], [ "target/release/protomask-clat", "/usr/local/bin/protomask-clat", "755", ], [ "config/protomask.json", "/etc/protomask/protomask.json", "644", ], [ "config/protomask-clat.json", "/etc/protomask/protomask-clat.json", "644", ], [ "README.md", "/usr/share/doc/protomask/README.md", "644", ], ] conf-files = [] depends = [] maintainer-scripts = "./debian/" section = "network" [[package.metadata.deb.systemd-units]] enable = false unit-name = "protomask-service" [[package.metadata.deb.systemd-units]] enable = false unit-name = "protomask-clat-service" [[package.metadata.generate-rpm.assets]] dest = "/usr/local/bin/protomask" mode = "755" source = "target/release/protomask" [[package.metadata.generate-rpm.assets]] dest = "/usr/local/bin/protomask-clat" mode = "755" source = "target/release/protomask-clat" [[package.metadata.generate-rpm.assets]] dest = "/etc/protomask/protomask.json" mode = "644" source = "config/protomask.json" [[package.metadata.generate-rpm.assets]] dest = "/etc/protomask/protomask-clat.json" mode = "644" source = "config/protomask-clat.json" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/protomask/README.md" mode = "644" source = "README.md" [profile.release] opt-level = 3 lto = true [[bin]] name = "protomask" path = "src/protomask.rs" [[bin]] name = "protomask-clat" path = "src/protomask-clat.rs" [[bin]] name = "protomask-6over4" path = "src/protomask-6over4.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "4.3.11" features = ["derive"] [dependencies.easy-tun] version = "^2.0.0" [dependencies.fast-nat] version = "^1.0.0" [dependencies.fern] version = "0.6.2" [dependencies.interproto] version = "^1.0.0" features = ["metrics"] [dependencies.ipnet] version = "2.8.0" features = ["serde"] [dependencies.log] version = "0.4.19" [dependencies.nix] version = "0.26.2" [dependencies.owo-colors] version = "3.5.0" features = ["supports-colors"] [dependencies.profiling] version = "1.0.9" [dependencies.protomask-metrics] version = "^0.1.0" [dependencies.puffin] version = "0.16.0" optional = true [dependencies.puffin_http] version = "0.13.0" optional = true [dependencies.rfc6052] version = "^1.0.0" [dependencies.rtnl] version = "^1.0.0" features = ["tokio"] [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.thiserror] version = "1.0.44" [dependencies.tokio] version = "1.29.1" features = [ "macros", "rt-multi-thread", ] [features] default = [] profiler = [ "puffin", "puffin_http", "easy-tun/profile-puffin", "fast-nat/profile-puffin", "interproto/profile-puffin", ]