# mimirs-forget - Anti-forgetting engine with Rank-1 Fisher EWC
# Implements Wang et al. 2509.23593 rank-1 Fisher consolidation and generative distillation replay.
# Justified boundary: Isolates continual learning algorithms from storage and orchestration.

[package]
name = "mimirs-forget"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Anti-forgetting engine using Rank-1 Fisher EWC and generative distillation replay"
keywords.workspace = true
categories.workspace = true

[dependencies]
mimirs-core = { path = "../mimirs-core", version = "0.1.0" }

# Async runtime
tokio = { workspace = true }
async-trait = { workspace = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }

# Utilities
uuid = { workspace = true }
chrono = { workspace = true }
thiserror = { workspace = true }
derive_builder = { workspace = true }

# Machine learning for gradient calculations (candle)
candle-core = "0.8"
candle-nn = "0.8"
nalgebra = { workspace = true }

# Numerical computing
ndarray = "0.16"
ndarray-npy = "0.8"
statrs = "0.17"

[dev-dependencies]
pretty_assertions = "1.4"
approx = "0.5"