Files
LACT/Cargo.toml
Ilya Zlobintsev 64a2d3106b feat: automatic profile switching based on rules (#424)
* feat: profile ordering

* feat: profile matching logic

* feat: automatic switching

* perf: optimize profile rules evaluation

* feat: detect gamemode process start

* feat: add benchmark for profiles matching

* perf: string interner, inline hot function

* feat: option to enable auto profile switching

* wip

* chore: change label

* chore: minor profile switching fixes

* chore: drop interner

* wip

* refactor: header messages

* feat: delay profile evaluation

* fix: moving profiles around

* feat: initial profile rule editor UI

* refactor: only create one RuleWindow instead of creating it per-row

* feat: add option to include profile watcher state in api response

* feat: ui for selecting process name

* feat: API endpoint to evaluate a single profile rule

* perf: store process names in a map to speed up profile evaluation

* feat: full configurability in the UI, many improvements

* fix: downgrade dependency to build on older rust

* fix: deleting currently active profile

* fix: populate profiles list when it's empty

* fix: pin project to rust 1.78

* fix: setting args

* fix: running benchmarks
2024-12-25 23:52:35 +02:00

48 lines
1.0 KiB
TOML

[workspace]
resolver = "2"
members = [
"lact",
"lact-cli",
"lact-gui",
"lact-schema",
"lact-client",
"lact-daemon",
]
[workspace.dependencies]
amdgpu-sysfs = { version = "0.17.3", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_with = { version = "3.5.0", default-features = false, features = [
"macros",
] }
serde_json = "1.0.111"
anyhow = "1.0.79"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
futures = { version = "0.3.30", default-features = false }
tokio = { version = "1.35.1", default-features = false }
nix = { version = "0.29.0", default-features = false }
chrono = "0.4.31"
indexmap = { version = "2.5.0", features = ["serde"] }
pretty_assertions = "1.4.0"
divan = "0.1"
[profile.release]
strip = "symbols"
codegen-units = 1
opt-level = "s"
lto = true
[profile.release.package.cairo-rs]
opt-level = 3
[profile.release.package.plotters-cairo]
opt-level = 3
[profile.release.package.plotters]
opt-level = 3
[profile.bench]
strip = false
debug = 1