# 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 = "slinger" version = "0.1.14" authors = ["Kali-Team "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An HTTP Client for Rust designed for hackers." homepage = "https://github.com/emo-crab/slinger" readme = "README.md" license = "GPL-3.0-only" repository = "https://github.com/emo-crab/slinger" [profile.bench] opt-level = 3 lto = true codegen-units = 1 [profile.dev.package."*"] opt-level = 3 [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [profile.test] opt-level = 3 lto = "thin" [lib] name = "slinger" path = "src/lib.rs" [[example]] name = "base" path = "examples/base.rs" [[example]] name = "certificate" path = "examples/certificate.rs" [[example]] name = "cookies" path = "examples/cookies.rs" [[example]] name = "cve-2019-5418" path = "examples/cve-2019-5418.rs" [[example]] name = "http_record" path = "examples/http_record.rs" [[example]] name = "http_to_command" path = "examples/http_to_command.rs" [[example]] name = "proxy" path = "examples/proxy.rs" [[example]] name = "redirect" path = "examples/redirect.rs" [[example]] name = "request_budiler" path = "examples/request_budiler.rs" [[example]] name = "smuggling" path = "examples/smuggling.rs" [[example]] name = "tcp_socket" path = "examples/tcp_socket.rs" [[example]] name = "tls" path = "examples/tls.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1.6.1" [dependencies.cookie] version = "0.18.1" optional = true [dependencies.encoding_rs] version = "0.8" optional = true [dependencies.flate2] version = "1.0" optional = true [dependencies.http] version = "1.1.0" [dependencies.http-serde] version = "2.1.0" optional = true [dependencies.mime] version = "0.3.17" optional = true [dependencies.native-tls] version = "0.2.11" features = ["vendored"] optional = true [dependencies.openssl] version = "0.10" features = ["vendored"] optional = true [dependencies.percent-encoding] version = "2.1" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.socket2] version = "0.5.5" [dependencies.thiserror] version = "1" [features] charset = [ "dep:encoding_rs", "dep:mime", ] cookie = ["dep:cookie"] default = [] gzip = ["flate2"] serde = [ "dep:serde", "http-serde", ] tls = [ "native-tls", "openssl", ]