phishnano 0.1.8

Lightweight offline phishing URL detection library with embedded Random Forest model, microsecond local inference, and zero network requests
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 = "2021"
rust-version = "1.70"
name = "phishnano"
version = "0.1.8"
build = false
include = [
    "src/lib.rs",
    "src/extractor.rs",
    "src/model.rs",
    "src/predictor.rs",
    "src/indicators.rs",
    "src/scoring.rs",
    "src/bin/phishnano-cli.rs",
    "resources/model_data.bincode",
    "resources/model_data.json",
    "resources/test_features.json",
    "resources/test_struct_features.json",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight offline phishing URL detection library with embedded Random Forest model, microsecond local inference, and zero network requests"
homepage = "https://github.com/ignotuslabs/phishnano"
documentation = "https://docs.rs/phishnano"
readme = "README.md"
keywords = [
    "phishing",
    "security",
    "url",
    "detection",
    "random-forest",
]
categories = [
    "security",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ignotuslabs/phishnano"

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

[[bin]]
name = "phishnano-cli"
path = "src/bin/phishnano-cli.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"

[dependencies.idna]
version = "0.5"

[dependencies.once_cell]
version = "1"

[dependencies.percent-encoding]
version = "2.0"

[dependencies.regex]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.env_logger]
version = "0.10"

[dev-dependencies.log]
version = "0.4"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1