[package]
edition = "2021"
rust-version = "1.88"
name = "telepath-server"
version = "0.2.0"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Target-side Telepath RPC server library (no_std)"
readme = "README.md"
keywords = [
"embedded",
"rpc",
"no-std",
"nrf52",
"cortex-m",
]
categories = [
"embedded",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tarotene/telepath"
resolver = "3"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
profile = [
"dep:cortex-m",
"dep:portable-atomic",
"telepath-wire/profile",
]
[lib]
name = "telepath_server"
path = "src/lib.rs"
[[test]]
name = "cpu_commands_contract"
path = "tests/cpu_commands_contract.rs"
[[test]]
name = "discovery_paging"
path = "tests/discovery_paging.rs"
[[test]]
name = "discovery_smoke"
path = "tests/discovery_smoke.rs"
[[test]]
name = "macro_smoke"
path = "tests/macro_smoke.rs"
[[test]]
name = "nrf52840_sensors_contract"
path = "tests/nrf52840_sensors_contract.rs"
[[test]]
name = "registry_smoke"
path = "tests/registry_smoke.rs"
[[test]]
name = "resource_smoke"
path = "tests/resource_smoke.rs"
[dependencies.cortex-m]
version = "0.7"
optional = true
[dependencies.linkme]
version = "0.3"
default-features = false
[dependencies.portable-atomic]
version = "1"
optional = true
default-features = false
[dependencies.postcard]
version = "1"
default-features = false
[dependencies.postcard-schema]
version = "0.2"
features = [
"derive",
"heapless-v0_9",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false
[dependencies.telepath-macros]
version = "0.2"
[dependencies.telepath-wire]
version = "0.2"
default-features = false
[dev-dependencies.heapless]
version = "0.9"
features = ["serde"]
default-features = false