Cargo.toml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. [package]
  2. name = "pyth-lazer-agent"
  3. version = "0.7.1"
  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.18.0"
  10. pyth-lazer-protocol = "0.19.0"
  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. reqwest = "0.12.22"
  28. serde = { version = "1.0.219", features = ["derive"] }
  29. serde_json = "1.0.140"
  30. soketto = { version = "0.8.1", features = ["http"] }
  31. solana-keypair = "2.2.1"
  32. tokio = { version = "1.44.1", features = ["full"] }
  33. tokio-tungstenite = { version = "0.26.2", features = ["native-tls", "url"] }
  34. tokio-util = { version = "0.7.14", features = ["compat"] }
  35. tracing = "0.1.41"
  36. tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
  37. ttl_cache = "0.5.1"
  38. url = { version = "2.5.4", features = ["serde"] }
  39. [dev-dependencies]
  40. tempfile = "3.20.0"
  41. [lints.rust]
  42. unsafe_code = "deny"
  43. [lints.clippy]
  44. wildcard_dependencies = "deny"
  45. collapsible_if = "allow"
  46. collapsible_else_if = "allow"
  47. allow_attributes_without_reason = "warn"
  48. # Panics
  49. expect_used = "warn"
  50. fallible_impl_from = "warn"
  51. indexing_slicing = "warn"
  52. panic = "warn"
  53. panic_in_result_fn = "warn"
  54. string_slice = "warn"
  55. todo = "warn"
  56. unchecked_duration_subtraction = "warn"
  57. unreachable = "warn"
  58. unwrap_in_result = "warn"
  59. unwrap_used = "warn"
  60. # Correctness
  61. cast_lossless = "warn"
  62. cast_possible_truncation = "warn"
  63. cast_possible_wrap = "warn"
  64. cast_sign_loss = "warn"
  65. collection_is_never_read = "warn"
  66. match_wild_err_arm = "warn"
  67. path_buf_push_overwrite = "warn"
  68. read_zero_byte_vec = "warn"
  69. same_name_method = "warn"
  70. suspicious_operation_groupings = "warn"
  71. suspicious_xor_used_as_pow = "warn"
  72. unused_self = "warn"
  73. used_underscore_binding = "warn"
  74. while_float = "warn"