Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [package]
  2. name = "pyth-lazer-agent"
  3. version = "0.3.3"
  4. edition = "2024"
  5. description = "Pyth Lazer Agent"
  6. license = "Apache-2.0"
  7. repository = "https://github.com/pyth-network/pyth-crosschain"
  8. [dependencies]
  9. pyth-lazer-publisher-sdk = "0.1.7"
  10. pyth-lazer-protocol = "0.8.1"
  11. anyhow = "1.0.98"
  12. backoff = "0.4.0"
  13. base64 = "0.22.1"
  14. bincode = { version = "2.0.1", features = ["serde"] }
  15. clap = { version = "4.5.32", features = ["derive"] }
  16. config = "0.15.11"
  17. derivative = "2.2.0"
  18. ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
  19. futures = "0.3.31"
  20. futures-util = "0.3.31"
  21. http = "1.3.1"
  22. http-body-util = "0.1.3"
  23. humantime-serde = "1.1.1"
  24. hyper = { version = "1.6.0", features = ["http1", "server", "client"] }
  25. hyper-util = { version = "0.1.10", features = ["tokio"] }
  26. protobuf = "3.7.2"
  27. serde = { version = "1.0.219", features = ["derive"] }
  28. serde_json = "1.0.140"
  29. soketto = { version = "0.8.1", features = ["http"] }
  30. solana-keypair = "2.2.1"
  31. tokio = { version = "1.44.1", features = ["full"] }
  32. tokio-tungstenite = { version = "0.26.2", features = ["native-tls", "url"] }
  33. tokio-util = { version = "0.7.14", features = ["compat"] }
  34. tracing = "0.1.41"
  35. tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
  36. url = { version = "2.5.4", features = ["serde"] }
  37. reqwest = "0.12.22"
  38. [dev-dependencies]
  39. tempfile = "3.20.0"
  40. [lints.rust]
  41. unsafe_code = "deny"
  42. [lints.clippy]
  43. wildcard_dependencies = "deny"
  44. collapsible_if = "allow"
  45. collapsible_else_if = "allow"
  46. allow_attributes_without_reason = "warn"
  47. # Panics
  48. expect_used = "warn"
  49. fallible_impl_from = "warn"
  50. indexing_slicing = "warn"
  51. panic = "warn"
  52. panic_in_result_fn = "warn"
  53. string_slice = "warn"
  54. todo = "warn"
  55. unchecked_duration_subtraction = "warn"
  56. unreachable = "warn"
  57. unwrap_in_result = "warn"
  58. unwrap_used = "warn"
  59. # Correctness
  60. cast_lossless = "warn"
  61. cast_possible_truncation = "warn"
  62. cast_possible_wrap = "warn"
  63. cast_sign_loss = "warn"
  64. collection_is_never_read = "warn"
  65. match_wild_err_arm = "warn"
  66. path_buf_push_overwrite = "warn"
  67. read_zero_byte_vec = "warn"
  68. same_name_method = "warn"
  69. suspicious_operation_groupings = "warn"
  70. suspicious_xor_used_as_pow = "warn"
  71. unused_self = "warn"
  72. used_underscore_binding = "warn"
  73. while_float = "warn"