Cargo.toml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. [workspace]
  2. members = [
  3. "account-decoder",
  4. "account-decoder-client-types",
  5. "accounts-cluster-bench",
  6. "accounts-db",
  7. "accounts-db/store-histogram",
  8. "accounts-db/store-tool",
  9. "banking-bench",
  10. "banking-stage-ingress-types",
  11. "banks-client",
  12. "banks-interface",
  13. "banks-server",
  14. "bench-streamer",
  15. "bench-tps",
  16. "bench-vote",
  17. "bloom",
  18. "bucket_map",
  19. "builtins",
  20. "builtins-default-costs",
  21. "cargo-registry",
  22. "clap-utils",
  23. "clap-v3-utils",
  24. "cli",
  25. "cli-config",
  26. "cli-output",
  27. "client",
  28. "client-test",
  29. "compute-budget",
  30. "compute-budget-instruction",
  31. "connection-cache",
  32. "core",
  33. "cost-model",
  34. "curves/curve25519",
  35. "dos",
  36. "download-utils",
  37. "entry",
  38. "faucet",
  39. "feature-set",
  40. "fee",
  41. "genesis",
  42. "genesis-utils",
  43. "geyser-plugin-interface",
  44. "geyser-plugin-manager",
  45. "gossip",
  46. "install",
  47. "io-uring",
  48. "keygen",
  49. "lattice-hash",
  50. "ledger",
  51. "ledger-tool",
  52. "local-cluster",
  53. "low-pass-filter",
  54. "measure",
  55. "memory-management",
  56. "merkle-tree",
  57. "metrics",
  58. "net-utils",
  59. "notifier",
  60. "perf",
  61. "platform-tools-sdk/cargo-build-sbf",
  62. "platform-tools-sdk/cargo-test-sbf",
  63. "platform-tools-sdk/gen-headers",
  64. "poh",
  65. "poh-bench",
  66. "poseidon",
  67. "precompiles",
  68. "program-binaries",
  69. "program-runtime",
  70. "program-test",
  71. "programs/bpf-loader-tests",
  72. "programs/bpf_loader",
  73. "programs/compute-budget",
  74. "programs/compute-budget-bench",
  75. "programs/ed25519-tests",
  76. "programs/loader-v4",
  77. "programs/stake",
  78. "programs/system",
  79. "programs/vote",
  80. "programs/zk-elgamal-proof",
  81. "programs/zk-elgamal-proof-tests",
  82. "programs/zk-token-proof",
  83. "pubsub-client",
  84. "quic-client",
  85. "rayon-threadlimit",
  86. "rbpf-cli",
  87. "remote-wallet",
  88. "reserved-account-keys",
  89. "rpc",
  90. "rpc-client",
  91. "rpc-client-api",
  92. "rpc-client-nonce-utils",
  93. "rpc-client-types",
  94. "rpc-test",
  95. "runtime",
  96. "runtime-transaction",
  97. "scheduler-bindings",
  98. "send-transaction-service",
  99. "stake-accounts",
  100. "storage-bigtable",
  101. "storage-bigtable/build-proto",
  102. "storage-proto",
  103. "streamer",
  104. "svm",
  105. "svm-callback",
  106. "svm-feature-set",
  107. "svm-log-collector",
  108. "svm-measure",
  109. "svm-timings",
  110. "svm-transaction",
  111. "svm-type-overrides",
  112. "syscalls",
  113. "syscalls/gen-syscall-list",
  114. "test-validator",
  115. "thread-manager",
  116. "tls-utils",
  117. "tokens",
  118. "tps-client",
  119. "tpu-client",
  120. "tpu-client-next",
  121. "transaction-context",
  122. "transaction-dos",
  123. "transaction-metrics-tracker",
  124. "transaction-status",
  125. "transaction-status-client-types",
  126. "transaction-view",
  127. "turbine",
  128. "udp-client",
  129. "unified-scheduler-logic",
  130. "unified-scheduler-pool",
  131. "validator",
  132. "verified-packet-receiver",
  133. "version",
  134. "vortexor",
  135. "vote",
  136. "votor",
  137. "votor-messages",
  138. "watchtower",
  139. "wen-restart",
  140. "xdp",
  141. "zk-token-sdk",
  142. ]
  143. exclude = ["programs/sbf", "svm/tests/example-programs"]
  144. resolver = "2"
  145. [workspace.package]
  146. version = "3.1.0"
  147. authors = ["Anza Maintainers <maintainers@anza.xyz>"]
  148. description = "Blockchain, Rebuilt for Scale"
  149. repository = "https://github.com/anza-xyz/agave"
  150. homepage = "https://anza.xyz/"
  151. license = "Apache-2.0"
  152. edition = "2021"
  153. [workspace.lints.rust]
  154. warnings = "deny"
  155. [workspace.lints.rust.unexpected_cfgs]
  156. level = "warn"
  157. check-cfg = [
  158. 'cfg(target_os, values("solana"))',
  159. 'cfg(feature, values("frozen-abi", "no-entrypoint"))',
  160. ]
  161. # Clippy lint configuration that can not be applied in clippy.toml
  162. [workspace.lints.clippy]
  163. arithmetic_side_effects = "deny"
  164. default_trait_access = "deny"
  165. manual_let_else = "deny"
  166. used_underscore_binding = "deny"
  167. [workspace.dependencies]
  168. Inflector = "0.11.4"
  169. aes-gcm-siv = "0.11.1"
  170. agave-banking-stage-ingress-types = { path = "banking-stage-ingress-types", version = "=3.1.0" }
  171. agave-cargo-registry = { path = "cargo-registry", version = "=3.1.0" }
  172. agave-feature-set = { path = "feature-set", version = "=3.1.0" }
  173. agave-geyser-plugin-interface = { path = "geyser-plugin-interface", version = "=3.1.0" }
  174. agave-io-uring = { path = "io-uring", version = "=3.1.0" }
  175. agave-low-pass-filter = { path = "low-pass-filter", version = "=3.1.0" }
  176. agave-precompiles = { path = "precompiles", version = "=3.1.0" }
  177. agave-reserved-account-keys = { path = "reserved-account-keys", version = "=3.1.0" }
  178. agave-scheduler-bindings = { path = "scheduler-bindings", version = "=3.1.0" }
  179. agave-syscalls = { path = "syscalls", version = "=3.1.0" }
  180. agave-thread-manager = { path = "thread-manager", version = "=3.1.0" }
  181. agave-transaction-view = { path = "transaction-view", version = "=3.1.0" }
  182. agave-verified-packet-receiver = { path = "verified-packet-receiver", version = "=3.1.0" }
  183. agave-votor = { path = "votor", version = "=3.1.0" }
  184. agave-xdp = { path = "xdp", version = "=3.1.0" }
  185. ahash = "0.8.11"
  186. anyhow = "1.0.100"
  187. aquamarine = "0.6.0"
  188. arbitrary = "1.4.2"
  189. arc-swap = "1.7.1"
  190. ark-bn254 = "0.4.0"
  191. ark-ec = "0.4.0"
  192. ark-ff = "0.4.0"
  193. ark-serialize = "0.4.0"
  194. array-bytes = "=1.4.1"
  195. arrayref = "0.3.9"
  196. arrayvec = "0.7.6"
  197. assert_cmd = "2.0"
  198. assert_matches = "1.5.0"
  199. async-lock = "3.4.1"
  200. async-trait = "0.1.89"
  201. atty = "0.2.11"
  202. axum = "0.7.9"
  203. aya = "0.13"
  204. backoff = "0.4.0"
  205. base64 = "0.22.1"
  206. bencher = "0.1.5"
  207. bincode = "1.3.3"
  208. bitflags = { version = "2.9.4" }
  209. bitvec = { version = "1.0.1", features = ["serde"] }
  210. blake3 = "1.8.2"
  211. borsh = { version = "1.5.7", features = ["derive", "unstable__schema"] }
  212. bs58 = { version = "0.5.1", default-features = false }
  213. bv = "0.11.1"
  214. byte-unit = "4.0.19"
  215. bytemuck = "1.24.0"
  216. bytemuck_derive = "1.10.2"
  217. bytes = "1.10"
  218. bzip2 = "0.4.4"
  219. caps = "0.5.5"
  220. cargo_metadata = "0.15.4"
  221. cfg-if = "1.0.3"
  222. cfg_eval = "0.1.2"
  223. chrono = { version = "0.4.42", default-features = false }
  224. chrono-humanize = "0.2.3"
  225. clap = "2.33.1"
  226. # Remove this dependency when procedural macros will support non-inline modules.
  227. conditional-mod = "0.1.0"
  228. console = "0.16.1"
  229. console_error_panic_hook = "0.1.7"
  230. console_log = "0.2.2"
  231. const_format = "0.2.35"
  232. core_affinity = "0.5.10"
  233. criterion = "0.5.1"
  234. criterion-stats = "0.3.0"
  235. crossbeam-channel = "0.5.15"
  236. csv = "1.3.1"
  237. ctrlc = "3.5.0"
  238. curve25519-dalek = { version = "4.1.3", features = ["digest", "rand_core"] }
  239. dashmap = "5.5.3"
  240. derivation-path = { version = "0.2.0", default-features = false }
  241. derive-where = "1.6.0"
  242. derive_more = { version = "1.0.0", features = ["full"] }
  243. dialoguer = "0.10.4"
  244. digest = "0.10.7"
  245. dir-diff = "0.3.3"
  246. dirs-next = "2.0.0"
  247. dlopen2 = "0.5.0"
  248. dyn-clone = "1.0.20"
  249. eager = "0.1.0"
  250. ed25519-dalek = "=1.0.1"
  251. ed25519-dalek-bip32 = "0.2.0"
  252. enum-iterator = "1.5.0"
  253. env_logger = "0.11.8"
  254. fast-math = "0.1"
  255. fd-lock = "3.0.13"
  256. five8_const = "0.1.4"
  257. flate2 = "1.0.31"
  258. fnv = "1.0.7"
  259. fs_extra = "1.3.0"
  260. futures = "0.3.31"
  261. futures-util = "0.3.29"
  262. gag = "1.0.0"
  263. gethostname = "0.2.3"
  264. getrandom = "0.3.3"
  265. goauth = "0.13.1"
  266. governor = "0.6.3"
  267. hex = "0.4.3"
  268. hidapi = { version = "2.6.3", default-features = false }
  269. histogram = "0.6.9"
  270. hmac = "0.12.1"
  271. http = "0.2.12"
  272. humantime = "2.3.0"
  273. hyper = "0.14.32"
  274. hyper-proxy = "0.9.1"
  275. im = "15.1.0"
  276. indexmap = "2.11.4"
  277. indicatif = "0.18.0"
  278. io-uring = "0.7.10"
  279. itertools = "0.12.1"
  280. jemallocator = { package = "tikv-jemallocator", version = "0.6.0", features = [
  281. "unprefixed_malloc_on_supported_platforms",
  282. ] }
  283. js-sys = "0.3.81"
  284. json5 = "0.4.1"
  285. jsonrpc-core = "18.0.0"
  286. jsonrpc-core-client = "18.0.0"
  287. jsonrpc-derive = "18.0.0"
  288. jsonrpc-http-server = "18.0.0"
  289. jsonrpc-ipc-server = "18.0.0"
  290. jsonrpc-pubsub = "18.0.0"
  291. lazy-lru = "0.1.3"
  292. libc = "0.2.176"
  293. libloading = "0.7.4"
  294. libsecp256k1 = { version = "0.6.0", default-features = false, features = [
  295. "std",
  296. "static-context",
  297. ] }
  298. light-poseidon = "0.2.0"
  299. log = "0.4.28"
  300. lru = "0.7.7"
  301. lz4 = "1.28.1"
  302. memmap2 = "0.9.8"
  303. memoffset = "0.9"
  304. merlin = { version = "3", default-features = false }
  305. min-max-heap = "1.3.0"
  306. mockall = "0.11.4"
  307. modular-bitfield = "0.11.2"
  308. nix = "0.30.1"
  309. num-bigint = "0.4.6"
  310. num-derive = "0.4"
  311. num-traits = "0.2"
  312. num_cpus = "1.17.0"
  313. num_enum = "0.7.4"
  314. openssl = "0.10"
  315. parking_lot = "0.12"
  316. pbkdf2 = { version = "0.11.0", default-features = false }
  317. pem = "1.1.1"
  318. percentage = "0.1.0"
  319. pickledb = { version = "0.5.1", default-features = false }
  320. predicates = "2.1"
  321. pretty-hex = "0.3.0"
  322. pretty_assertions = "1.4.1"
  323. prio-graph = "0.3.0"
  324. proc-macro2 = "1.0.97"
  325. proptest = "1.8"
  326. prost = "0.11.9"
  327. prost-build = "0.11.9"
  328. prost-types = "0.11.9"
  329. protobuf-src = "1.1.0"
  330. qstring = "0.7.2"
  331. qualifier_attr = { version = "0.2.2", default-features = false }
  332. quinn = "0.11.9"
  333. quinn-proto = "0.11.13"
  334. quote = "1.0"
  335. rand = "0.8.5"
  336. rand0-7 = { package = "rand", version = "0.7" }
  337. rand_chacha = "0.3.1"
  338. rand_chacha0-2 = { package = "rand_chacha", version = "0.2.2" }
  339. rayon = "1.11.0"
  340. reed-solomon-erasure = "6.0.0"
  341. regex = "1.11.3"
  342. reqwest = { version = "0.12.23", default-features = false }
  343. reqwest-middleware = "0.4.2"
  344. rolling-file = "0.2.0"
  345. rpassword = "7.4"
  346. rts-alloc = { version = "0.1.1" }
  347. rustls = { version = "0.23.32", features = ["std"], default-features = false }
  348. scopeguard = "1.2.0"
  349. semver = "1.0.27"
  350. seqlock = "0.2.0"
  351. serde = "1.0.228" # must match the serde_derive version, see https://github.com/serde-rs/serde/issues/2584#issuecomment-1685252251
  352. serde-big-array = "0.5.1"
  353. serde_bytes = "0.11.19"
  354. serde_derive = "1.0.228" # must match the serde version, see https://github.com/serde-rs/serde/issues/2584#issuecomment-1685252251
  355. serde_json = "1.0.145"
  356. serde_with = { version = "3.15.0", default-features = false }
  357. serde_yaml = "0.9.34"
  358. serial_test = "2.0.0"
  359. sha2 = "0.10.9"
  360. sha3 = "0.10.8"
  361. shaq = { version = "0.1.0" }
  362. shuttle = "0.7.1"
  363. signal-hook = "0.3.18"
  364. siphasher = "1.0.1"
  365. slab = "0.4.11"
  366. smallvec = { version = "1.15.1", default-features = false, features = ["union"] }
  367. smpl_jwt = "0.7.1"
  368. socket2 = "0.6.0"
  369. soketto = "0.7"
  370. solana-account = "3.1.0"
  371. solana-account-decoder = { path = "account-decoder", version = "=3.1.0" }
  372. solana-account-decoder-client-types = { path = "account-decoder-client-types", version = "=3.1.0" }
  373. solana-account-info = "3.0.0"
  374. solana-accounts-db = { path = "accounts-db", version = "=3.1.0" }
  375. solana-address = "1.0.0"
  376. solana-address-lookup-table-interface = "3.0.0"
  377. solana-atomic-u64 = "3.0.0"
  378. solana-banks-client = { path = "banks-client", version = "=3.1.0" }
  379. solana-banks-interface = { path = "banks-interface", version = "=3.1.0" }
  380. solana-banks-server = { path = "banks-server", version = "=3.1.0" }
  381. solana-bench-tps = { path = "bench-tps", version = "=3.1.0" }
  382. solana-big-mod-exp = "3.0.0"
  383. solana-bincode = "3.0.0"
  384. solana-blake3-hasher = "3.0.0"
  385. solana-bloom = { path = "bloom", version = "=3.1.0" }
  386. solana-bls-signatures = { version = "0.3.0", features = ["serde"] }
  387. solana-bn254 = "3.0.0"
  388. solana-borsh = "3.0.0"
  389. solana-bpf-loader-program = { path = "programs/bpf_loader", version = "=3.1.0" }
  390. solana-bucket-map = { path = "bucket_map", version = "=3.1.0" }
  391. solana-builtins = { path = "builtins", version = "=3.1.0" }
  392. solana-builtins-default-costs = { path = "builtins-default-costs", version = "=3.1.0" }
  393. solana-clap-utils = { path = "clap-utils", version = "=3.1.0" }
  394. solana-clap-v3-utils = { path = "clap-v3-utils", version = "=3.1.0" }
  395. solana-cli = { path = "cli", version = "=3.1.0" }
  396. solana-cli-config = { path = "cli-config", version = "=3.1.0" }
  397. solana-cli-output = { path = "cli-output", version = "=3.1.0" }
  398. solana-client = { path = "client", version = "=3.1.0" }
  399. solana-client-traits = "3.0.0"
  400. solana-clock = "3.0.0"
  401. solana-cluster-type = "3.0.0"
  402. solana-commitment-config = "3.0.0"
  403. solana-compute-budget = { path = "compute-budget", version = "=3.1.0" }
  404. solana-compute-budget-instruction = { path = "compute-budget-instruction", version = "=3.1.0" }
  405. solana-compute-budget-interface = "3.0.0"
  406. solana-compute-budget-program = { path = "programs/compute-budget", version = "=3.1.0" }
  407. solana-config-interface = "2.0.0"
  408. solana-connection-cache = { path = "connection-cache", version = "=3.1.0", default-features = false }
  409. solana-core = { path = "core", version = "=3.1.0" }
  410. solana-cost-model = { path = "cost-model", version = "=3.1.0" }
  411. solana-cpi = "3.0.0"
  412. solana-curve25519 = { path = "curves/curve25519", version = "=3.1.0" }
  413. solana-define-syscall = "3.0.0"
  414. solana-derivation-path = "3.0.0"
  415. solana-download-utils = { path = "download-utils", version = "=3.1.0" }
  416. solana-ed25519-program = "3.0.0"
  417. solana-entry = { path = "entry", version = "=3.1.0" }
  418. solana-epoch-info = "3.0.0"
  419. solana-epoch-rewards = "3.0.0"
  420. solana-epoch-rewards-hasher = "3.0.0"
  421. solana-epoch-schedule = "3.0.0"
  422. solana-example-mocks = "3.0.0"
  423. solana-faucet = { path = "faucet", version = "=3.1.0" }
  424. solana-feature-gate-interface = "3.0.0"
  425. solana-fee = { path = "fee", version = "=3.1.0" }
  426. solana-fee-calculator = "3.0.0"
  427. solana-fee-structure = "3.0.0"
  428. solana-file-download = "3.1.0"
  429. solana-frozen-abi = "3.0.0"
  430. solana-frozen-abi-macro = "3.0.0"
  431. solana-genesis = { path = "genesis", version = "=3.1.0" }
  432. solana-genesis-config = "3.0.0"
  433. solana-genesis-utils = { path = "genesis-utils", version = "=3.1.0" }
  434. solana-geyser-plugin-manager = { path = "geyser-plugin-manager", version = "=3.1.0" }
  435. solana-gossip = { path = "gossip", version = "=3.1.0" }
  436. solana-hard-forks = "3.0.0"
  437. solana-hash = "3.0.0"
  438. solana-inflation = "3.0.0"
  439. solana-instruction = "3.0.0"
  440. solana-instruction-error = "2.0.0"
  441. solana-instructions-sysvar = "3.0.0"
  442. solana-keccak-hasher = "3.0.0"
  443. solana-keypair = "3.0.1"
  444. solana-last-restart-slot = "3.0.0"
  445. solana-lattice-hash = { path = "lattice-hash", version = "=3.1.0" }
  446. solana-ledger = { path = "ledger", version = "=3.1.0" }
  447. solana-loader-v2-interface = "3.0.0"
  448. solana-loader-v3-interface = "6.1.0"
  449. solana-loader-v4-interface = "3.1.0"
  450. solana-loader-v4-program = { path = "programs/loader-v4", version = "=3.1.0" }
  451. solana-local-cluster = { path = "local-cluster", version = "=3.1.0" }
  452. solana-logger = "3.0.0"
  453. solana-measure = { path = "measure", version = "=3.1.0" }
  454. solana-merkle-tree = { path = "merkle-tree", version = "=3.1.0" }
  455. solana-message = "3.0.1"
  456. solana-metrics = { path = "metrics", version = "=3.1.0" }
  457. solana-msg = "3.0.0"
  458. solana-native-token = "3.0.0"
  459. solana-net-utils = { path = "net-utils", version = "=3.1.0" }
  460. solana-nohash-hasher = "0.2.1"
  461. solana-nonce = "3.0.0"
  462. solana-nonce-account = "3.0.0"
  463. solana-notifier = { path = "notifier", version = "=3.1.0" }
  464. solana-offchain-message = "3.0.0"
  465. solana-packet = "3.0.0"
  466. solana-perf = { path = "perf", version = "=3.1.0" }
  467. solana-poh = { path = "poh", version = "=3.1.0" }
  468. solana-poh-config = "3.0.0"
  469. solana-poseidon = { path = "poseidon", version = "=3.1.0" }
  470. solana-precompile-error = "3.0.0"
  471. solana-presigner = "3.0.0"
  472. solana-program = { version = "3.0.0", default-features = false }
  473. solana-program-binaries = { path = "program-binaries", version = "=3.1.0" }
  474. solana-program-entrypoint = "3.1.0"
  475. solana-program-error = "3.0.0"
  476. solana-program-memory = "3.0.0"
  477. solana-program-option = "3.0.0"
  478. solana-program-pack = "3.0.0"
  479. solana-program-runtime = { path = "program-runtime", version = "=3.1.0" }
  480. solana-program-test = { path = "program-test", version = "=3.1.0" }
  481. solana-pubkey = { version = "3.0.0", default-features = false }
  482. solana-pubsub-client = { path = "pubsub-client", version = "=3.1.0" }
  483. solana-quic-client = { path = "quic-client", version = "=3.1.0" }
  484. solana-quic-definitions = "3.0.0"
  485. solana-rayon-threadlimit = { path = "rayon-threadlimit", version = "=3.1.0" }
  486. solana-remote-wallet = { path = "remote-wallet", version = "=3.1.0", default-features = false }
  487. solana-rent = "3.0.0"
  488. solana-reward-info = "3.0.0"
  489. solana-rpc = { path = "rpc", version = "=3.1.0" }
  490. solana-rpc-client = { path = "rpc-client", version = "=3.1.0", default-features = false }
  491. solana-rpc-client-api = { path = "rpc-client-api", version = "=3.1.0" }
  492. solana-rpc-client-nonce-utils = { path = "rpc-client-nonce-utils", version = "=3.1.0" }
  493. solana-rpc-client-types = { path = "rpc-client-types", version = "=3.1.0" }
  494. solana-runtime = { path = "runtime", version = "=3.1.0" }
  495. solana-runtime-transaction = { path = "runtime-transaction", version = "=3.1.0" }
  496. solana-sanitize = "3.0.1"
  497. solana-sbpf = { version = "=0.13.0", default-features = false }
  498. solana-sdk-ids = "3.0.0"
  499. solana-secp256k1-program = "3.0.0"
  500. solana-secp256k1-recover = "3.0.0"
  501. solana-secp256r1-program = "3.0.0"
  502. solana-seed-derivable = "3.0.0"
  503. solana-seed-phrase = "3.0.0"
  504. solana-send-transaction-service = { path = "send-transaction-service", version = "=3.1.0" }
  505. solana-serde = "3.0.0"
  506. solana-serde-varint = "3.0.0"
  507. solana-serialize-utils = "3.1.0"
  508. solana-sha256-hasher = "3.0.0"
  509. solana-short-vec = "3.0.0"
  510. solana-shred-version = "3.0.0"
  511. solana-signature = { version = "3.1.0", default-features = false }
  512. solana-signer = "3.0.0"
  513. solana-signer-store = "0.1.0"
  514. solana-slot-hashes = "3.0.0"
  515. solana-slot-history = "3.0.0"
  516. solana-stable-layout = "3.0.0"
  517. solana-stake-interface = { version = "2.0.1" }
  518. solana-stake-program = { path = "programs/stake", version = "=3.1.0" }
  519. solana-storage-bigtable = { path = "storage-bigtable", version = "=3.1.0" }
  520. solana-storage-proto = { path = "storage-proto", version = "=3.1.0" }
  521. solana-streamer = { path = "streamer", version = "=3.1.0" }
  522. solana-svm = { path = "svm", version = "=3.1.0" }
  523. solana-svm-callback = { path = "svm-callback", version = "=3.1.0" }
  524. solana-svm-feature-set = { path = "svm-feature-set", version = "=3.1.0" }
  525. solana-svm-log-collector = { path = "svm-log-collector", version = "=3.1.0" }
  526. solana-svm-measure = { path = "svm-measure", version = "=3.1.0" }
  527. solana-svm-timings = { path = "svm-timings", version = "=3.1.0" }
  528. solana-svm-transaction = { path = "svm-transaction", version = "=3.1.0" }
  529. solana-svm-type-overrides = { path = "svm-type-overrides", version = "=3.1.0" }
  530. solana-system-interface = "2.0"
  531. solana-system-program = { path = "programs/system", version = "=3.1.0" }
  532. solana-system-transaction = "3.0.0"
  533. solana-sysvar = "3.0.0"
  534. solana-sysvar-id = "3.0.0"
  535. solana-test-validator = { path = "test-validator", version = "=3.1.0" }
  536. solana-time-utils = "3.0.0"
  537. solana-tls-utils = { path = "tls-utils", version = "=3.1.0" }
  538. solana-tps-client = { path = "tps-client", version = "=3.1.0" }
  539. solana-tpu-client = { path = "tpu-client", version = "=3.1.0", default-features = false }
  540. solana-tpu-client-next = { path = "tpu-client-next", version = "=3.1.0" }
  541. solana-transaction = "3.0.1"
  542. solana-transaction-context = { path = "transaction-context", version = "=3.1.0", features = ["bincode"] }
  543. solana-transaction-error = "3.0.0"
  544. solana-transaction-metrics-tracker = { path = "transaction-metrics-tracker", version = "=3.1.0" }
  545. solana-transaction-status = { path = "transaction-status", version = "=3.1.0" }
  546. solana-transaction-status-client-types = { path = "transaction-status-client-types", version = "=3.1.0" }
  547. solana-turbine = { path = "turbine", version = "=3.1.0" }
  548. solana-udp-client = { path = "udp-client", version = "=3.1.0" }
  549. solana-unified-scheduler-logic = { path = "unified-scheduler-logic", version = "=3.1.0" }
  550. solana-unified-scheduler-pool = { path = "unified-scheduler-pool", version = "=3.1.0" }
  551. solana-validator-exit = "3.0.0"
  552. solana-version = { path = "version", version = "=3.1.0" }
  553. solana-vote = { path = "vote", version = "=3.1.0" }
  554. solana-vote-interface = "4.0.2"
  555. solana-vote-program = { path = "programs/vote", version = "=3.1.0", default-features = false }
  556. solana-votor-messages = { path = "votor-messages", version = "=3.1.0" }
  557. solana-wen-restart = { path = "wen-restart", version = "=3.1.0" }
  558. solana-zk-elgamal-proof-program = { path = "programs/zk-elgamal-proof", version = "=3.1.0" }
  559. solana-zk-sdk = "4.0.0"
  560. solana-zk-token-proof-program = { path = "programs/zk-token-proof", version = "=3.1.0" }
  561. solana-zk-token-sdk = { path = "zk-token-sdk", version = "=3.1.0" }
  562. spl-associated-token-account-interface = "2.0.0"
  563. spl-generic-token = "2.0.0"
  564. spl-memo-interface = "2.0.0"
  565. spl-pod = "0.7.0"
  566. spl-token-2022-interface = "2.0.0"
  567. spl-token-confidential-transfer-proof-extraction = "0.5.0"
  568. spl-token-group-interface = "0.7.0"
  569. spl-token-interface = "2.0.0"
  570. spl-token-metadata-interface = "0.8.0"
  571. static_assertions = "1.1.0"
  572. stream-cancel = "0.8.2"
  573. strum = "0.24"
  574. strum_macros = "0.24"
  575. subtle = "2.6.1"
  576. symlink = "0.1.0"
  577. syn = "2.0"
  578. sys-info = "0.9.1"
  579. sysctl = "0.4.6"
  580. systemstat = "0.2.5"
  581. tar = "0.4.44"
  582. tarpc = "0.29.0"
  583. tempfile = "3.23.0"
  584. test-case = "3.3.1"
  585. thiserror = "2.0.17"
  586. thread-priority = "1.2.0"
  587. tiny-bip39 = "0.8.2"
  588. tokio = "1.47.1"
  589. tokio-serde = "0.8"
  590. tokio-stream = "0.1.17"
  591. tokio-tungstenite = "0.28.0"
  592. tokio-util = "0.7.16"
  593. toml = "0.8.12"
  594. tonic = "0.9.2"
  595. tonic-build = "0.9.2"
  596. tower = "0.5.2"
  597. tracing = "0.1"
  598. trait-set = "0.3.0"
  599. trees = "0.4.2"
  600. tungstenite = "0.28.0"
  601. unwrap_none = "0.1.2"
  602. uriparse = "0.6.4"
  603. url = "2.5.7"
  604. vec_extract_if_polyfill = "0.1.0"
  605. wasm-bindgen = "0.2"
  606. winapi = "0.3.8"
  607. winreg = "0.50"
  608. x509-parser = "0.14.0"
  609. zeroize = { version = "1.8", default-features = false }
  610. zstd = "0.13.3"
  611. [profile.release-with-debug]
  612. inherits = "release"
  613. debug = true
  614. strip = false
  615. split-debuginfo = "off"
  616. [profile.release]
  617. split-debuginfo = "unpacked"
  618. lto = "thin"
  619. [profile.release-with-lto]
  620. inherits = "release"
  621. lto = "fat"
  622. codegen-units = 1
  623. # curve25519-dalek uses the simd backend by default in v4 if possible,
  624. # which has very slow performance on some platforms with opt-level 0,
  625. # which is the default for dev and test builds.
  626. # This slowdown causes certain interactions in the solana-test-validator,
  627. # such as verifying ZK proofs in transactions, to take much more than 400ms,
  628. # creating problems in the testing environment.
  629. # To enable better performance in solana-test-validator during tests and dev builds,
  630. # we override the opt-level to 3 for the crate.
  631. [profile.dev.package.curve25519-dalek]
  632. opt-level = 3
  633. [patch.crates-io]
  634. # for details, see https://github.com/anza-xyz/crossbeam/commit/fd279d707025f0e60951e429bf778b4813d1b6bf
  635. crossbeam-epoch = { git = "https://github.com/anza-xyz/crossbeam", rev = "fd279d707025f0e60951e429bf778b4813d1b6bf" }
  636. # We include the following crates as our dependencies above from crates.io:
  637. #
  638. # * spl-associated-token-account-interface
  639. # * spl-instruction-padding
  640. # * spl-memo-interface
  641. # * spl-pod
  642. # * spl-token
  643. # * spl-token-2022-interface
  644. # * spl-token-metadata-interface
  645. #
  646. # They, in turn, depend on a number of crates that we also include directly
  647. # using `path` specifications. For example, `spl-token` depends on
  648. # `solana-program`. And we explicitly specify `solana-program` above as a local
  649. # path dependency:
  650. #
  651. # solana-program = { path = "../../sdk/program", version = "=1.16.0" }
  652. #
  653. # Unfortunately, Cargo will try to resolve the `spl-token` `solana-program`
  654. # dependency only using what is available on crates.io. Crates.io normally
  655. # contains a previous version of these crates, and we end up with two versions
  656. # of `solana-program` and `solana-zk-token-sdk` and all of their dependencies in
  657. # our build tree.
  658. #
  659. # If you are developing downstream using non-crates-io solana-program (local or
  660. # forked repo, or from github rev, eg), duplicate the following patch statements
  661. # in your Cargo.toml. If you still hit duplicate-type errors with the patch
  662. # statements in place, run `cargo update -p solana-program` and/or `cargo update
  663. # -p solana-zk-token-sdk` to remove extraneous versions from your Cargo.lock
  664. # file.
  665. #
  666. # There is a similar override in `programs/sbf/Cargo.toml`. Please keep both
  667. # comments and the overrides in sync.
  668. solana-curve25519 = { path = "curves/curve25519" }