# 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"
name = "legba"
version = "0.7.0"
authors = ["Simone Margaritelli <evilsocket@gmail.com>"]
description = "A fast multi protocol credential bruteforcer/sprayer/enumerator."
homepage = "https://github.com/evilsocket/legba"
readme = "README.md"
keywords = [
    "authentication",
    "bruteforce",
    "wordlist",
]
license = "GPL-3.0"
repository = "https://github.com/evilsocket/legba"

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

[dependencies.ahash]
version = "0.8.3"

[dependencies.ansi_term]
version = "0.12.1"

[dependencies.async-channel]
version = "1.9.0"

[dependencies.async-imap]
version = "0.9.1"
features = ["runtime-tokio"]
optional = true
default-features = false

[dependencies.async-native-tls]
version = "0.5.0"
features = ["runtime-tokio"]
default-features = false

[dependencies.async-pop]
version = "1.0.2"
features = ["runtime-tokio"]
optional = true
default-features = false

[dependencies.async-smtp]
version = "0.9.0"
optional = true

[dependencies.async-ssh2-tokio]
version = "0.8.2"
optional = true

[dependencies.async-trait]
version = "0.1.73"

[dependencies.async_ftp]
version = "6.0.0"
optional = true

[dependencies.base64]
version = "0.21.4"
optional = true

[dependencies.chrono]
version = "0.4.31"
features = ["serde"]

[dependencies.cidr-utils]
version = "0.5.11"

[dependencies.clap]
version = "4.4.4"
features = ["derive"]

[dependencies.csv]
version = "1.3.0"

[dependencies.ctor]
version = "0.2.4"

[dependencies.ctrlc]
version = "3.4.1"

[dependencies.env_logger]
version = "0.10.0"

[dependencies.fast-socks5]
version = "0.9.2"
optional = true

[dependencies.glob]
version = "0.3.1"

[dependencies.hex]
version = "0.4.3"

[dependencies.human_bytes]
version = "0.4.3"

[dependencies.indexmap]
version = "2.0.1"
features = ["serde"]

[dependencies.itertools]
version = "0.11.0"

[dependencies.kerberos_asn1]
version = "0.2.1"
optional = true

[dependencies.kerberos_constants]
version = "0.0.9"
optional = true

[dependencies.kerberos_crypto]
version = "0.3.6"
optional = true

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.ldap3]
version = "0.11.3"
optional = true

[dependencies.log]
version = "0.4.20"

[dependencies.memory-stats]
version = "1.1.0"

[dependencies.mini-telnet]
version = "0.1.8"
optional = true

[dependencies.mongodb]
version = "2.7.0"
optional = true

[dependencies.ntlmclient]
version = "0.1.0"
optional = true

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.paho-mqtt]
version = "0.12.3"
optional = true

[dependencies.pavao]
version = "0.2.3"
optional = true

[dependencies.rand]
version = "0.8.5"

[dependencies.rdp-rs]
version = "0.1.0"
optional = true

[dependencies.regex]
version = "1.9.5"

[dependencies.reqwest]
version = "0.11.20"
features = [
    "multipart",
    "socks",
    "cookies",
]
optional = true

[dependencies.rlimit]
version = "0.10.1"

[dependencies.scylla]
version = "0.10.1"
optional = true

[dependencies.serde]
version = "1.0.188"
features = ["serde_derive"]

[dependencies.serde_json]
version = "1.0.107"

[dependencies.sibyl]
version = "0.6.16"
features = [
    "tokio",
    "nonblocking",
]
optional = true

[dependencies.sqlx]
version = "0.7.2"
features = [
    "runtime-tokio",
    "tls-native-tls",
    "all-databases",
]
optional = true

[dependencies.tokio]
version = "1.32.0"
features = ["full"]

[dependencies.trust-dns-resolver]
version = "0.23.0"
optional = true

[dependencies.url]
version = "2.4.1"
optional = true

[dependencies.vnc-rs]
version = "0.5.1"
optional = true

[dev-dependencies.tempfile]
version = "3.8.0"

[dev-dependencies.tokio-test]
version = "0.4.3"

[features]
amqp = []
default = [
    "http",
    "dns",
    "ssh",
    "mssql",
    "mqtt",
    "sql",
    "ftp",
    "smtp",
    "pop3",
    "imap",
    "telnet",
    "ldap",
    "kerberos",
    "vnc",
    "mongodb",
    "rdp",
    "stomp",
    "amqp",
    "redis",
    "scylla",
    "tcp_ports",
    "samba",
    "socks5",
]
dns = ["dep:trust-dns-resolver"]
ftp = ["dep:async_ftp"]
http = [
    "dep:url",
    "dep:reqwest",
    "dep:base64",
    "dep:ntlmclient",
]
imap = ["dep:async-imap"]
kerberos = [
    "dep:kerberos_crypto",
    "dep:kerberos_asn1",
    "dep:kerberos_constants",
]
ldap = ["dep:ldap3"]
mongodb = ["dep:mongodb"]
mqtt = ["dep:paho-mqtt"]
mssql = []
oracle = ["dep:sibyl"]
pop3 = ["dep:async-pop"]
rdp = ["dep:rdp-rs"]
redis = []
samba = ["dep:pavao"]
scylla = ["dep:scylla"]
smtp = ["dep:async-smtp"]
socks5 = ["dep:fast-socks5"]
sql = ["dep:sqlx"]
ssh = ["dep:async-ssh2-tokio"]
stomp = []
tcp_ports = []
telnet = ["dep:mini-telnet"]
vnc = ["dep:vnc-rs"]
