mnemosyne-memory 0.9.0

Concurrent user-space memory allocator facade
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.95"
name = "mnemosyne-memory"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Concurrent user-space memory allocator facade"
homepage = "https://github.com/ryancinsight/mnemosyne"
readme = "README.md"
keywords = [
    "allocator",
    "malloc",
    "memory",
    "no-std",
    "performance",
]
categories = [
    "memory-management",
    "no-std",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ryancinsight/mnemosyne"

[features]
branded = ["dep:mnemosyne-heap"]
bytemuck = ["mnemosyne-arena/bytemuck"]
default = [
    "mnemosyne-memory",
    "std_tls",
]
eunomia = [
    "dep:eunomia",
    "mnemosyne-arena/eunomia",
]
mnemosyne-memory = ["branded"]
nightly_tls = [
    "mnemosyne-local/nightly_tls",
    "mnemosyne-prof/nightly_tls",
]
segment-header-guards = ["mnemosyne-arena/segment-header-guards"]
segment-tail-guards = ["mnemosyne-arena/segment-tail-guards"]
std_tls = [
    "mnemosyne-local/std_tls",
    "mnemosyne-prof/std_tls",
]

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

[[example]]
name = "book_alloc_policies"
path = "examples/book_alloc_policies.rs"

[[example]]
name = "book_scratch_pool"
path = "examples/book_scratch_pool.rs"

[[example]]
name = "book_size_classes"
path = "examples/book_size_classes.rs"

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

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

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

[dependencies.eunomia]
version = "0.9.0"
optional = true
default-features = false

[dependencies.mnemosyne-arena]
version = "0.6.0"

[dependencies.mnemosyne-backend]
version = "0.6.0"

[dependencies.mnemosyne-core]
version = "0.3.0"
package = "mnemosyne-memory-core"

[dependencies.mnemosyne-decay]
version = "0.3.2"

[dependencies.mnemosyne-heap]
version = "0.6.0"
optional = true

[dependencies.mnemosyne-local]
version = "0.6.0"

[dependencies.mnemosyne-prof]
version = "0.2.1"

[lints.clippy]
allow_attributes = "deny"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
explicit_into_iter_loop = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
manual_assert_eq = "allow"
manual_let_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
ref_as_ptr = "allow"
semicolon_if_nothing_returned = "allow"
single_match_else = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "deny"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(loom)",
    "cfg(fuzzing)",
]