solana/sdk/Cargo.toml

103 lines
3.0 KiB
TOML
Raw Normal View History

[package]
name = "solana-sdk"
2023-01-31 15:48:33 -08:00
version = "1.16.0"
description = "Solana SDK"
authors = ["Solana Labs Maintainers <maintainers@solanalabs.com>"]
repository = "https://github.com/solana-labs/solana"
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-sdk"
2021-06-23 14:22:35 -07:00
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
[features]
# "program" feature is a legacy feature retained to support v1.3 and older
# programs. New development should not use this feature. Instead use the
# solana-program crate
program = []
default = [
2020-10-24 08:39:28 -07:00
"full" # functionality that is not compatible or needed for on-chain programs
2020-10-19 10:17:29 -07:00
]
2020-10-24 08:39:28 -07:00
full = [
"assert_matches",
"byteorder",
2020-02-24 14:55:08 -08:00
"chrono",
"generic-array",
2020-12-11 12:57:43 -08:00
"memmap2",
"rand",
2019-09-20 13:21:12 -07:00
"rand_chacha",
"serde_json",
2019-11-07 17:08:10 -08:00
"ed25519-dalek",
"ed25519-dalek-bip32",
"solana-logger",
"libsecp256k1",
"sha3",
"digest",
]
[dependencies]
assert_matches = { version = "1.5.0", optional = true }
base64 = "0.13"
bincode = "1.3.3"
bitflags = "1.3.1"
borsh = "0.9.3"
bs58 = "0.4.0"
bytemuck = { version = "1.11.0", features = ["derive"] }
byteorder = { version = "1.4.3", optional = true }
chrono = { default-features = false, features = ["alloc"], version = "0.4", optional = true }
curve25519-dalek = { version = "3.2.1", optional = true }
derivation-path = { version = "0.2.0", default-features = false }
digest = { version = "0.10.1", optional = true }
ed25519-dalek = { version = "=1.0.1", optional = true }
ed25519-dalek-bip32 = { version = "0.2.0", optional = true }
generic-array = { version = "0.14.6", default-features = false, features = ["serde", "more_lengths"], optional = true }
hmac = "0.12.1"
itertools = "0.10.5"
lazy_static = "1.4.0"
libsecp256k1 = { version = "0.6.0", optional = true }
log = "0.4.17"
memmap2 = { version = "0.5.8", optional = true }
num-derive = "0.3"
num-traits = "0.2"
num_enum = "0.5.7"
pbkdf2 = { version = "0.11.0", default-features = false }
qstring = "0.7.2"
rand = { version = "0.7.0", optional = true }
rand_chacha = { version = "0.2.2", optional = true }
rustversion = "1.0.9"
serde = "1.0.152"
serde_bytes = "0.11"
serde_derive = "1.0.103"
serde_json = { version = "1.0.83", optional = true }
Add fully-reproducible online tracer for banking (#29196) * Add fully-reproducible online tracer for banking * Don't use eprintln!()... * Update programs/sbf/Cargo.lock... * Remove meaningless assert_eq * Group test-only code under aptly named mod * Remove needless overflow handling in receive_until * Delay stat aggregation as it's possible now * Use Cow to avoid needless heap allocs * Properly consume metrics action as soon as hold * Trace UnprocessedTransactionStorage::len() instead * Loosen joining api over type safety for replaystage * Introce hash event to override these when simulating * Use serde_with/serde_as instead of hacky workaround * Update another Cargo.lock... * Add detailed comment for Packet::buffer serialize * Rename sender_overhead_minimized_receiver_loop() * Use type interference for TraceError * Another minor rename * Retire now useless ForEach to simplify code * Use type alias as much as possible * Properly translate and propagate tracing errors * Clarify --enable-banking-trace with better naming * Consider unclean (signal-based) node restarts.. * Tweak logging and cli * Remove Bank events as it's not needed anymore * Make tpu own banking tracer thread * Reduce diff a bit.. * Use latest serde_with * Finally use the published rolling-file crate * Make test code change more consistent * Revive dead and non-terminating test code path... * Dispose batches early now that possible * Split off thread handle very early at ::new() * Tweak message for TooSmallDirByteLimitl * Remove too much of indirection * Remove needless pub from ::channel() * Clarify test comments * Avoid needless event creation if tracer is disabled * Write tests around file rotation and spill-over * Remove unneeded PathBuf::clone()s... * Introduce inner struct instead of tuple... * Remove unused enum BankStatus... * Avoid .unwrap() for the case of disabled tracer...
2023-01-25 04:54:38 -08:00
serde_with = { version = "2.2.0", default-features = false, features = ["macros"] }
sha2 = "0.10.5"
sha3 = { version = "0.10.4", optional = true }
2023-01-31 15:48:33 -08:00
solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" }
solana-logger = { path = "../logger", version = "=1.16.0", optional = true }
solana-program = { path = "program", version = "=1.16.0" }
solana-sdk-macro = { path = "macro", version = "=1.16.0" }
thiserror = "1.0"
uriparse = "0.6.4"
wasm-bindgen = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.59"
[dev-dependencies]
anyhow = "1.0.58"
curve25519-dalek = "3.2.1"
hex = "0.4.3"
static_assertions = "1.1.0"
tiny-bip39 = "0.8.2"
[build-dependencies]
rustc_version = "0.4"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
crate-type = ["cdylib", "rlib"]