Files
solana/sdk/Cargo.toml

90 lines
2.8 KiB
TOML
Raw Normal View History

[package]
name = "solana-sdk"
2021-04-20 08:52:13 -07:00
version = "1.5.20"
description = "Solana SDK"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
2018-12-13 21:14:37 -08:00
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-sdk"
license = "Apache-2.0"
2018-12-14 20:39:10 -08:00
edition = "2018"
[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",
"derivation-path",
"generic-array",
2020-12-11 13:57:43 -07: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",
"solana-logger",
"solana-crate-features",
"libsecp256k1",
"sha3",
"digest",
"uriparse",
]
[dependencies]
assert_matches = { version = "1.3.0", optional = true }
bincode = "1.3.1"
bs58 = "0.3.1"
bv = { version = "0.11.1", features = ["serde"] }
byteorder = { version = "1.3.4", optional = true }
2020-02-24 14:55:08 -08:00
chrono = { version = "0.4", optional = true }
curve25519-dalek = { version = "2.1.0", optional = true }
derivation-path = { version = "0.1.3", default-features = false, optional = true }
digest = { version = "0.9.0", optional = true }
ed25519-dalek = { version = "=1.0.0-pre.4", optional = true }
generic-array = { version = "0.14.3", default-features = false, features = ["serde", "more_lengths"], optional = true }
hex = "0.4.2"
hmac = "0.10.1"
itertools = "0.9.0"
lazy_static = "1.4.0"
libsecp256k1 = { version = "0.3.5", optional = true }
log = "0.4.11"
2020-12-11 13:57:43 -07:00
memmap2 = { version = "0.1.0", optional = true }
num-derive = "0.3"
num-traits = "0.2"
pbkdf2 = { version = "0.6.0", default-features = false }
qstring = "0.7.2"
2020-04-27 09:33:33 -07:00
rand = { version = "0.7.0", optional = true }
rand_chacha = { version = "0.2.2", optional = true }
rustversion = "1.0.4"
chore: bump serde from 1.0.112 to 1.0.118 (bp #14828) (#15394) * chore: bump serde from 1.0.112 to 1.0.118 (#14828) * chore: bump serde from 1.0.112 to 1.0.122 Bumps [serde](https://github.com/serde-rs/serde) from 1.0.112 to 1.0.122. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.122) Signed-off-by: dependabot[bot] <support@github.com> * [auto-commit] Update all Cargo lock files * Update frozen_abi digest following serde update * Revert "chore: bump serde from 1.0.112 to 1.0.122" This reverts commit a3ef4442a4c985144ae2bd7ceaf8899a7ab8d7c0. * Revert "[auto-commit] Update all Cargo lock files" This reverts commit c41c3b005fb1ccade55155302c52cd5736c4b55f. * chore: bump serde from 1.0.112 to 1.0.118 Bumps [serde](https://github.com/serde-rs/serde) from 1.0.112 to 1.0.118. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.112...v1.0.118) Signed-off-by: dependabot[bot] <support@github.com> * [auto-commit] Update all Cargo lock files * Remove serum-dex pinning * blind commit! Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com> Co-authored-by: Ryo Onodera <ryoqun@gmail.com> (cherry picked from commit 1df93fa2bef7b987b14915f1ae2a005a49755424) # Conflicts: # banks-interface/Cargo.toml # perf/Cargo.toml # programs/config/Cargo.toml * Fix conflicts Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
2021-02-18 13:29:17 +00:00
serde = "1.0.118"
serde_bytes = "0.11"
serde_derive = "1.0.103"
serde_json = { version = "1.0.56", optional = true }
sha2 = "0.9.2"
sha3 = { version = "0.9.1", optional = true }
2021-04-20 08:52:13 -07:00
solana-crate-features = { path = "../crate-features", version = "=1.5.20", optional = true }
solana-logger = { path = "../logger", version = "=1.5.20", optional = true }
solana-frozen-abi = { path = "../frozen-abi", version = "=1.5.20" }
solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.5.20" }
solana-program = { path = "program", version = "=1.5.20" }
solana-sdk-macro = { path = "macro", version = "=1.5.20" }
thiserror = "1.0"
uriparse = { version = "0.6.3", optional = true }
[dev-dependencies]
curve25519-dalek = "2.1.0"
tiny-bip39 = "0.7.0"
[build-dependencies]
rustc_version = "0.2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]