暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Cargo.toml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "base-station"
  3. version = "0.1.0"
  4. authors = ["Mathias Gottschlag <mgottschlag@gmail.com>"]
  5. edition = "2018"
  6. [features]
  7. default = []
  8. rpi4 = [ "sysfs_gpio", "gpio-cdev" ]
  9. nanopineo = [ "sysfs_gpio", "gpio-cdev" ]
  10. nrf24l01-stick = [ "nrf24l01-stick-driver" ]
  11. [dependencies]
  12. linux-embedded-hal = "0.3"
  13. embedded-nrf24l01 = { git = "https://github.com/mgottschlag/embedded-nrf24l01", branch = "wip" }
  14. embedded-hal = "0.2.3"
  15. mqtt-protocol = "0.11"
  16. env_logger = "0.9"
  17. log = "0.4.14"
  18. thiserror = "1.0"
  19. protocol = { path = "../../common/rust-protocol" }
  20. rand = "0.8.4"
  21. tokio = { version = "1.10.1", features = [ "full" ] }
  22. sysfs_gpio = { version = "0.5.4", features = [ "use_tokio" ], optional = true }
  23. futures = "0.3.16"
  24. futures-util = "0.3.16"
  25. gpio-cdev = { version = "0.4", features = [ "async-tokio" ], optional = true }
  26. chrono = "0.4.19"
  27. nrf24l01-stick-driver = { git = "https://github.com/mgottschlag/nrf24l01-stick", optional = true }
  28. influxdb = { version = "0.4", features = [ "derive" ] }
  29. serde = { version = "1.0.129", features = ["derive"] }
  30. toml = "0.5.8"
  31. structopt = "0.3"
  32. [patch.crates-io]
  33. sysfs_gpio = { git = "https://github.com/mgottschlag/rust-sysfs-gpio", branch = "new-futures" }