# 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.86"
name = "leaksnow"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for the leaks.now /api/v1 OSINT API"
readme = "README.md"
keywords = [
    "osint",
    "leaks",
    "shodan",
    "intelx",
    "api-client",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/ItsMariusBC/leaksnow-wrapper"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

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

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

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

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

[dependencies.fastrand]
version = "2"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["time"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.wiremock]
version = "0.6"
