Cargo.toml 2.2 KB

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