libafl_cc 0.16.0

Commodity library to wrap compilers and link LibAFL
Documentation
# 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"
rust-version = "1.93.1"
name = "libafl_cc"
version = "0.16.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Commodity library to wrap compilers and link LibAFL"
documentation = "https://docs.rs/libafl_cc"
readme = "README.md"
keywords = [
    "fuzzing",
    "testing",
    "compiler",
]
categories = [
    "development-tools::testing",
    "emulators",
    "embedded",
    "os",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AFLplusplus/LibAFL/"
resolver = "2"

[features]
autotokens = []
cmplog-instructions = []
cmplog-routines = []
coverage-accounting = []
ctx = []
default = [
    "function-logging",
    "cmplog-routines",
    "autotokens",
    "coverage-accounting",
    "cmplog-instructions",
    "ctx",
    "dump-cfg",
]
dump-cfg = []
function-logging = []

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

[dependencies.serde]
version = "1.0.229"
features = [
    "alloc",
    "derive",
]
default-features = false

[build-dependencies.cc]
version = "1.4.0"
features = ["parallel"]

[build-dependencies.libafl_build]
version = "0.16.0"
default-features = false

[build-dependencies.which]
version = "8.0.5"

[target.'cfg(target_vendor = "apple")'.build-dependencies.glob]
version = "0.3.4"

[lints.clippy]
alloc_instead_of_core = "deny"
cargo_common_metadata = "deny"
cast_possible_truncation = "allow"
comparison_chain = "allow"
extra_unused_lifetimes = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
negative_feature_names = "allow"
ptr_as_ptr = "allow"
similar_names = "allow"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
struct_field_names = "allow"
too_many_lines = "allow"
type_repetition_in_bounds = "allow"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
used_underscore_binding = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
incomplete_features = "allow"
unexpected_cfgs = "forbid"

[lints.rust.warnings]
level = "deny"
priority = -1

[lints.rustdoc]
broken_intra_doc_links = "deny"