# 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.74.0" name = "socket-server-mocker" version = "0.5.0" authors = [ "Thomas Prévost", "Yuri Astrakhan @gmail.com", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Mock socket server in Rust, for testing various network clients." readme = "README.md" categories = [ "network-programming", "development-tools::testing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/thomasarmel/socket-server-mocker" [lib] name = "socket_server_mocker" path = "src/lib.rs" [[test]] name = "dns_mock" path = "tests/dns_mock.rs" [[test]] name = "http_reqwest_api_mock" path = "tests/http_reqwest_api_mock.rs" [[test]] name = "postgres_mock" path = "tests/postgres_mock.rs" [[test]] name = "simple_receiving_tcp_message" path = "tests/simple_receiving_tcp_message.rs" [[test]] name = "simple_sending_tcp_message" path = "tests/simple_sending_tcp_message.rs" [[test]] name = "simple_tcp" path = "tests/simple_tcp.rs" [[test]] name = "simple_udp" path = "tests/simple_udp.rs" [[test]] name = "smtp_mock" path = "tests/smtp_mock.rs" [dependencies.thiserror] version = "1.0.64" [dev-dependencies.lettre] version = "0.11.9" [dev-dependencies.postgres] version = "0.19.9" [dev-dependencies.reqwest] version = "0.12.7" features = ["blocking"] [dev-dependencies.trust-dns-client] version = "0.23.2" [lints.clippy] missing_errors_doc = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" string_lit_as_bytes = "warn" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" unreachable_pub = "warn" unsafe_code = "forbid" unused_extern_crates = "warn" unused_import_braces = "warn" unused_must_use = "warn"