23 行
492 B
TOML
23 行
492 B
TOML
|
|
[package]
|
||
|
|
name = "desktop-protocol"
|
||
|
|
version.workspace = true
|
||
|
|
edition.workspace = true
|
||
|
|
rust-version.workspace = true
|
||
|
|
license.workspace = true
|
||
|
|
publish = false
|
||
|
|
description = "Canonical AstrBot Desktop Gateway protocol types"
|
||
|
|
|
||
|
|
[features]
|
||
|
|
default = ["schema"]
|
||
|
|
schema = ["dep:schemars"]
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
schemars = { workspace = true, optional = true }
|
||
|
|
serde.workspace = true
|
||
|
|
serde_json.workspace = true
|
||
|
|
thiserror.workspace = true
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "export_schemas"
|
||
|
|
required-features = ["schema"]
|