mirror of
https://github.com/bee-san/RustScan.git
synced 2026-11-11 01:11:45 -10:00
By default, Cargo instructs compilation units to be compiled and optimized in isolation. LTO instructs the linker to optimize at the link stage. This can, for example, remove dead code and often times reduces binary size. By default, when Rust code encounters a situation when it must call panic!(), it unwinds the stack and produces a helpful backtrace. The unwinding code, however, does require extra binary size. rustc can be instructed to abort immediately rather than unwind, which removes the need for this extra unwinding code. For more information see: https://github.com/johnthagen/min-sized-rust
41 lines
807 B
TOML
41 lines
807 B
TOML
[package]
|
|
name = "rustscan"
|
|
version = "1.7.1"
|
|
authors = ["Bee <[email protected]>"]
|
|
edition = "2018"
|
|
description = "Faster Nmap Scanning with Rust"
|
|
homepage = "https://github.com/rustscan/rustscan"
|
|
repository = "https://github.com/rustscan/rustscan"
|
|
license = "MIT"
|
|
keywords = ["port", "scanning", "nmap"]
|
|
categories = ["command-line-utilities"]
|
|
readme="README.md"
|
|
exclude = [
|
|
".github/*",
|
|
"pictures/*",
|
|
"rustscan-debbuilder/*",
|
|
]
|
|
|
|
[dependencies]
|
|
colored = "2.0.0"
|
|
structopt = "0.3.16"
|
|
async-std = "1.6.3"
|
|
futures = "0.3"
|
|
rlimit = "0.4.0"
|
|
shell-words = "1.0.0"
|
|
log = "0.4.0"
|
|
env_logger = "0.7.1"
|
|
dirs = "3.0.1"
|
|
gcd = "2.0.1"
|
|
rand = "0.7.3"
|
|
colorful = "0.2.1"
|
|
ansi_term = "0.12.1"
|
|
|
|
[package.metadata.deb]
|
|
depends = "$auto, nmap"
|
|
section = "rust"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = 'abort'
|