[package]
edition = "2024"
name = "fire-scope"
version = "0.1.7"
authors = ["Neuron Grid <neuron-grid@neuron-grid.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This tool is a CLI application and library that collects and aggregates corresponding IP addresses by specifying country codes and AS numbers, and outputs them to a file in TXT or nftables format.It supports RIR file download and whois AS number query, and also has a function to extract overlapping parts of country codes and AS numbers in CIDR units."
readme = "README_eng.md"
categories = ["command-line-utilities"]
license = "MPL-2.0"
repository = "https://github.com/Neuron-Grid/fire-scope"
[lib]
name = "fire_scope"
path = "src/lib.rs"
[[bin]]
name = "fire-scope"
path = "src/main.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "ipv4_utils_tests"
path = "tests/ipv4_utils_tests.rs"
[[test]]
name = "output_common_tests"
path = "tests/output_common_tests.rs"
[[test]]
name = "overlap_tests"
path = "tests/overlap_tests.rs"
[[test]]
name = "parse_tests"
path = "tests/parse_tests.rs"
[[test]]
name = "process_tests"
path = "tests/process_tests.rs"
[dependencies.chrono]
version = "0.4.41"
[dependencies.clap]
version = "4.5.45"
features = ["derive"]
[dependencies.futures]
version = "0.3.31"
[dependencies.ipnet]
version = "2.11.0"
[dependencies.once_cell]
version = "1.21.3"
[dependencies.rand]
version = "0.9.2"
[dependencies.rayon]
version = "1.11.0"
[dependencies.reqwest]
version = "0.12.23"
features = [
"json",
"rustls-tls",
"stream",
]
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.143"
[dependencies.thiserror]
version = "2.0.16"
[dependencies.tokio]
version = "1.47.1"
features = ["full"]