content: [package]
  name = "rktk-rrp"
  description = "rrp - RKTK Remote Protocol"
  authors.workspace = true
  license.workspace = true
  version.workspace = true
  edition.workspace = true
  repository.workspace = true
  
  [package.metadata.docs.rs]
  all-features = true
  
  [dependencies]
  futures = { workspace = true }
  kmsm = { workspace = true, features = ["postcard"] }
  postcard = { workspace = true, features = ["experimental-derive"] }
  
  serde = { workspace = true, features = ["derive"] }
  serde_with = { workspace = true }
  macro_rules_attribute = { workspace = true }
  thiserror = { workspace = true }
  
  # server deps
  heapless = { workspace = true, optional = true }
  embedded-io-async = { workspace = true, optional = true }
  
  # client deps
  wasm-bindgen = { workspace = true, optional = true }
  
  [dev-dependencies]
  tokio = { workspace = true, features = ["io-std", "io-util", "macros", "rt"] }
  
  [features]
  default = []
  
  server = ["dep:heapless", "dep:embedded-io-async"]
  client = ["std"]
  
  std = ["postcard/use-std", "futures/std"]
  
  _check = ["server", "client"]
  