Cargo.toml 2.0 KB

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