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

Cargo.toml 1.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [package]
  2. name = "dora-node-api-cxx"
  3. version.workspace = true
  4. edition = "2021"
  5. documentation.workspace = true
  6. description.workspace = true
  7. license.workspace = true
  8. repository.workspace = true
  9. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  10. [lib]
  11. crate-type = ["staticlib"]
  12. [features]
  13. default = ["tracing"]
  14. tracing = ["dora-node-api/tracing"]
  15. ros2-bridge = [
  16. "dep:dora-ros2-bridge",
  17. "dep:dora-ros2-bridge-msg-gen",
  18. "dep:rust-format",
  19. "dep:prettyplease",
  20. "dep:serde",
  21. "dep:serde-big-array",
  22. ]
  23. [dependencies]
  24. cxx = "1.0.73"
  25. dora-node-api = { workspace = true }
  26. eyre = "0.6.8"
  27. dora-ros2-bridge = { workspace = true, optional = true }
  28. futures-lite = { version = "2.2" }
  29. serde = { version = "1.0.164", features = ["derive"], optional = true }
  30. serde-big-array = { version = "0.5.1", optional = true }
  31. [build-dependencies]
  32. cxx-build = "1.0.73"
  33. dora-ros2-bridge-msg-gen = { workspace = true, optional = true }
  34. rust-format = { version = "0.3.4", features = [
  35. "pretty_please",
  36. ], optional = true }
  37. prettyplease = { version = "0.1", features = ["verbatim"], optional = true }