# 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 = "2018" name = "seqknock-proxycmd" version = "0.2.0" authors = ["Jonas Eriksson "] description = "TCP Sequence number-based knocking; OpenSSH-style proxycmd implementation" homepage = "https://git.sr.ht/~upto/seqknock/" readme = "README.md" license = "GPL-2.0 OR Apache-2.0" repository = "https://git.sr.ht/~upto/seqknock/" [package.metadata.generate-rpm] post_install_script = """ set -eo pipefail if ! getent group seqknock-proxycmd &> /dev/null; then groupadd --system seqknock-proxycmd fi """ [[package.metadata.generate-rpm.assets]] source = "target/release/seqknock-proxycmd" dest = "/usr/bin/seqknock-proxycmd" mode = "755" [[package.metadata.generate-rpm.assets]] source = "seqknock-proxycmd/files/50-seqknock-proxycmd-rules" dest = "/etc/sudoers.d/50-seqknock-proxycmd-rules" mode = "600" [[package.metadata.generate-rpm.assets]] source = "target/man-out/seqknock-proxycmd.1.gz" dest = "/usr/share/man/man1/seqknock-nftables-proxycmd.1.gz" mode = "644" [package.metadata.deb] depends = "nftables" assets = [ [ "target/release/seqknock-proxycmd", "usr/bin/", "755", ], [ "files/50-seqknock-proxycmd-rules", "etc/sudoers.d/", "600", ], [ "target/man-out/seqknock-proxycmd.1.gz", "share/man/man1/", "644", ], ] [dependencies.async-std] version = "1.12.0" [dependencies.clap] version = "3.2" features = ["derive"] [dependencies.log] version = "0.4" [dependencies.log4rs] version = "1.2" [dependencies.seqknock-common] version = "0.1" features = ["async"] [dependencies.tokio] version = "1" features = ["rt"]