cares-sys 0.0.1

Threadless static CMake build and modern FFI bindings for c-ares
# 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 = "2024"
name = "cares-sys"
version = "0.0.1"
build = "build.rs"
links = "cares"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Threadless static CMake build and modern FFI bindings for c-ares"
readme = "README.md"
license = "MIT"
repository = "https://github.com/trunkszi/cares-rs"

[features]
default = ["pre-release"]
pre-release = []
stable = []

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

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

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

[dependencies.libc]
version = "0.2"

[build-dependencies.cc]
version = "1"

[build-dependencies.cmake]
version = "0.1"

[lints.clippy]
clone_on_copy = "deny"
cloned_instead_of_copied = "deny"
expect_used = "deny"
expl_impl_clone_on_copy = "deny"
implicit_clone = "deny"
inefficient_to_string = "deny"
let_underscore_must_use = "deny"
manual_string_new = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
missing_safety_doc = "deny"
non_canonical_clone_impl = "deny"
redundant_clone = "deny"
to_string_in_format_args = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_to_owned = "deny"
unwrap_used = "deny"
useless_asref = "deny"
useless_conversion = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"