2021-04-26 16:38:51 +00:00
|
|
|
[package]
|
2022-10-02 16:24:45 +00:00
|
|
|
name = "xous-susres"
|
2023-03-21 18:48:55 +00:00
|
|
|
version = "0.1.36"
|
2021-04-26 16:38:51 +00:00
|
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
|
|
|
edition = "2018"
|
2022-10-02 18:16:06 +00:00
|
|
|
description = "Manager of suspend/resume operations implementation"
|
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
repository = "https://github.com/betrusted-io/xous-core/"
|
|
|
|
|
homepage = "https://betrusted.io/xous-book/"
|
2021-04-26 16:38:51 +00:00
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2021-04-26 16:38:51 +00:00
|
|
|
[dependencies]
|
2026-01-28 07:03:40 +00:00
|
|
|
xous-api-susres = { path = "../../api/xous-api-susres" }
|
2026-01-29 11:12:00 +00:00
|
|
|
xous-names = { package = "xous-api-names", version = "0.9.71" }
|
|
|
|
|
log-server = { package = "xous-api-log", version = "0.1.69" }
|
|
|
|
|
xous = "0.9.70"
|
|
|
|
|
xous-ipc = "0.10.10"
|
2022-01-10 07:39:55 +00:00
|
|
|
log = "0.4.14"
|
2025-05-11 04:29:55 +00:00
|
|
|
precursor-hal = { path = "../../libs/precursor-hal" }
|
2021-04-26 16:38:51 +00:00
|
|
|
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-01-14 16:14:39 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2024-09-22 06:18:49 +00:00
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
2024-01-14 16:14:39 +00:00
|
|
|
] }
|
2021-04-26 16:38:51 +00:00
|
|
|
|
|
|
|
|
|
2026-01-29 11:12:00 +00:00
|
|
|
utralib = { version = "0.1.27", optional = true, default-features = false }
|
2021-04-26 16:38:51 +00:00
|
|
|
|
2024-05-17 16:10:29 +00:00
|
|
|
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
|
|
|
|
loader = { path = "../../loader", default-features = false }
|
|
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "arm")'.dependencies]
|
|
|
|
|
loader = { path = "../../loader", default-features = false }
|
|
|
|
|
|
2021-04-26 16:38:51 +00:00
|
|
|
[features]
|
2022-10-25 11:29:02 +00:00
|
|
|
precursor = ["utralib/precursor"]
|
2022-10-01 18:20:03 +00:00
|
|
|
hosted = ["utralib/hosted"]
|
2022-10-25 11:29:02 +00:00
|
|
|
renode = ["utralib/renode"]
|
2024-05-14 18:39:06 +00:00
|
|
|
swap = ["loader/swap", "loader/resume"]
|
2024-01-14 16:14:39 +00:00
|
|
|
sus_reboot = [
|
|
|
|
|
] # when selected, suspend triggers an immediate reboot instead of suspend. For testing only.
|
2021-04-29 08:37:43 +00:00
|
|
|
debugprint = []
|
2021-04-30 15:28:31 +00:00
|
|
|
default = []
|