Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = "rustybits"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [lib]
  6. crate-type = ["staticlib", "rlib"]
  7. [features]
  8. default = ["zeroidc"]
  9. zeroidc = []
  10. ztcontroller = [
  11. "dep:serde",
  12. "dep:serde_json",
  13. "dep:temporal-sdk",
  14. "dep:temporal-client",
  15. "dep:temporal-sdk-core-protos",
  16. "dep:tokio",
  17. "dep:tokio-util",
  18. ]
  19. [dependencies]
  20. serde = { version = "1", features = ["derive"], optional = true }
  21. serde_json = { version = "1", optional = true }
  22. temporal-sdk = { git = "https://github.com/temporalio/sdk-core", branch = "master", optional = true }
  23. temporal-client = { git = "https://github.com/temporalio/sdk-core", branch = "master", optional = true, features = [
  24. "telemetry",
  25. ] }
  26. temporal-sdk-core-protos = { git = "https://github.com/temporalio/sdk-core", branch = "master", optional = true }
  27. tokio = { version = "1.43", features = [
  28. "full",
  29. "rt",
  30. "macros",
  31. ], optional = true }
  32. tokio-util = { version = "0.7", optional = true }
  33. uuid = { version = "1.4", features = ["v4"] }
  34. openidconnect = { version = "3.4", default-features = false, features = [
  35. "reqwest",
  36. "native-tls",
  37. "accept-rfc3339-timestamps",
  38. ] }
  39. base64 = "0.21"
  40. url = "2.3"
  41. reqwest = "0.11"
  42. jwt = { version = "0.16", git = "https://github.com/glimberg/rust-jwt" }
  43. time = { version = "~0.3", features = ["formatting"] }
  44. bytes = "1.3"
  45. thiserror = "1"
  46. [dev-dependencies]
  47. testcontainers = { version = "0.24", features = ["blocking"] }
  48. testcontainers-modules = { version = "0.12.1", features = [
  49. "google_cloud_sdk_emulators",
  50. ] }
  51. [build-dependencies]
  52. cbindgen = "0.29"
  53. prost-build = "0.14"
  54. [profile.release]
  55. strip = "debuginfo"