content: [package]
  name = "portal-model"
  version = "0.1.0"
  edition = "2021"
  license = "GPL-3.0-or-later"
  
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  
  [dependencies]
  minicbor = { version = "0.24.1", default-features = false, features = ["derive", "alloc"] }
  modular-bitfield = "0.11.2"
  bitcoin = { version = "0.32", default-features = false, features = ["serde", "secp-recovery", "secp-lowmemory"] }
  bip39 = { version = "2.0", default-features = false }
  noise-protocol = { version = "0.2.0", default-features = false, features = ["use_alloc"] }
  noise-rust-crypto = { version = "0.6.2", default-features = false, features = ["use-aes-256-gcm"] }
  aes-gcm = { version = "0.10.3", default-features = false, features = ["aes", "alloc"] }
  log = "0.4"
  
  serde = { version = "1.0", default-features = false, features = ["alloc", "derive"], optional = true }
  serde_json = { version = "1.0", default-features = false, features = ["alloc"], optional = true }
  
  [features]
  stm32 = []
  emulator = ["serde_json", "serde"]
  emulator-std = ["emulator", "minicbor/std"]
  