originet 1.1.0

Map IP addresses to origin ASNs with CAIDA's RouteViews prefix-to-AS snapshots, fetched on the fly or read from a local file
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "originet"
version = "1.1.0"
authors = ["Esteban Carisimo"]
build = false
exclude = [
    "/.github",
    "/docs",
    "/python",
    "/mkdocs.yml",
    "/context7.json",
    "/Dockerfile",
    "/docker-compose.yml",
    "/deny.toml",
    "/.dockerignore",
    "/AGENTS.md",
    "/CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Map IP addresses to origin ASNs with CAIDA's RouteViews prefix-to-AS snapshots, fetched on the fly or read from a local file"
homepage = "https://estcarisimo.github.io/originet/"
documentation = "https://estcarisimo.github.io/originet/"
readme = "README.md"
keywords = [
    "asn",
    "bgp",
    "caida",
    "routeviews",
    "ip",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/estcarisimo/originet"

[features]
default = ["parquet"]
parquet = [
    "dep:arrow",
    "dep:parquet",
]

[lib]
name = "originet"
path = "src/lib.rs"

[[bin]]
name = "originet"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[dependencies.anstream]
version = "1.0"

[dependencies.anstyle]
version = "1.0"

[dependencies.anyhow]
version = "1.0"

[dependencies.arrow]
version = "60"
optional = true
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.csv]
version = "1.3"

[dependencies.directories]
version = "6.0"

[dependencies.env_logger]
version = "0.11"
features = [
    "auto-color",
    "humantime",
]
default-features = false

[dependencies.flate2]
version = "1.1"

[dependencies.indicatif]
version = "0.18"

[dependencies.ipnet]
version = "2.11"

[dependencies.jiff]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.parquet]
version = "60"
features = [
    "arrow",
    "snap",
]
optional = true
default-features = false

[dependencies.prefix-trie]
version = "0.10"
features = ["ipnet"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3.20"

[dependencies.thiserror]
version = "2.0"

[dependencies.ureq]
version = "3.1"
features = [
    "rustls",
    "gzip",
]
default-features = false

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.bytes]
version = "1.10"

[dev-dependencies.predicates]
version = "3.1"

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
struct_excessive_bools = "allow"
unreadable_literal = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true