Cargo.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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", "ztcontroller"]
  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:gcloud-pubsub",
  17. "dep:prost",
  18. "dep:prost-types",
  19. "dep:gcloud-gax",
  20. "dep:gcloud-googleapis",
  21. "dep:tokio",
  22. "dep:tokio-util",
  23. ]
  24. [dependencies]
  25. serde = { version = "1", features = ["derive"], optional = true }
  26. serde_json = { version = "1", optional = true }
  27. temporal-sdk = { git = "https://github.com/temporalio/sdk-core", branch = "master", optional = true }
  28. temporal-client = { git = "https://github.com/temporalio/sdk-core", branch = "master", optional = true, features = [
  29. "telemetry",
  30. ] }
  31. temporal-sdk-core-protos = { git = "https://github.com/temporalio/sdk-core", branch = "master", optional = true }
  32. tokio = { version = "1.43", features = [
  33. "full",
  34. "rt",
  35. "macros",
  36. ], optional = true }
  37. tokio-util = { version = "0.7", optional = true }
  38. uuid = { version = "1.4", features = ["v4"] }
  39. openidconnect = { version = "3.4", default-features = false, features = [
  40. "reqwest",
  41. "native-tls",
  42. "accept-rfc3339-timestamps",
  43. ] }
  44. base64 = "0.21"
  45. url = "2.3"
  46. reqwest = "0.11"
  47. jwt = { version = "0.16", git = "https://github.com/glimberg/rust-jwt" }
  48. time = { version = "~0.3", features = ["formatting"] }
  49. bytes = "1.3"
  50. thiserror = "1"
  51. gcloud-pubsub = { version = "1.3.0", optional = true }
  52. prost = { version = "0.14", optional = true, features = ["derive"] }
  53. prost-types = { version = "0.14", optional = true }
  54. gcloud-gax = { version = "1.2.0", optional = true }
  55. gcloud-googleapis = { version = "1.2.0", optional = true }
  56. [dev-dependencies]
  57. testcontainers = { version = "0.24", features = ["blocking"] }
  58. testcontainers-modules = { version = "0.12.1", features = [
  59. "google_cloud_sdk_emulators",
  60. ] }
  61. [build-dependencies]
  62. cbindgen = "0.29"
  63. prost-build = "0.14"
  64. [profile.release]
  65. strip = "debuginfo"