content: [package]
  authors = ["Matthew Meyer <mtthw.meyer@gmail.com>"]
  edition = "2018"
  description = "Hardware Abstraction Layer implementation for Daisy boards"
  keywords = ["cortex-m", "stm32h7xx", "stm32h750", "hal", "daisy"]
  readme = "README.md"
  name = "libdaisy"
  version = "0.1.0"
  license = "MIT"
  repository = "https://github.com/mtthw-meyer/libdaisy-rust.git"
  documentation = "https://docs.rs/libdaisy"
  exclude = [".gitignore"]
  
  [dependencies]
  cfg-if = "1.0"
  cortex-m-rtic = "1.0.0"
  cortex-m = "^0.7"
  debouncr = "0.2.2"
  log = "0.4.11"
  micromath = "2.1.0"
  panic-halt = "0.2.0"
  stm32h7xx-hal = { version = "0.16.0", features = ["stm32h750v","rt","fmc", "xspi", "sdmmc", "sdmmc-fatfs", "usb_hs"] }
  stm32-fmc = "0.3.0"
  rtt-target = { version = "0.5.0", optional = true }
  panic-rtt-target = { version = "0.1.3", optional = true }
  lazy_static = { version = "1.4.0", features = ["spin_no_std"], optional = true  }
  cortex-m-log = { version = "~0.8", features = ["itm", "semihosting", "log-integration"], optional = true  }
  panic-itm = { version = "~0.4.2", optional = true  }
  panic-semihosting = { version = "0.6.0", optional = true  }
  cortex-m-semihosting = { version = "0.5.0", optional = true  }
  stable_deref_trait = { version = "1.2.0", default-features = false }
  
  [features]
  default = []
  
  log-rtt = ["rtt-target", "panic-rtt-target"]
  log-itm = ["panic-itm", "lazy_static", "cortex-m-log"]
  log-semihosting = ["panic-semihosting", "lazy_static", "cortex-m-log", "cortex-m-semihosting"]
  log-none = []
  
  # this lets you use `cargo fix`!
  #[[bin]]
  #name = "libdaisy-rust"
  #test = false
  #bench = false
  
  [profile.dev]
  codegen-units = 1 # better optimizations
  debug = true # symbols are nice and they don't increase the size in flash
  incremental = false
  opt-level = "s" # optimize for binary size
  
  [profile.release]
  codegen-units = 1 # better optimizations
  debug = true # symbols are nice and they don't increase the size in flash
  lto = true # better optimizations
  opt-level = "s" # optimize for binary size
  
  [dev-dependencies]
  embedded-sdmmc = "0.5.0"
  usbd-midi = "0.3.0"
  num_enum = { version = "0.7.3", default-features = false }
  usb-device = "0.3.0"
  