feat(power): Power1 стаб + dev-mock fake-ACC (feature dev-mocks)
PowerService (Power1, стаб running) + PowerMock (dev.PowerMock1, разделяет State через Arc<Mutex>). dev-mocks — default-фича; прод (--no-default-features) mock не регистрирует. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Alexander <akotenev2003@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[package]
|
||||
name = "shturman-power"
|
||||
version = "0.0.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[features]
|
||||
# dev-mocks — вкл. в dev (fake-ACC для тестов/v0.3); прод выключает `--no-default-features`.
|
||||
default = ["dev-mocks"]
|
||||
dev-mocks = []
|
||||
|
||||
[dependencies]
|
||||
shturman-ipc = { path = "../../shturman-ipc" }
|
||||
shturman-common = { path = "../../shturman-common" }
|
||||
zbus.workspace = true
|
||||
tokio.workspace = true
|
||||
anyhow.workspace = true
|
||||
tracing.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile.workspace = true
|
||||
shturman-sdk = { path = "../../shturman-sdk" }
|
||||
Reference in New Issue
Block a user