2025-02-20 05:27:18 +00:00
|
|
|
[package]
|
2025-09-18 13:25:51 +00:00
|
|
|
name = "bao1x-api"
|
2025-02-20 05:27:18 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
2026-01-29 20:22:33 +00:00
|
|
|
description = "Baochip-1x API Crate"
|
|
|
|
|
license = "Apache-2.0"
|
2025-02-20 05:27:18 +00:00
|
|
|
|
2026-01-29 20:26:15 +00:00
|
|
|
# Maintainer's note: changes to things like the size of the signature field or
|
|
|
|
|
# offsets in memory will require a version bump and publish to crates.io, so that
|
|
|
|
|
# it can be picked up by the xous-tools package, which is also published to
|
|
|
|
|
# crates.io.
|
|
|
|
|
|
2025-02-20 05:27:18 +00:00
|
|
|
[dependencies]
|
2026-01-29 11:12:00 +00:00
|
|
|
xous = "0.9.70"
|
|
|
|
|
xous-ipc = { version = "0.10.10", optional = true }
|
|
|
|
|
xous-names = { package = "xous-api-names", version = "0.9.71", optional = true }
|
2025-02-20 05:27:18 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
|
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
|
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
|
|
|
|
], optional = true }
|
2025-10-05 19:49:11 +00:00
|
|
|
bytemuck = { version = "1.24", features = ["derive"] }
|
2025-09-29 05:40:14 +00:00
|
|
|
bitbybit = "1.4.0"
|
2025-10-19 18:07:19 +00:00
|
|
|
arbitrary-int = "1.2"
|
2026-01-22 11:42:51 +00:00
|
|
|
num_enum = { version = "0.5", default-features = false }
|
2025-02-20 05:27:18 +00:00
|
|
|
|
|
|
|
|
[features]
|
2026-02-04 07:57:09 +00:00
|
|
|
# testing flag that causes the PDDB to be small
|
|
|
|
|
key-testing = []
|
|
|
|
|
|
2025-02-20 05:27:18 +00:00
|
|
|
std = ["derive-rkyv", "xous-names", "xous-ipc"]
|
|
|
|
|
derive-rkyv = ["rkyv"]
|
2025-10-28 09:57:33 +00:00
|
|
|
bio = []
|
2025-02-20 05:27:18 +00:00
|
|
|
default = []
|