mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-19 16:45:28 +00:00
- Value decays by ln(seconds unused + 1) + 1 instead of halving every 30 s. - Each balance reads the process's resident memory (memory-stats, at most every 250 ms): over 95 % of the RAM left after the reserve the caches give way by what it is over; what they freed for it counts as freed; over all of it also protected preview frames go. - Frames a playing preview shows next go last and may keep the caches over the budget by a tenth of it (at most 1 GB). - Frames and plane sets go to the disk cache only when making them again costs more than reading them back (measured read rate, 10 ms per MB until measured). - At most 256 movie/audio files stay open (least recently used idle one closed).
50 lines
1.7 KiB
TOML
50 lines
1.7 KiB
TOML
[package]
|
|
name = "effectcraft-engine"
|
|
description = "The EffectCraft engine: session, undo history, editor state and the command registry every frontend (UI, CLI, control channel, MCP) dispatches through"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
craft-docpath = { workspace = true }
|
|
effectcraft-time = { workspace = true }
|
|
effectcraft-geom = { workspace = true }
|
|
effectcraft-color = { workspace = true }
|
|
effectcraft-keyframe = { workspace = true }
|
|
effectcraft-project = { workspace = true }
|
|
effectcraft-raster = { workspace = true }
|
|
effectcraft-path = { workspace = true }
|
|
effectcraft-text = { workspace = true }
|
|
effectcraft-effects = { workspace = true }
|
|
effectcraft-render = { workspace = true }
|
|
effectcraft-segment = { workspace = true }
|
|
effectcraft-track = { workspace = true }
|
|
effectcraft-model = { workspace = true }
|
|
effectcraft-lottie = { workspace = true }
|
|
effectcraft-interchange = { workspace = true }
|
|
effectcraft-psd = { workspace = true }
|
|
effectcraft-aep = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
effectcraft-svg = { workspace = true }
|
|
effectcraft-pdf = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
chrono = { workspace = true }
|
|
rayon = { workspace = true }
|
|
image = { workspace = true }
|
|
web-time = { workspace = true }
|
|
exr = { workspace = true }
|
|
|
|
# Native file identity and SAM 2 inference; browsers keep the built-in engines.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
memory-stats = { workspace = true }
|
|
same-file = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
effectcraft-sam2 = { workspace = true }
|