[[bench]]
name = "roundtrip"
path = "benches/roundtrip.rs"
[dependencies.jevmalloc-sys]
default-features = false
version = "0.0.0"
[dependencies.libc]
default-features = false
version = "0.2"
[dependencies.paste]
version = "1"
[features]
cache_oblivious = ["jevmalloc-sys/cache_oblivious"]
check_safety = ["jevmalloc-sys/check_safety"]
check_size_match = ["jevmalloc-sys/check_size_match"]
check_use_after_free = ["fill", "jevmalloc-sys/check_use_after_free"]
default = ["cache_oblivious", "initial_exec_tls", "unprefixed_malloc_on_supported_platforms"]
fill = ["jevmalloc-sys/fill"]
global_hooks = []
initial_exec_tls = ["jevmalloc-sys/initial_exec_tls"]
paranoid = ["check_safety", "check_size_match", "check_use_after_free", "jevmalloc-sys/paranoid"]
profiling = ["jevmalloc-sys/profiling"]
stats = ["jevmalloc-sys/stats"]
unprefixed_malloc_on_supported_platforms = ["jevmalloc-sys/unprefixed_malloc_on_supported_platforms"]
[lib]
bench = false
name = "jevmalloc"
path = "src/lib.rs"
test = false
[lints.clippy]
arithmetic_side_effects = "allow"
as_conversions = "allow"
as_underscore = "warn"
assertions_on_result_states = "warn"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
collection_is_never_read = "allow"
dbg_macro = "warn"
default_union_representation = "allow"
deref_by_slicing = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
filetype_is_file = "warn"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "allow"
fn_to_numeric_cast_array = "allow"
format_push_string = "warn"
get_unwrap = "warn"
impl_trait_in_params = "warn"
implicit_clone = "warn"
let_underscore_untyped = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"
missing_assert_message = "allow"
mutex_atomic = "warn"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "allow"
redundant_type_annotations = "warn"
renamed_and_removed_lints = "allow"
semicolon_outside_block = "warn"
should_panic_without_expect = "allow"
str_to_string = "warn"
string_lit_chars_any = "warn"
string_slice = "allow"
suspicious_xor_used_as_pow = "warn"
tabs_in_doc_comments = "allow"
tests_outside_test_module = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "allow"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
unreadable_literal = "allow"
unseparated_literal_suffix = "warn"
verbose_file_reads = "warn"
[lints.clippy.assertions_on_constants]
level = "allow"
priority = 1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.collapsible_if]
level = "allow"
priority = 1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.default_trait_access]
level = "allow"
priority = 1
[lints.clippy.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.enum_glob_use]
level = "allow"
priority = 1
[lints.clippy.if_not_else]
level = "allow"
priority = 1
[lints.clippy.if_then_some_else_none]
level = "allow"
priority = 1
[lints.clippy.inline_always]
level = "allow"
priority = 1
[lints.clippy.let_underscore_future]
level = "allow"
priority = 1
[lints.clippy.literal_string_with_formatting_args]
level = "allow"
priority = 1
[lints.clippy.map_unwrap_or]
level = "allow"
priority = 1
[lints.clippy.match_bool]
level = "allow"
priority = 1
[lints.clippy.match_same_arms]
level = "allow"
priority = 1
[lints.clippy.missing_const_for_fn]
level = "allow"
priority = 1
[lints.clippy.missing_docs_in_private_items]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_inception]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.clippy.needless_continue]
level = "allow"
priority = 1
[lints.clippy.needless_update]
level = "allow"
priority = 1
[lints.clippy.no_effect_underscore_binding]
level = "allow"
priority = 1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.obfuscated_if_else]
level = "allow"
priority = 1
[lints.clippy.option_if_let_else]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 1
[lints.clippy.significant_drop_in_scrutinee]
level = "allow"
priority = 1
[lints.clippy.significant_drop_tightening]
level = "allow"
priority = 1
[lints.clippy.similar_names]
level = "allow"
priority = 1
[lints.clippy.single_match_else]
level = "allow"
priority = 1
[lints.clippy.struct_excessive_bools]
level = "allow"
priority = 1
[lints.clippy.struct_field_names]
level = "allow"
priority = 1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.clippy.too_long_first_doc_paragraph]
level = "allow"
priority = 1
[lints.clippy.tuple_array_conversions]
level = "allow"
priority = 1
[lints.clippy.unnecessary_wraps]
level = "allow"
priority = 1
[lints.clippy.unused_async]
level = "allow"
priority = 1
[lints.rust]
absolute-paths-not-starting-with-crate = "warn"
deprecated-in-future = "warn"
elided-lifetimes-in-paths = "warn"
elided_named_lifetimes = "allow"
explicit-outlives-requirements = "warn"
ffi-unwind-calls = "warn"
keyword-idents = "warn"
let_underscore_drop = "allow"
macro-use-extern-crate = "warn"
meta-variable-misuse = "warn"
mismatched_lifetime_syntaxes = "allow"
missing-abi = "warn"
missing_docs = "allow"
non-ascii-idents = "warn"
renamed_and_removed_lints = "allow"
rust-2021-incompatible-closure-captures = "warn"
rust-2021-incompatible-or-patterns = "warn"
rust-2021-prefixes-incompatible-syntax = "warn"
rust-2021-prelude-collisions = "warn"
single-use-lifetimes = "warn"
trivial-casts = "warn"
trivial-numeric-casts = "allow"
unexpected_cfgs = "allow"
unit-bindings = "warn"
unknown_lints = "allow"
unreachable-pub = "warn"
unsafe-op-in-unsafe-fn = "warn"
unsafe_code = "allow"
unstable-features = "warn"
unstable_name_collisions = "allow"
unused-extern-crates = "warn"
unused-import-braces = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused-qualifications = "warn"
unused_braces = "allow"
unused_crate_dependencies = "allow"
variant_size_differences = "allow"
[package]
authors = ["Jason Volk <jason@zemos.net>", "June August <june@girlboss.ceo>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["memory-management", "api-bindings"]
description = "Rust allocator wrapping jemalloc."
documentation = "https://matrix-construct.github.io/jemallocator"
edition = "2024"
homepage = "https://github.com/matrix-construct/jemallocator"
keywords = ["allocator", "jemalloc"]
license = "MIT/Apache-2.0"
name = "jevmalloc"
readme = "README.md"
repository = "https://github.com/matrix-construct/jemallocator"
version = "0.0.0+5.3.0-1-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c"
[[test]]
name = "ffi"
path = "tests/ffi.rs"
required-features = ["stats"]
[[test]]
name = "malloctl"
path = "tests/malloctl.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "smoke_ffi"
path = "tests/smoke_ffi.rs"
[[test]]
name = "usable_size"
path = "tests/usable_size.rs"