[package]
license = "MIT"
name = "runmat-gc"
version = "0.4.4"
edition = "2021"
description = "Generational garbage collector for RunMat with optional pointer compression"
authors = ["Dystr Team"]
license-file = "LICENSE"
homepage = "https://runmat.com"
repository = "https://github.com/runmat-org/runmat"

[dependencies]
runmat-gc-api = { workspace = true }
runmat-builtins = { workspace = true }
runmat-time = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
runmat-accelerate-api = { workspace = true }
parking_lot = "0.12"
num-traits = "0.2"
once_cell = "1.19"
num_cpus = "1.16"
page_size = "0.6"
serde = { version = "1.0", features = ["derive"] }

[features]
default = []
# Enable pointer compression (32-bit pointers on 64-bit platforms)
pointer-compression = []
# Enable extensive GC debugging and validation
debug-gc = []
# Enable GC performance profiling
profile-gc = []

# Benchmarks are optional
# [[bench]]
# name = "gc_bench"
# harness = false
