rust称重到mqtt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
539B

  1. [package]
  2. name = "weight_reader"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [dependencies]
  6. serialport = "4.2.2"
  7. anyhow = "1.0"
  8. rumqttc = "0.23"
  9. serde = { version = "1.0", features = ["derive"] }
  10. serde_json = "1.0"
  11. actix-web = "4.4"
  12. actix-cors = "0.6"
  13. tokio = { version = "1.0", features = ["full"] }
  14. reqwest = { version = "0.11", features = ["blocking", "json"] }
  15. [profile.release]
  16. opt-level = 3
  17. lto = true
  18. codegen-units = 1
  19. panic = 'abort'
  20. strip = true
  21. [target.'cfg(windows)'.dependencies]
  22. winapi = { version = "0.3", features = ["winbase"] }