diff --git a/Cargo.toml b/Cargo.toml index 16b5dbb6e3143c..1a9009ffe92442 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -110,6 +110,293 @@ exclude = [ # This prevents a Travis CI error when building for Windows. resolver = "2" +[workspace.package] +version = "1.16.0" +authors = ["Solana Labs Maintainers "] +repository = "https://github.com/solana-labs/solana" +homepage = "https://solanalabs.com/" +license = "Apache-2.0" +edition = "2021" + +[workspace.dependencies] +aes-gcm-siv = "0.10.3" +ahash = "0.7.6" +anyhow = "1.0.58" +ark-bn254 = "0.3.0" +ark-ec = "0.3.0" +ark-ff = "0.3.0" +array-bytes = "=1.4.1" +arrayref = "0.3.6" +assert_cmd = "2.0" +assert_matches = "1.5.0" +async-mutex = "1.4.0" +async-trait = "0.1.57" +atty = "0.2.11" +backoff = "0.4.0" +base64 = "0.13.0" +bincode = "1.3.3" +bitflags = "1.3.1" +blake3 = "1.3.1" +block-buffer = "0.9.0" +borsh = "0.9.3" +borsh-derive = "0.9.1" +bs58 = "0.4.0" +bv = "0.11.1" +byte-unit = "4.0.14" +bytecount = "0.6.3" +bytemuck = "1.11.0" +byteorder = "1.4.3" +bytes = "1.2" +bzip2 = "0.4.4" +caps = "0.5.4" +cargo_metadata = "0.15.0" +cc = "1.0.79" +chrono = { version = "0.4.23", default-features = false } +chrono-humanize = "0.2.1" +cipher = "0.4" +clap = "2.33.1" +console = "0.15.0" +console_error_panic_hook = "0.1.7" +console_log = "0.2.0" +const_format = "0.2.26" +core_affinity = "0.5.10" +criterion-stats = "0.3.0" +crossbeam-channel = "0.5.6" +csv = "1.1.6" +ctrlc = "3.2.3" +curve25519-dalek = "3.2.1" +dashmap = "4.0.2" +derivation-path = { version = "0.2.0", default-features = false } +dialoguer = "0.10.2" +digest = "0.10.1" +dir-diff = "0.3.2" +dirs-next = "2.0.0" +dlopen = "0.1.8" +dlopen_derive = "0.1.4" +eager = "0.1.0" +ed25519-dalek = "=1.0.1" +ed25519-dalek-bip32 = "0.2.0" +either = "1.7.0" +enum_dispatch = "0.3.8" +enum-iterator = "1.2.0" +env_logger = "0.9.3" +etcd-client = "0.8.1" +fast-math = "0.1" +fd-lock = "3.0.6" +flate2 = "1.0.24" +fnv = "1.0.7" +fs_extra = "1.2.0" +futures = "0.3.24" +futures-util = "0.3.26" +gag = "1.0.0" +generic-array = { version = "0.14.6", default-features = false } +gethostname = "0.2.3" +getrandom = "0.1.14" +goauth = "0.13.1" +hashbrown = "0.12" +hex = "0.4.3" +hidapi = { version = "1.4.1", default-features = false } +histogram = "0.6.9" +hmac = "0.12.1" +http = "0.2.8" +humantime = "2.0.1" +hyper = "0.14.20" +hyper-proxy = "0.9.1" +im = "15.1.0" +index_list = "0.2.7" +indexmap = "1.9.1" +indicatif = "0.17.1" +Inflector = "0.11.4" +itertools = "0.10.5" +jemallocator = { package = "tikv-jemallocator", version = "0.4.1", features = ["unprefixed_malloc_on_supported_platforms"] } +js-sys = "0.3.59" +json5 = "0.4.1" +jsonrpc-core = "18.0.0" +jsonrpc-core-client = "18.0.0" +jsonrpc-derive = "18.0.0" +jsonrpc-http-server = "18.0.0" +jsonrpc-ipc-server = "18.0.0" +jsonrpc-pubsub = "18.0.0" +jsonrpc-server-utils = "18.0.0" +lazy_static = "1.4.0" +libc = "0.2.131" +libloading = "0.7.4" +libsecp256k1 = "0.6.0" +log = "0.4.17" +lru = "0.7.7" +lz4 = "1.24.0" +matches = "0.1.9" +memmap2 = "0.5.8" +memoffset = "0.8" +merlin = "3" +min-max-heap = "1.3.0" +modular-bitfield = "0.11.2" +nix = "0.25.0" +num-bigint = "0.4.3" +num_cpus = "1.13.1" +num_enum = "0.5.7" +num-derive = "0.3" +num-traits = "0.2" +once_cell = "1.13.0" +openssl = "0.10" +ouroboros = "0.15.0" +parking_lot = "0.12" +pbkdf2 = { version = "0.11.0", default-features = false } +pem = "1.1.1" +percentage = "0.1.0" +pickledb = { version = "0.5.1", default-features = false } +pkcs8 = "0.8.0" +predicates = "2.1" +pretty-hex = "0.3.0" +proc-macro2 = "1.0.19" +proptest = "1.0" +prost = "0.11.6" +prost-types = "0.11.6" +protobuf-src = "1.0.5" +qstring = "0.7.2" +quinn = "0.9.3" +quinn-proto = "0.9.2" +quinn-udp = "0.3.2" +quote = "1.0" +rand = "0.7.0" +rand_chacha = "0.2.2" +rand_core = "0.6.4" +raptorq = "1.7.0" +rayon = "1.5.3" +rcgen = "0.10.0" +reed-solomon-erasure = "6.0.0" +regex = "1.6.0" +rolling-file = "0.2.0" +reqwest = { version = "0.11.12", default-features = false } +rpassword = "7.0" +rustc_version = "0.4" +rustls = { version = "0.20.6", default-features = false } +rustversion = "1.0.11" +scopeguard = "1.1.0" +semver = "1.0.16" +serde = "1.0.152" +serde_bytes = "0.11.9" +serde_derive = "1.0.103" +serde_json = "1.0.83" +serde_yaml = "0.9.13" +serial_test = "0.9.0" +serde_with = { version = "2.2.0", default-features = false } +sha2 = "0.10.6" +sha3 = "0.10.4" +signal-hook = "0.3.14" +smpl_jwt = "0.7.1" +socket2 = "0.4.7" +soketto = "0.7" +solana_rbpf = "=0.2.39" +solana-account-decoder = { path = "account-decoder", version = "=1.16.0" } +solana-address-lookup-table-program = { path = "programs/address-lookup-table", version = "=1.16.0" } +solana-banks-client = { path = "banks-client", version = "=1.16.0" } +solana-banks-interface = { path = "banks-interface", version = "=1.16.0" } +solana-banks-server = { path = "banks-server", version = "=1.16.0" } +solana-bench-tps = { path = "bench-tps", version = "=1.16.0" } +solana-bloom = { path = "bloom", version = "=1.16.0" } +solana-bpf-loader-program = { path = "programs/bpf_loader", version = "=1.16.0" } +solana-bucket-map = { path = "bucket_map", version = "=1.16.0" } +solana-connection-cache = { path = "connection-cache", version = "=1.16.0", default-features = false } +solana-clap-utils = { path = "clap-utils", version = "=1.16.0" } +solana-clap-v3-utils = { path = "clap-v3-utils", version = "=1.16.0" } +solana-cli = { path = "cli", version = "=1.16.0" } +solana-cli-config = { path = "cli-config", version = "=1.16.0" } +solana-cli-output = { path = "cli-output", version = "=1.16.0" } +solana-client = { path = "client", version = "=1.16.0" } +solana-compute-budget-program = { path = "programs/compute-budget", version = "=1.16.0" } +solana-config-program = { path = "programs/config", version = "=1.16.0" } +solana-core = { path = "core", version = "=1.16.0" } +solana-download-utils = { path = "download-utils", version = "=1.16.0" } +solana-entry = { path = "entry", version = "=1.16.0" } +solana-faucet = { path = "faucet", version = "=1.16.0" } +solana-frozen-abi = { path = "frozen-abi", version = "=1.16.0" } +solana-frozen-abi-macro = { path = "frozen-abi/macro", version = "=1.16.0" } +solana-genesis = { path = "genesis", version = "=1.16.0" } +solana-genesis-utils = { path = "genesis-utils", version = "=1.16.0" } +solana-geyser-plugin-interface = { path = "geyser-plugin-interface", version = "=1.16.0" } +solana-geyser-plugin-manager = { path = "geyser-plugin-manager", version = "=1.16.0" } +solana-gossip = { path = "gossip", version = "=1.16.0" } +solana-ledger = { path = "ledger", version = "=1.16.0" } +solana-local-cluster = { path = "local-cluster", version = "=1.16.0" } +solana-logger = { path = "logger", version = "=1.16.0" } +solana-measure = { path = "measure", version = "=1.16.0" } +solana-merkle-tree = { path = "merkle-tree", version = "=1.16.0" } +solana-metrics = { path = "metrics", version = "=1.16.0" } +solana-net-utils = { path = "net-utils", version = "=1.16.0" } +solana-notifier = { path = "notifier", version = "=1.16.0" } +solana-perf = { path = "perf", version = "=1.16.0" } +solana-poh = { path = "poh", version = "=1.16.0" } +solana-program = { path = "sdk/program", version = "=1.16.0" } +solana-program-runtime = { path = "program-runtime", version = "=1.16.0" } +solana-program-test = { path = "program-test", version = "=1.16.0" } +solana-pubsub-client = { path = "pubsub-client", version = "=1.16.0" } +solana-quic-client = { path = "quic-client", version = "=1.16.0" } +solana-rayon-threadlimit = { path = "rayon-threadlimit", version = "=1.16.0" } +solana-remote-wallet = { path = "remote-wallet", version = "=1.16.0", default-features = false } +solana-rpc = { path = "rpc", version = "=1.16.0" } +solana-rpc-client = { path = "rpc-client", version = "=1.16.0", default-features = false } +solana-rpc-client-api = { path = "rpc-client-api", version = "=1.16.0" } +solana-rpc-client-nonce-utils = { path = "rpc-client-nonce-utils", version = "=1.16.0" } +solana-runtime = { path = "runtime", version = "=1.16.0" } +solana-sdk = { path = "sdk", version = "=1.16.0" } +solana-sdk-macro = { path = "sdk/macro", version = "=1.16.0" } +solana-send-transaction-service = { path = "send-transaction-service", version = "=1.16.0" } +solana-stake-program = { path = "programs/stake", version = "=1.16.0" } +solana-storage-bigtable = { path = "storage-bigtable", version = "=1.16.0" } +solana-storage-proto = { path = "storage-proto", version = "=1.16.0" } +solana-streamer = { path = "streamer", version = "=1.16.0" } +solana-sys-tuner = { path = "sys-tuner", version = "=1.16.0" } +solana-test-validator = { path = "test-validator", version = "=1.16.0" } +solana-thin-client = { path = "thin-client", version = "=1.16.0" } +solana-tpu-client = { path = "tpu-client", version = "=1.16.0", default-features = false } +solana-transaction-status = { path = "transaction-status", version = "=1.16.0" } +solana-udp-client = { path = "udp-client", version = "=1.16.0" } +solana-version = { path = "version", version = "=1.16.0" } +solana-vote-program = { path = "programs/vote", version = "=1.16.0" } +solana-zk-token-proof-program = { path = "programs/zk-token-proof", version = "=1.16.0" } +solana-zk-token-sdk = { path = "zk-token-sdk", version = "=1.16.0" } +spl-associated-token-account = "=1.1.2" +spl-instruction-padding = "0.1" +spl-memo = "=3.0.1" +spl-token = "=3.5.0" +spl-token-2022 = "=0.5.0" +static_assertions = "1.1.0" +stream-cancel = "0.8.1" +strum = "0.24" +strum_macros = "0.24" +subtle = "2.4.1" +symlink = "0.1.0" +syn = "1.0" +sys-info = "0.9.1" +sysctl = "0.4.4" +systemstat = "0.2.0" +tar = "0.4.38" +tarpc = "0.29.0" +tempfile = "3.3.0" +test-case = "2.2.2" +thiserror = "1.0.31" +tiny-bip39 = "0.8.2" +tokio = "~1.14.1" +tokio-serde = "0.8" +tokio-stream = "0.1.9" +tokio-tungstenite = "0.17.2" +tokio-util = "0.6" +tonic = "0.8.3" +tonic-build = "0.8.4" +trees = "0.4.2" +tungstenite = "0.17.2" +unix_socket2 = "0.5.4" +uriparse = "0.6.4" +url = "2.2.2" +users = "0.10.0" +wasm-bindgen = "0.2" +winapi = "0.3.8" +winreg = "0.10" +x509-parser = "0.14.0" +zeroize = { version = "1.3", default-features = false } +zstd = "0.11.2" + # for details, see https://github.com/solana-labs/crossbeam/commit/fd279d707025f0e60951e429bf778b4813d1b6bf [patch.crates-io] crossbeam-epoch = { git = "https://github.com/solana-labs/crossbeam", rev = "fd279d707025f0e60951e429bf778b4813d1b6bf" } diff --git a/account-decoder/Cargo.toml b/account-decoder/Cargo.toml index 4067f00b1b8439..09083a4825dd83 100644 --- a/account-decoder/Cargo.toml +++ b/account-decoder/Cargo.toml @@ -1,31 +1,31 @@ [package] name = "solana-account-decoder" -version = "1.16.0" description = "Solana account decoder" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-account-decoder" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -Inflector = "0.11.4" -base64 = "0.13.0" -bincode = "1.3.3" -bs58 = "0.4.0" -bv = "0.11.1" -lazy_static = "1.4.0" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-address-lookup-table-program = { path = "../programs/address-lookup-table", version = "=1.16.0" } -solana-config-program = { path = "../programs/config", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -spl-token = { version = "=3.5.0", features = ["no-entrypoint"] } -spl-token-2022 = { version = "=0.5.0", features = ["no-entrypoint"] } -thiserror = "1.0" -zstd = "0.11.2" +Inflector = { workspace = true } +base64 = { workspace = true } +bincode = { workspace = true } +bs58 = { workspace = true } +bv = { workspace = true } +lazy_static = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-config-program = { workspace = true } +solana-sdk = { workspace = true } +spl-token = { workspace = true, features = ["no-entrypoint"] } +spl-token-2022 = { workspace = true, features = ["no-entrypoint"] } +thiserror = { workspace = true } +zstd = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/accounts-bench/Cargo.toml b/accounts-bench/Cargo.toml index 7adf6ab0610a60..3dafb8f8cd502e 100644 --- a/accounts-bench/Cargo.toml +++ b/accounts-bench/Cargo.toml @@ -1,22 +1,22 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-accounts-bench" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -log = "0.4.17" -rayon = "1.5.3" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +clap = { workspace = true } +log = { workspace = true } +rayon = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/accounts-cluster-bench/Cargo.toml b/accounts-cluster-bench/Cargo.toml index ae5c10bc4b6b0a..82ee234add2c10 100644 --- a/accounts-cluster-bench/Cargo.toml +++ b/accounts-cluster-bench/Cargo.toml @@ -1,38 +1,38 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-accounts-cluster-bench" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -spl-token = { version = "=3.5.0", features = ["no-entrypoint"] } +clap = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-account-decoder = { workspace = true } +solana-clap-utils = { workspace = true } +solana-client = { workspace = true } +solana-faucet = { workspace = true } +solana-gossip = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-net-utils = { workspace = true } +solana-rpc-client = { workspace = true, features = ["default"] } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +spl-token = { workspace = true, features = ["no-entrypoint"] } [dev-dependencies] -solana-core = { path = "../core", version = "=1.16.0" } -solana-local-cluster = { path = "../local-cluster", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } +solana-core = { workspace = true } +solana-local-cluster = { workspace = true } +solana-test-validator = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/banking-bench/Cargo.toml b/banking-bench/Cargo.toml index be2f9eab7456dd..258f1ba13f5f7c 100644 --- a/banking-bench/Cargo.toml +++ b/banking-bench/Cargo.toml @@ -1,32 +1,32 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-banking-bench" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] clap = { version = "3.1.8", features = ["derive"] } -crossbeam-channel = "0.5" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -solana-client = { path = "../client", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-poh = { path = "../poh", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-version = { path = "../version", version = "=1.16.0" } +crossbeam-channel = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-client = { workspace = true } +solana-core = { workspace = true } +solana-gossip = { workspace = true } +solana-ledger = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-perf = { workspace = true } +solana-poh = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/banks-client/Cargo.toml b/banks-client/Cargo.toml index a2a7114dddbf28..3b1218777ed7d5 100644 --- a/banks-client/Cargo.toml +++ b/banks-client/Cargo.toml @@ -1,28 +1,27 @@ [package] name = "solana-banks-client" -version = "1.16.0" -description = "Solana banks client" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-banks-client" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -borsh = "0.9.3" -futures = "0.3" -solana-banks-interface = { path = "../banks-interface", version = "=1.16.0" } -solana-program = { path = "../sdk/program", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -tarpc = { version = "0.29.0", features = ["full"] } -thiserror = "1.0" -tokio = { version = "~1.14.1", features = ["full"] } -tokio-serde = { version = "0.8", features = ["bincode"] } +borsh = { workspace = true } +futures = { workspace = true } +solana-banks-interface = { workspace = true } +solana-program = { workspace = true } +solana-sdk = { workspace = true } +tarpc = { workspace = true, features = ["full"] } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tokio-serde = { workspace = true, features = ["bincode"] } [dev-dependencies] -solana-banks-server = { path = "../banks-server", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } +solana-banks-server = { workspace = true } +solana-runtime = { workspace = true } [lib] crate-type = ["lib"] diff --git a/banks-interface/Cargo.toml b/banks-interface/Cargo.toml index c7f8de3b70c997..6bf995674c413d 100644 --- a/banks-interface/Cargo.toml +++ b/banks-interface/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-banks-interface" -version = "1.16.0" description = "Solana banks RPC interface" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-banks-interface" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -serde = { version = "1.0.152", features = ["derive"] } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -tarpc = { version = "0.29.0", features = ["full"] } +serde = { workspace = true, features = ["derive"] } +solana-sdk = { workspace = true } +tarpc = { workspace = true, features = ["full"] } [lib] crate-type = ["lib"] diff --git a/banks-server/Cargo.toml b/banks-server/Cargo.toml index 62df720db7773e..e4ada7291afd63 100644 --- a/banks-server/Cargo.toml +++ b/banks-server/Cargo.toml @@ -1,27 +1,27 @@ [package] name = "solana-banks-server" -version = "1.16.0" description = "Solana banks server" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-banks-server" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -crossbeam-channel = "0.5" -futures = "0.3" -solana-banks-interface = { path = "../banks-interface", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.16.0" } -tarpc = { version = "0.29.0", features = ["full"] } -tokio = { version = "1", features = ["full"] } -tokio-serde = { version = "0.8", features = ["bincode"] } -tokio-stream = "0.1" +bincode = { workspace = true } +crossbeam-channel = { workspace = true } +futures = { workspace = true } +solana-banks-interface = { workspace = true } +solana-client = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-send-transaction-service = { workspace = true } +tarpc = { workspace = true, features = ["full"] } +tokio = { workspace = true, features = ["full"] } +tokio-serde = { workspace = true, features = ["bincode"] } +tokio-stream = { workspace = true } [lib] crate-type = ["lib"] diff --git a/bench-streamer/Cargo.toml b/bench-streamer/Cargo.toml index c21857f58b8a4c..2af7ec8f39be94 100644 --- a/bench-streamer/Cargo.toml +++ b/bench-streamer/Cargo.toml @@ -1,19 +1,19 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-bench-streamer" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] clap = { version = "3.1.5", features = ["cargo"] } -crossbeam-channel = "0.5" -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +crossbeam-channel = { workspace = true } +solana-net-utils = { workspace = true } +solana-streamer = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/bench-tps/Cargo.toml b/bench-tps/Cargo.toml index 492f276db7194a..57e899bfc8ec33 100644 --- a/bench-tps/Cargo.toml +++ b/bench-tps/Cargo.toml @@ -1,50 +1,50 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-bench-tps" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -crossbeam-channel = "0.5" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -serde_json = "1.0.83" -serde_yaml = "0.9.13" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-connection-cache = { path = "../connection-cache", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-genesis = { path = "../genesis", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-rpc-client-nonce-utils = { path = "../rpc-client-nonce-utils", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-thin-client = { path = "../thin-client", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-version = { path = "../version", version = "=1.16.0" } -spl-instruction-padding = "0.1" -thiserror = "1.0" +clap = { workspace = true } +crossbeam-channel = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +serde_json = { workspace = true } +serde_yaml = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-client = { workspace = true } +solana-connection-cache = { workspace = true } +solana-core = { workspace = true } +solana-faucet = { workspace = true } +solana-genesis = { workspace = true } +solana-gossip = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-rpc-client-nonce-utils = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-thin-client = { workspace = true } +solana-tpu-client = { workspace = true } +solana-version = { workspace = true } +spl-instruction-padding = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -serial_test = "0.9.0" -solana-local-cluster = { path = "../local-cluster", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } +serial_test = { workspace = true } +solana-local-cluster = { workspace = true } +solana-test-validator = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/bloom/Cargo.toml b/bloom/Cargo.toml index c452fdc4407362..f47fc1f73df431 100644 --- a/bloom/Cargo.toml +++ b/bloom/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "solana-bloom" -version = "1.16.0" description = "Solana bloom filter" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-bloom" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bv = { version = "0.11.1", features = ["serde"] } -fnv = "1.0.7" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -serde = { version = "1.0.152", features = ["rc"] } -serde_derive = "1.0.103" -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } +bv = { workspace = true, features = ["serde"] } +fnv = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +serde = { workspace = true, features = ["rc"] } +serde_derive = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["lib"] @@ -29,4 +29,4 @@ name = "solana_bloom" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } diff --git a/bucket_map/Cargo.toml b/bucket_map/Cargo.toml index fd0be2cdfa0da7..5da8fb56a1a4d2 100644 --- a/bucket_map/Cargo.toml +++ b/bucket_map/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "solana-bucket-map" -version = "1.16.0" description = "solana-bucket-map" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-bucket-map" readme = "../README.md" -repository = "https://github.com/solana-labs/solana" -authors = ["Solana Labs Maintainers "] -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -log = { version = "0.4.17" } -memmap2 = "0.5.8" -modular-bitfield = "0.11.2" -rand = "0.7.0" -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -tempfile = "3.3.0" +log = { workspace = true } +memmap2 = { workspace = true } +modular-bitfield = { workspace = true } +rand = { workspace = true } +solana-measure = { workspace = true } +solana-sdk = { workspace = true } +tempfile = { workspace = true } [dev-dependencies] -fs_extra = "1.2.0" -rayon = "1.5.3" -solana-logger = { path = "../logger", version = "=1.16.0" } +fs_extra = { workspace = true } +rayon = { workspace = true } +solana-logger = { workspace = true } [lib] crate-type = ["lib"] diff --git a/ci/check-channel-version.sh b/ci/check-channel-version.sh index abd9d10634c6e8..6027a9ec73f7e6 100755 --- a/ci/check-channel-version.sh +++ b/ci/check-channel-version.sh @@ -8,7 +8,7 @@ if [[ -z $CI_TAG ]]; then if [[ -n $CHANNEL_LATEST_TAG ]]; then source scripts/read-cargo-variable.sh - version=$(readCargoVariable version "version/Cargo.toml") + version=$(readCargoVariable version Cargo.toml) echo "latest channel tag: $CHANNEL_LATEST_TAG" echo "current version: v$version" diff --git a/clap-utils/Cargo.toml b/clap-utils/Cargo.toml index 925a9747218043..80f7430cbaabc8 100644 --- a/clap-utils/Cargo.toml +++ b/clap-utils/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "solana-clap-utils" -version = "1.16.0" description = "Solana utilities for the clap" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-clap-utils" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -chrono = "0.4" +chrono = { workspace = true, features = ["default"] } clap = "2.33.0" -rpassword = "7.0" -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-remote-wallet = { path = "../remote-wallet", version = "=1.16.0", default-features = false } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0.31" -tiny-bip39 = "0.8.2" -uriparse = "0.6.4" -url = "2.2.2" +rpassword = { workspace = true } +solana-perf = { workspace = true } +solana-remote-wallet = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } +tiny-bip39 = { workspace = true } +uriparse = { workspace = true } +url = { workspace = true } [dev-dependencies] -tempfile = "3.3.0" +tempfile = { workspace = true } [lib] name = "solana_clap_utils" diff --git a/clap-v3-utils/Cargo.toml b/clap-v3-utils/Cargo.toml index 33648d72e0adb9..2582acb3504539 100644 --- a/clap-v3-utils/Cargo.toml +++ b/clap-v3-utils/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "solana-clap-v3-utils" -version = "1.16.0" description = "Solana utilities for the clap v3" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-clap-utils" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -chrono = "0.4" +chrono = { workspace = true, features = ["default"] } clap = { version = "3.1.5", features = ["cargo"] } -rpassword = "7.0" -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-remote-wallet = { path = "../remote-wallet", version = "=1.16.0", default-features = false } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0.31" -tiny-bip39 = "0.8.2" -uriparse = "0.6.4" -url = "2.2.2" +rpassword = { workspace = true } +solana-perf = { workspace = true } +solana-remote-wallet = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } +tiny-bip39 = { workspace = true } +uriparse = { workspace = true } +url = { workspace = true } [dev-dependencies] -tempfile = "3.3.0" +tempfile = { workspace = true } [lib] name = "solana_clap_v3_utils" diff --git a/cli-config/Cargo.toml b/cli-config/Cargo.toml index 0c1c711ee4ce3c..192ab4c23b40ce 100644 --- a/cli-config/Cargo.toml +++ b/cli-config/Cargo.toml @@ -1,26 +1,26 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-cli-config" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-cli-config" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -dirs-next = "2.0.0" -lazy_static = "1.4.0" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_yaml = "0.9.13" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -url = "2.2.2" +dirs-next = { workspace = true } +lazy_static = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_yaml = { workspace = true } +solana-clap-utils = { workspace = true } +solana-sdk = { workspace = true } +url = { workspace = true } [dev-dependencies] -anyhow = "1.0.58" +anyhow = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/cli-output/Cargo.toml b/cli-output/Cargo.toml index e0da26f6694bb5..b397c6d498b0de 100644 --- a/cli-output/Cargo.toml +++ b/cli-output/Cargo.toml @@ -1,37 +1,37 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-cli-output" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-cli-output" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -Inflector = "0.11.4" -base64 = "0.13.0" -chrono = { version = "0.4.22", features = ["serde"] } +Inflector = { workspace = true } +base64 = { workspace = true } +chrono = { workspace = true, features = ["default", "serde"] } clap = "2.33.0" -console = "0.15.0" -humantime = "2.0.1" -indicatif = "0.17.1" -pretty-hex = "0.3.0" -semver = "1.0.16" -serde = "1.0.152" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] } +console = { workspace = true } +humantime = { workspace = true } +indicatif = { workspace = true } +pretty-hex = { workspace = true } +semver = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +solana-vote-program = { workspace = true } +spl-memo = { workspace = true, features = ["no-entrypoint"] } [dev-dependencies] -ed25519-dalek = "=1.0.1" +ed25519-dalek = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 494ec1110c18be..50aa3f67bf5101 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,69 +1,62 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-cli" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-cli" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -bs58 = "0.4.0" -clap = "2.33.1" -console = "0.15.0" -const_format = "0.2.26" -criterion-stats = "0.3.0" -crossbeam-channel = "0.5" -ctrlc = { version = "3.2.3", features = ["termination"] } -humantime = "2.0.1" -log = "0.4.17" -num-traits = "0.2" -pretty-hex = "0.3.0" -reqwest = { version = "0.11.12", default-features = false, features = [ - "blocking", - "brotli", - "deflate", - "gzip", - "rustls-tls", - "json" -] } -semver = "1.0.16" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-address-lookup-table-program = { path = "../programs/address-lookup-table", version = "=1.16.0" } -solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.16.0" } -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-cli-output = { path = "../cli-output", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-config-program = { path = "../programs/config", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-pubsub-client = { path = "../pubsub-client", version = "=1.16.0" } -solana-remote-wallet = { path = "../remote-wallet", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-rpc-client-nonce-utils = { path = "../rpc-client-nonce-utils", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -solana_rbpf = "=0.2.39" -spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] } -thiserror = "1.0.31" -tiny-bip39 = "0.8.2" +bincode = { workspace = true } +bs58 = { workspace = true } +clap = { workspace = true } +console = { workspace = true } +const_format = { workspace = true } +criterion-stats = { workspace = true } +crossbeam-channel = { workspace = true } +ctrlc = { workspace = true, features = ["termination"] } +humantime = { workspace = true } +log = { workspace = true } +num-traits = { workspace = true } +pretty-hex = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +semver = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-cli-output = { workspace = true } +solana-client = { workspace = true } +solana-config-program = { workspace = true } +solana-faucet = { workspace = true } +solana-logger = { workspace = true } +solana-program-runtime = { workspace = true } +solana-pubsub-client = { workspace = true } +solana-remote-wallet = { workspace = true, features = ["default"] } +solana-rpc-client = { workspace = true, features = ["default"] } +solana-rpc-client-api = { workspace = true } +solana-rpc-client-nonce-utils = { workspace = true } +solana-sdk = { workspace = true } +solana-tpu-client = { workspace = true, features = ["default"] } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +solana_rbpf = { workspace = true } +spl-memo = { workspace = true, features = ["no-entrypoint"] } +thiserror = { workspace = true } +tiny-bip39 = { workspace = true } [dev-dependencies] -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } -tempfile = "3.3.0" +solana-streamer = { workspace = true } +solana-test-validator = { workspace = true } +tempfile = { workspace = true } [[bin]] name = "solana" diff --git a/client-test/Cargo.toml b/client-test/Cargo.toml index 60448a36a9a375..d069f59711e579 100644 --- a/client-test/Cargo.toml +++ b/client-test/Cargo.toml @@ -1,40 +1,40 @@ [package] name = "solana-client-test" -version = "1.16.0" description = "Solana RPC Test" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-client-test" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -futures-util = "0.3.26" -serde_json = "1.0.83" -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-merkle-tree = { path = "../merkle-tree", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-pubsub-client = { path = "../pubsub-client", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -systemstat = "0.2.0" -tokio = { version = "~1.14.1", features = ["full"] } -tungstenite = { version = "0.17.2", features = ["rustls-tls-webpki-roots"] } +futures-util = { workspace = true } +serde_json = { workspace = true } +solana-ledger = { workspace = true } +solana-measure = { workspace = true } +solana-merkle-tree = { workspace = true } +solana-metrics = { workspace = true } +solana-perf = { workspace = true } +solana-pubsub-client = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-test-validator = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +systemstat = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tungstenite = { workspace = true, features = ["rustls-tls-webpki-roots"] } [dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/client/Cargo.toml b/client/Cargo.toml index a94dc0c4a01662..b45d28bfd96c29 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -10,39 +10,38 @@ license = "Apache-2.0" edition = "2021" [dependencies] -async-trait = "0.1.57" -bincode = "1.3.3" -enum_dispatch = "0.3.8" -futures = "0.3" -futures-util = "0.3.26" -indexmap = "1.9.1" -indicatif = { version = "0.17.1" } -log = "0.4.17" -quinn = "0.9.3" -rand = "0.7.0" -rayon = "1.5.3" - -solana-connection-cache = { path = "../connection-cache", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-pubsub-client = { path = "../pubsub-client", version = "=1.16.0" } -solana-quic-client = { path = "../quic-client", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-rpc-client-nonce-utils = { path = "../rpc-client-nonce-utils", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-thin-client = { path = "../thin-client", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0" } -solana-udp-client = { path = "../udp-client", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +async-trait = { workspace = true } +bincode = { workspace = true } +enum_dispatch = { workspace = true } +futures = { workspace = true } +futures-util = { workspace = true } +indexmap = { workspace = true } +indicatif = { workspace = true } +log = { workspace = true } +quinn = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-connection-cache = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-pubsub-client = { workspace = true } +solana-quic-client = { workspace = true } +solana-rpc-client = { workspace = true, features = ["default"] } +solana-rpc-client-api = { workspace = true } +solana-rpc-client-nonce-utils = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-thin-client = { workspace = true } +solana-tpu-client = { workspace = true, features = ["default"] } +solana-udp-client = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } [dev-dependencies] -crossbeam-channel = "0.5" -rand_chacha = "0.2.2" -solana-logger = { path = "../logger", version = "=1.16.0" } +crossbeam-channel = { workspace = true } +rand_chacha = { workspace = true } +solana-logger = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/core/Cargo.toml b/core/Cargo.toml index c1d407dca6524b..5e2e7ceca6fbaa 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,91 +1,91 @@ [package] name = "solana-core" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-core" readme = "../README.md" -repository = "https://github.com/solana-labs/solana" -authors = ["Solana Labs Maintainers "] -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [badges] codecov = { repository = "solana-labs/solana", branch = "master", service = "github" } [dependencies] -ahash = "0.7.6" -base64 = "0.13.0" -bincode = "1.3.3" -bs58 = "0.4.0" -chrono = { version = "0.4.22", features = ["serde"] } -crossbeam-channel = "0.5" -dashmap = { version = "4.0.2", features = ["rayon", "raw-api"] } -eager = "0.1.0" -etcd-client = { version = "0.8.1", features = ["tls"] } -fs_extra = "1.2.0" -histogram = "0.6.9" -itertools = "0.10.5" -lazy_static = "1.4.0" -log = "0.4.17" -lru = "0.7.7" -min-max-heap = "1.3.0" -num_enum = "0.5.7" -rand = "0.7.0" -rand_chacha = "0.2.2" -rayon = "1.5.3" -rolling-file = "0.2.0" -serde = "1.0.152" -serde_derive = "1.0.103" -solana-address-lookup-table-program = { path = "../programs/address-lookup-table", version = "=1.16.0" } -solana-bloom = { path = "../bloom", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-geyser-plugin-manager = { path = "../geyser-plugin-manager", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-poh = { path = "../poh", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -sys-info = "0.9.1" -tempfile = "3.3.0" -thiserror = "1.0" -tokio = { version = "~1.14.1", features = ["full"] } -trees = "0.4.2" +ahash = { workspace = true } +base64 = { workspace = true } +bincode = { workspace = true } +bs58 = { workspace = true } +chrono = { workspace = true, features = ["default", "serde"] } +crossbeam-channel = { workspace = true } +dashmap = { workspace = true, features = ["rayon", "raw-api"] } +eager = { workspace = true } +etcd-client = { workspace = true, features = ["tls"] } +fs_extra = { workspace = true } +histogram = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +lru = { workspace = true } +min-max-heap = { workspace = true } +num_enum = { workspace = true } +rand = { workspace = true } +rand_chacha = { workspace = true } +rayon = { workspace = true } +rolling-file = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-bloom = { workspace = true } +solana-client = { workspace = true } +solana-entry = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-geyser-plugin-manager = { workspace = true } +solana-gossip = { workspace = true } +solana-ledger = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-perf = { workspace = true } +solana-poh = { workspace = true } +solana-program-runtime = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-send-transaction-service = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +sys-info = { workspace = true } +tempfile = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } +trees = { workspace = true } [dev-dependencies] -matches = "0.1.9" -raptorq = "1.7.0" -serde_json = "1.0.83" -serial_test = "0.9.0" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -static_assertions = "1.1.0" -systemstat = "0.2.0" -test-case = "2.2.2" +matches = { workspace = true } +raptorq = { workspace = true } +serde_json = { workspace = true } +serial_test = { workspace = true } +solana-logger = { workspace = true } +solana-program-runtime = { workspace = true } +solana-stake-program = { workspace = true } +static_assertions = { workspace = true } +systemstat = { workspace = true } +test-case = { workspace = true } [target."cfg(unix)".dependencies] -sysctl = "0.4.4" +sysctl = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [[bench]] name = "banking_stage" diff --git a/dos/Cargo.toml b/dos/Cargo.toml index 77399fae0123bb..74df5eef2a3fc3 100644 --- a/dos/Cargo.toml +++ b/dos/Cargo.toml @@ -10,33 +10,33 @@ publish = false description = "Tool to send various requests to cluster in order to evaluate the effect on performance" [dependencies] -bincode = "1.3.3" +bincode = { workspace = true } clap = { version = "3.1.5", features = ["derive", "cargo"] } -crossbeam-channel = "0.5.6" -itertools = "0.10.5" -log = "0.4.17" -rand = "0.7.0" -serde = "1.0.152" -solana-bench-tps = { path = "../bench-tps", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-version = { path = "../version", version = "=1.16.0" } +crossbeam-channel = { workspace = true } +itertools = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +serde = { workspace = true } +solana-bench-tps = { workspace = true } +solana-client = { workspace = true } +solana-core = { workspace = true } +solana-faucet = { workspace = true } +solana-gossip = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-net-utils = { workspace = true } +solana-perf = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dev-dependencies] -serial_test = "0.9.0" -solana-local-cluster = { path = "../local-cluster", version = "=1.16.0" } -solana-thin-client = { path = "../thin-client", version = "=1.16.0" } +serial_test = { workspace = true } +solana-local-cluster = { workspace = true } +solana-thin-client = { workspace = true } diff --git a/download-utils/Cargo.toml b/download-utils/Cargo.toml index 6aab35dadc73d7..66e8334ab3c09e 100644 --- a/download-utils/Cargo.toml +++ b/download-utils/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "solana-download-utils" -version = "1.16.0" description = "Solana Download Utils" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-download-utils" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -console = "0.15.0" -indicatif = "0.17.1" -log = "0.4.17" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } +console = { workspace = true } +indicatif = { workspace = true } +log = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["lib"] diff --git a/entry/Cargo.toml b/entry/Cargo.toml index 47b01914b4f4d0..bdf9f9fb53827e 100644 --- a/entry/Cargo.toml +++ b/entry/Cargo.toml @@ -10,25 +10,25 @@ documentation = "https://docs.rs/solana-poh" edition = "2021" [dependencies] -bincode = "1.3.3" -crossbeam-channel = "0.5" -dlopen = "0.1.8" -dlopen_derive = "0.1.4" -lazy_static = "1.4.0" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -serde = "1.0.152" -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-merkle-tree = { path = "../merkle-tree", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } +bincode = { workspace = true } +crossbeam-channel = { workspace = true } +dlopen = { workspace = true } +dlopen_derive = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +serde = { workspace = true } +solana-measure = { workspace = true } +solana-merkle-tree = { workspace = true } +solana-metrics = { workspace = true } +solana-perf = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-sdk = { workspace = true } [dev-dependencies] -matches = "0.1.9" -solana-logger = { path = "../logger", version = "=1.16.0" } +matches = { workspace = true } +solana-logger = { workspace = true } [lib] crate-type = ["lib"] diff --git a/faucet/Cargo.toml b/faucet/Cargo.toml index 54b76fa427ae2c..cc88839bc03f7e 100644 --- a/faucet/Cargo.toml +++ b/faucet/Cargo.toml @@ -1,31 +1,31 @@ [package] name = "solana-faucet" -version = "1.16.0" description = "Solana Faucet" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-faucet" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -byteorder = "1.4.3" -clap = "2.33" -crossbeam-channel = "0.5" -log = "0.4.17" -serde = "1.0.152" -serde_derive = "1.0.103" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +bincode = { workspace = true } +byteorder = { workspace = true } +clap = { workspace = true } +crossbeam-channel = { workspace = true } +log = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-logger = { workspace = true } +solana-metrics = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } +spl-memo = { workspace = true, features = ["no-entrypoint"] } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } [lib] crate-type = ["lib"] diff --git a/frozen-abi/Cargo.toml b/frozen-abi/Cargo.toml index 51e6b6d7e9f1eb..00881f856595e5 100644 --- a/frozen-abi/Cargo.toml +++ b/frozen-abi/Cargo.toml @@ -1,49 +1,46 @@ [package] name = "solana-frozen-abi" -version = "1.16.0" description = "Solana Frozen ABI" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-frozen-abi" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bs58 = "0.4.0" -bv = { version = "0.11.1", features = ["serde"] } -lazy_static = "1.4.0" -log = { version = "0.4.17", features = ["std"] } -once_cell = "1.13.0" -serde = { version = "1.0", features = ["derive", "rc"] } -serde_bytes = "0.11" -serde_derive = "1.0" -serde_json = "1.0" -sha2 = "0.10.6" -solana-frozen-abi-macro = { path = "macro", version = "=1.16.0" } -thiserror = "1.0" +bs58 = { workspace = true } +bv = { workspace = true, features = ["serde"] } +lazy_static = { workspace = true } +log = { workspace = true, features = ["std"] } +once_cell = { workspace = true } +serde = { workspace = true, features = ["derive", "rc"] } +serde_bytes = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +sha2 = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +thiserror = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dependencies] -ahash = { version = "0.7.6", features = ["default", "std"] } -blake3 = { version = "1.3.1", features = ["digest", "traits-preview"] } -block-buffer = { version = "0.9.0", features = ["block-padding"] } -byteorder = { version = "1.4.3", features = ["default", "i128", "std"] } -cc = { version = "1.0.79", features = ["jobserver", "parallel"] } -either = { version = "1.8.0", features = ["use_std"] } -generic-array = { version = "0.14.6", default-features = false, features = [ - "serde", - "more_lengths" -] } -getrandom = { version = "0.1", features = ["dummy"] } -hashbrown = { version = "0.12", features = ["raw"] } -im = { version = "15.1.0", features = ["rayon", "serde"] } -memmap2 = "0.5.8" -once_cell = { version = "1.13", features = ["alloc", "default", "race", "std"] } -rand_core = { version = "0.6.4", features = ["alloc", "getrandom", "std"] } -subtle = { version = "2.4.1", features = ["default", "i128", "std"] } +ahash = { workspace = true } +blake3 = { workspace = true, features = ["digest", "traits-preview"] } +block-buffer = { workspace = true, features = ["block-padding"] } +byteorder = { workspace = true, features = ["i128"] } +cc = { workspace = true, features = ["jobserver", "parallel"] } +either = { workspace = true, features = ["use_std"] } +generic-array = { workspace = true, features = ["serde", "more_lengths"] } +getrandom = { workspace = true, features = ["dummy"] } +hashbrown = { workspace = true, features = ["raw"] } +im = { workspace = true, features = ["rayon", "serde"] } +memmap2 = { workspace = true } +once_cell = { workspace = true, features = ["alloc", "race"] } +rand_core = { workspace = true, features = ["std"] } +subtle = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } diff --git a/frozen-abi/macro/Cargo.toml b/frozen-abi/macro/Cargo.toml index 0aeb53b3c84e4d..55c358727f0771 100644 --- a/frozen-abi/macro/Cargo.toml +++ b/frozen-abi/macro/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "solana-frozen-abi-macro" -version = "1.16.0" description = "Solana Frozen ABI Macro" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-frozen-abi-macro" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [lib] proc-macro = true [dependencies] -proc-macro2 = "1.0" -quote = "1.0" -syn = { version = "1.0", features = ["full", "extra-traits", "visit-mut"] } +proc-macro2 = { workspace = true } +quote = { workspace = true } +syn = { workspace = true, features = ["full", "extra-traits", "visit-mut"] } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } diff --git a/genesis-utils/Cargo.toml b/genesis-utils/Cargo.toml index d7088aa5376ad8..2ab1c1bd21fbca 100644 --- a/genesis-utils/Cargo.toml +++ b/genesis-utils/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-genesis-utils" -version = "1.16.0" description = "Solana Genesis Utils" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-download-utils" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-download-utils = { path = "../download-utils", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } +solana-download-utils = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["lib"] diff --git a/genesis/Cargo.toml b/genesis/Cargo.toml index eb7eecbd6715f9..1c5aaee9a4ee88 100644 --- a/genesis/Cargo.toml +++ b/genesis/Cargo.toml @@ -1,32 +1,32 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-genesis" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-genesis" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -base64 = "0.13.0" -bincode = "1.3.3" -clap = "2.33.1" -serde = "1.0.152" -serde_json = "1.0.83" -serde_yaml = "0.9.13" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -tempfile = "3.3.0" +base64 = { workspace = true } +bincode = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +serde_yaml = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-entry = { workspace = true } +solana-ledger = { workspace = true } +solana-logger = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-stake-program = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +tempfile = { workspace = true } [[bin]] name = "solana-genesis" diff --git a/geyser-plugin-interface/Cargo.toml b/geyser-plugin-interface/Cargo.toml index 1b4e6508b630a5..af99758b47d630 100644 --- a/geyser-plugin-interface/Cargo.toml +++ b/geyser-plugin-interface/Cargo.toml @@ -1,19 +1,19 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-geyser-plugin-interface" description = "The Solana Geyser plugin interface." -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-geyser-plugin-interface" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -log = "0.4.17" -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -thiserror = "1.0.31" +log = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +thiserror = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/geyser-plugin-manager/Cargo.toml b/geyser-plugin-manager/Cargo.toml index 8a17c609951af3..3cdbc0bc0c890b 100644 --- a/geyser-plugin-manager/Cargo.toml +++ b/geyser-plugin-manager/Cargo.toml @@ -1,29 +1,29 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-geyser-plugin-manager" description = "The Solana Geyser plugin manager." -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-geyser-plugin-manager" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bs58 = "0.4.0" -crossbeam-channel = "0.5" -json5 = "0.4.1" -libloading = "0.7.4" -log = "0.4.17" -serde_json = "1.0.83" -solana-geyser-plugin-interface = { path = "../geyser-plugin-interface", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -thiserror = "1.0.31" +bs58 = { workspace = true } +crossbeam-channel = { workspace = true } +json5 = { workspace = true } +libloading = { workspace = true } +log = { workspace = true } +serde_json = { workspace = true } +solana-geyser-plugin-interface = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-rpc = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +thiserror = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/gossip/Cargo.toml b/gossip/Cargo.toml index 608cf500e89afb..60ecf66d4480f2 100644 --- a/gossip/Cargo.toml +++ b/gossip/Cargo.toml @@ -1,62 +1,62 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-gossip" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-gossip" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -bv = { version = "0.11.1", features = ["serde"] } -clap = "2.33.1" -crossbeam-channel = "0.5" -flate2 = "1.0" -indexmap = { version = "1.9", features = ["rayon"] } -itertools = "0.10.5" -log = "0.4.17" -lru = "0.7.7" -matches = "0.1.9" -num-traits = "0.2" -rand = "0.7.0" -rand_chacha = "0.2.2" -rayon = "1.5.3" -serde = "1.0.152" -serde_bytes = "0.11" -serde_derive = "1.0.103" -solana-bloom = { path = "../bloom", version = "=1.16.0" } -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-thin-client = { path = "../thin-client", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -static_assertions = "1.1.0" -thiserror = "1.0" +bincode = { workspace = true } +bv = { workspace = true, features = ["serde"] } +clap = { workspace = true } +crossbeam-channel = { workspace = true } +flate2 = { workspace = true } +indexmap = { workspace = true, features = ["rayon"] } +itertools = { workspace = true } +log = { workspace = true } +lru = { workspace = true } +matches = { workspace = true } +num-traits = { workspace = true } +rand = { workspace = true } +rand_chacha = { workspace = true } +rayon = { workspace = true } +serde = { workspace = true } +serde_bytes = { workspace = true } +serde_derive = { workspace = true } +solana-bloom = { workspace = true } +solana-clap-utils = { workspace = true } +solana-client = { workspace = true } +solana-entry = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-ledger = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-perf = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-thin-client = { workspace = true } +solana-tpu-client = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +static_assertions = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -num_cpus = "1.13.1" -regex = "1" -serial_test = "0.9.0" +num_cpus = { workspace = true } +regex = { workspace = true } +serial_test = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [[bench]] name = "crds" diff --git a/install/Cargo.toml b/install/Cargo.toml index 72b265a857ba3b..9cdf713f9bc4b5 100644 --- a/install/Cargo.toml +++ b/install/Cargo.toml @@ -1,45 +1,45 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-install" description = "The solana cluster software installer" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-install" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -atty = "0.2.11" -bincode = "1.3.3" -bzip2 = "0.4.4" -chrono = { version = "0.4.22", features = ["serde"] } -clap = { version = "2.33.1" } -console = "0.15.0" -crossbeam-channel = "0.5" -ctrlc = { version = "3.2.3", features = ["termination"] } -dirs-next = "2.0.0" -indicatif = "0.17.1" -lazy_static = "1.4.0" -nix = "0.25.0" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -scopeguard = "1.1.0" -semver = "1.0.16" -serde = { version = "1.0.152", features = ["derive"] } -serde_yaml = "0.9.13" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-config-program = { path = "../programs/config", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -tar = "0.4.38" -tempfile = "3.3.0" -url = "2.2.2" +atty = { workspace = true } +bincode = { workspace = true } +bzip2 = { workspace = true } +chrono = { workspace = true, features = ["default", "serde"] } +clap = { workspace = true } +console = { workspace = true } +crossbeam-channel = { workspace = true } +ctrlc = { workspace = true, features = ["termination"] } +dirs-next = { workspace = true } +indicatif = { workspace = true } +lazy_static = { workspace = true } +nix = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +scopeguard = { workspace = true } +semver = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_yaml = { workspace = true } +solana-clap-utils = { workspace = true } +solana-config-program = { workspace = true } +solana-logger = { workspace = true } +solana-rpc-client = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } +tar = { workspace = true } +tempfile = { workspace = true } +url = { workspace = true } [target."cfg(windows)".dependencies] -winapi = "0.3.8" -winreg = "0.10" +winapi = { workspace = true } +winreg = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/keygen/Cargo.toml b/keygen/Cargo.toml index 78d2fdd0749509..c1ba0ed52b035e 100644 --- a/keygen/Cargo.toml +++ b/keygen/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "solana-keygen" -version = "1.16.0" description = "Solana key generation utility" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-keygen" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bs58 = "0.4.0" +bs58 = { workspace = true } clap = { version = "3.1.5", features = ["cargo"] } -dirs-next = "2.0.0" -num_cpus = "1.13.1" -solana-clap-v3-utils = { path = "../clap-v3-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-remote-wallet = { path = "../remote-wallet", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -tiny-bip39 = "0.8.2" +dirs-next = { workspace = true } +num_cpus = { workspace = true } +solana-clap-v3-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-remote-wallet = { workspace = true, features = ["default"] } +solana-sdk = { workspace = true } +solana-version = { workspace = true } +tiny-bip39 = { workspace = true } [[bin]] name = "solana-keygen" diff --git a/ledger-tool/Cargo.toml b/ledger-tool/Cargo.toml index 930b69cb27cd80..09a7c622327710 100644 --- a/ledger-tool/Cargo.toml +++ b/ledger-tool/Cargo.toml @@ -1,57 +1,57 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-ledger-tool" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-ledger-tool" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bs58 = "0.4.0" -chrono = "0.4.22" -clap = "2.33.1" -crossbeam-channel = "0.5" -csv = "1.1.6" -dashmap = "4.0.2" -futures = "0.3" -histogram = "0.6.9" -itertools = "0.10.5" -log = { version = "0.4.17" } -num_cpus = "1.13.1" -regex = "1" -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-output = { path = "../cli-output", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-geyser-plugin-manager = { path = "../geyser-plugin-manager", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -tokio = { version = "1", features = ["full"] } +bs58 = { workspace = true } +chrono = { workspace = true, features = ["default"] } +clap = { workspace = true } +crossbeam-channel = { workspace = true } +csv = { workspace = true } +dashmap = { workspace = true } +futures = { workspace = true } +histogram = { workspace = true } +itertools = { workspace = true } +log = { workspace = true } +num_cpus = { workspace = true } +regex = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-output = { workspace = true } +solana-core = { workspace = true } +solana-entry = { workspace = true } +solana-geyser-plugin-manager = { workspace = true } +solana-ledger = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-rpc = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-stake-program = { workspace = true } +solana-storage-bigtable = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +tokio = { workspace = true, features = ["full"] } [target.'cfg(not(target_env = "msvc"))'.dependencies] -jemallocator = { package = "tikv-jemallocator", version = "0.4.1", features = ["unprefixed_malloc_on_supported_platforms"] } +jemallocator = { workspace = true } [dev-dependencies] -assert_cmd = "2.0" -bytecount = "0.6.3" +assert_cmd = { workspace = true } +bytecount = { workspace = true } [target."cfg(unix)".dependencies] -signal-hook = "0.3.14" +signal-hook = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/ledger/Cargo.toml b/ledger/Cargo.toml index dc453ece60dc88..34edc494451fad 100644 --- a/ledger/Cargo.toml +++ b/ledger/Cargo.toml @@ -1,65 +1,65 @@ [package] name = "solana-ledger" -version = "1.16.0" description = "Solana ledger" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-ledger" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -assert_matches = "1.5.0" -bincode = "1.3.3" -bitflags = "1.3.1" -byteorder = "1.4.3" -chrono = { version = "0.4.22", features = ["serde"] } -chrono-humanize = "0.2.1" -crossbeam-channel = "0.5" -dashmap = { version = "4.0.2", features = ["rayon", "raw-api"] } -fs_extra = "1.2.0" -futures = "0.3.24" -itertools = "0.10.5" -lazy_static = "1.4.0" -libc = "0.2.131" -log = { version = "0.4.17" } -lru = "0.7.7" -num_cpus = "1.13.1" -num_enum = "0.5.7" -prost = "0.11.6" -rand = "0.7.0" -rand_chacha = "0.2.2" -rayon = "1.5.3" -reed-solomon-erasure = { version = "6.0.0", features = ["simd-accel"] } -serde = "1.0.152" -serde_bytes = "0.11.9" -sha2 = "0.10.6" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.16.0" } -solana-storage-proto = { path = "../storage-proto", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -spl-token = { version = "=3.5.0", features = ["no-entrypoint"] } -spl-token-2022 = { version = "=0.5.0", features = ["no-entrypoint"] } -static_assertions = "1.1.0" -tempfile = "3.3.0" -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } -tokio-stream = "0.1" -trees = "0.4.2" +assert_matches = { workspace = true } +bincode = { workspace = true } +bitflags = { workspace = true } +byteorder = { workspace = true } +chrono = { workspace = true, features = ["default", "serde"] } +chrono-humanize = { workspace = true } +crossbeam-channel = { workspace = true } +dashmap = { workspace = true, features = ["rayon", "raw-api"] } +fs_extra = { workspace = true } +futures = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +libc = { workspace = true } +log = { workspace = true } +lru = { workspace = true } +num_cpus = { workspace = true } +num_enum = { workspace = true } +prost = { workspace = true } +rand = { workspace = true } +rand_chacha = { workspace = true } +rayon = { workspace = true } +reed-solomon-erasure = { workspace = true, features = ["simd-accel"] } +serde = { workspace = true } +serde_bytes = { workspace = true } +sha2 = { workspace = true } +solana-account-decoder = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-entry = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-perf = { workspace = true } +solana-program-runtime = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-stake-program = { workspace = true } +solana-storage-bigtable = { workspace = true } +solana-storage-proto = { workspace = true } +solana-transaction-status = { workspace = true } +solana-vote-program = { workspace = true } +spl-token = { workspace = true, features = ["no-entrypoint"] } +spl-token-2022 = { workspace = true, features = ["no-entrypoint"] } +static_assertions = { workspace = true } +tempfile = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tokio-stream = { workspace = true } +trees = { workspace = true } [dependencies.rocksdb] # Avoid the vendored bzip2 within rocksdb-sys that can cause linker conflicts @@ -69,14 +69,14 @@ default-features = false features = ["lz4"] [dev-dependencies] -bs58 = "0.4.0" -matches = "0.1.9" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -test-case = "2.2.2" +bs58 = { workspace = true } +matches = { workspace = true } +solana-account-decoder = { workspace = true } +solana-logger = { workspace = true } +test-case = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [lib] crate-type = ["lib"] diff --git a/local-cluster/Cargo.toml b/local-cluster/Cargo.toml index 6a39ea58d63511..2bf6ef4087c75e 100644 --- a/local-cluster/Cargo.toml +++ b/local-cluster/Cargo.toml @@ -1,45 +1,45 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-local-cluster" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-local-cluster" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -crossbeam-channel = "0.5" -fs_extra = "1.2.0" -itertools = "0.10.5" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -solana-client = { path = "../client", version = "=1.16.0" } -solana-config-program = { path = "../programs/config", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-pubsub-client = { path = "../pubsub-client", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-thin-client = { path = "../thin-client", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -tempfile = "3.3.0" +crossbeam-channel = { workspace = true } +fs_extra = { workspace = true } +itertools = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-client = { workspace = true } +solana-config-program = { workspace = true } +solana-core = { workspace = true } +solana-entry = { workspace = true } +solana-gossip = { workspace = true } +solana-ledger = { workspace = true } +solana-pubsub-client = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-stake-program = { workspace = true } +solana-streamer = { workspace = true } +solana-thin-client = { workspace = true } +solana-tpu-client = { workspace = true } +solana-vote-program = { workspace = true } +tempfile = { workspace = true } [dev-dependencies] -assert_matches = "1.5.0" -gag = "1.0.0" -serial_test = "0.9.0" -solana-download-utils = { path = "../download-utils", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } +assert_matches = { workspace = true } +gag = { workspace = true } +serial_test = { workspace = true } +solana-download-utils = { workspace = true } +solana-logger = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/log-analyzer/Cargo.toml b/log-analyzer/Cargo.toml index 9fa676cf8384b8..21df3661ddd0ea 100644 --- a/log-analyzer/Cargo.toml +++ b/log-analyzer/Cargo.toml @@ -1,21 +1,21 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-log-analyzer" description = "The solana cluster network analysis tool" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -byte-unit = "4.0.14" +byte-unit = { workspace = true } clap = { version = "3.1.5", features = ["cargo"] } -serde = "1.0.152" -serde_json = "1.0.83" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +serde = { workspace = true } +serde_json = { workspace = true } +solana-logger = { workspace = true } +solana-version = { workspace = true } [[bin]] name = "solana-log-analyzer" diff --git a/logger/Cargo.toml b/logger/Cargo.toml index 5e70276e7189c6..920d8e7a490488 100644 --- a/logger/Cargo.toml +++ b/logger/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-logger" -version = "1.16.0" description = "Solana Logger" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-logger" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -env_logger = "0.9.3" -lazy_static = "1.4.0" -log = "0.4.17" +env_logger = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } [lib] name = "solana_logger" diff --git a/measure/Cargo.toml b/measure/Cargo.toml index cd3db9cc5c36f5..a35dbe4579a6a7 100644 --- a/measure/Cargo.toml +++ b/measure/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-measure" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-measure" readme = "../README.md" -repository = "https://github.com/solana-labs/solana" -authors = ["Solana Labs Maintainers "] -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -log = "0.4.17" -solana-sdk = { path = "../sdk", version = "=1.16.0" } +log = { workspace = true } +solana-sdk = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/memory-management/Cargo.toml b/memory-management/Cargo.toml index 1d0c24e94437b0..bac18aaea0e791 100644 --- a/memory-management/Cargo.toml +++ b/memory-management/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "solana-memory-management" -version = "1.16.0" description = "Solana memory management" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } diff --git a/merkle-root-bench/Cargo.toml b/merkle-root-bench/Cargo.toml index 338bc83a539eef..5d58a7e88798fd 100644 --- a/merkle-root-bench/Cargo.toml +++ b/merkle-root-bench/Cargo.toml @@ -1,21 +1,21 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-merkle-root-bench" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -log = "0.4.17" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +clap = { workspace = true } +log = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/merkle-tree/Cargo.toml b/merkle-tree/Cargo.toml index 1e69992554e781..d71dc7fcc4f22b 100644 --- a/merkle-tree/Cargo.toml +++ b/merkle-tree/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "solana-merkle-tree" -version = "1.16.0" description = "Solana Merkle Tree" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-merkle-tree" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -fast-math = "0.1" -solana-program = { path = "../sdk/program", version = "=1.16.0" } +fast-math = { workspace = true } +solana-program = { workspace = true } # This can go once the SBF toolchain target Rust 1.42.0+ [target.bpfel-unknown-unknown.dependencies] -matches = "0.1.9" +matches = { workspace = true } [dev-dependencies] -hex = "0.4.3" +hex = { workspace = true } [lib] crate-type = ["lib"] diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml index aefa000f439004..0cb3041bab6639 100644 --- a/metrics/Cargo.toml +++ b/metrics/Cargo.toml @@ -1,26 +1,26 @@ [package] name = "solana-metrics" -version = "1.16.0" description = "Solana Metrics" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-metrics" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -crossbeam-channel = "0.5" -gethostname = "0.2.3" -lazy_static = "1.4.0" -log = "0.4.17" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -solana-sdk = { path = "../sdk", version = "=1.16.0" } +crossbeam-channel = { workspace = true } +gethostname = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +solana-sdk = { workspace = true } [dev-dependencies] -env_logger = "0.9.3" -rand = "0.7.0" -serial_test = "0.9.0" +env_logger = { workspace = true } +rand = { workspace = true } +serial_test = { workspace = true } [lib] name = "solana_metrics" diff --git a/net-shaper/Cargo.toml b/net-shaper/Cargo.toml index 1b7107205e52c7..8e6a46853fc3aa 100644 --- a/net-shaper/Cargo.toml +++ b/net-shaper/Cargo.toml @@ -1,20 +1,20 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-net-shaper" description = "The solana cluster network shaping tool" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] clap = { version = "3.1.5", features = ["cargo"] } -rand = "0.7.0" -serde = { version = "1.0.152", features = ["derive"] } -serde_json = "1.0.83" -solana-logger = { path = "../logger", version = "=1.16.0" } +rand = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +solana-logger = { workspace = true } [[bin]] name = "solana-net-shaper" diff --git a/net-utils/Cargo.toml b/net-utils/Cargo.toml index 4c0240755c2f4a..0d8a82f7a994cd 100644 --- a/net-utils/Cargo.toml +++ b/net-utils/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "solana-net-utils" -version = "1.16.0" description = "Solana Network Utilities" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-net-utils" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" +bincode = { workspace = true } clap = { version = "3.1.5", features = ["cargo"] } -crossbeam-channel = "0.5" -log = "0.4.17" -nix = "0.25.0" -rand = "0.7.0" -serde = "1.0.152" -serde_derive = "1.0.103" -socket2 = "0.4.7" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -tokio = { version = "1", features = ["full"] } -url = "2.2.2" +crossbeam-channel = { workspace = true } +log = { workspace = true } +nix = { workspace = true } +rand = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +socket2 = { workspace = true } +solana-logger = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } +tokio = { workspace = true, features = ["full"] } +url = { workspace = true } [lib] name = "solana_net_utils" diff --git a/notifier/Cargo.toml b/notifier/Cargo.toml index b0e51c8d7fd1b7..7325d6e703e58a 100644 --- a/notifier/Cargo.toml +++ b/notifier/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "solana-notifier" -version = "1.16.0" description = "Solana Notifier" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-notifier" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -log = "0.4.17" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -serde_json = "1.0" -solana-sdk = { path = "../sdk", version = "=1.16.0" } +log = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +serde_json = { workspace = true } +solana-sdk = { workspace = true } [lib] name = "solana_notifier" diff --git a/perf/Cargo.toml b/perf/Cargo.toml index 7be69889d60fcf..1d0bad068ec1f6 100644 --- a/perf/Cargo.toml +++ b/perf/Cargo.toml @@ -10,34 +10,34 @@ documentation = "https://docs.rs/solana-perf" edition = "2021" [dependencies] -ahash = "0.7.6" -bincode = "1.3.3" -bv = { version = "0.11.1", features = ["serde"] } -curve25519-dalek = { version = "3" } -dlopen = "0.1.8" -dlopen_derive = "0.1.4" -fnv = "1.0.7" -lazy_static = "1.4.0" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -serde = "1.0.152" -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } +ahash = { workspace = true } +bincode = { workspace = true } +bv = { workspace = true, features = ["serde"] } +curve25519-dalek = { workspace = true } +dlopen = { workspace = true } +dlopen_derive = { workspace = true } +fnv = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +serde = { workspace = true } +solana-metrics = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-sdk = { workspace = true } +solana-vote-program = { workspace = true } [target."cfg(target_os = \"linux\")".dependencies] -caps = "0.5.4" -libc = "0.2.131" -nix = "0.25.0" +caps = { workspace = true } +libc = { workspace = true } +nix = { workspace = true } [lib] name = "solana_perf" [dev-dependencies] -matches = "0.1.9" -solana-logger = { path = "../logger", version = "=1.16.0" } +matches = { workspace = true } +solana-logger = { workspace = true } [[bench]] name = "sigverify" diff --git a/poh-bench/Cargo.toml b/poh-bench/Cargo.toml index 3e6539c1e59e11..90f7144de3b664 100644 --- a/poh-bench/Cargo.toml +++ b/poh-bench/Cargo.toml @@ -1,25 +1,25 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-poh-bench" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-poh-bench" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] clap = { version = "3.1.5", features = ["cargo"] } -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-entry = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-perf = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/poh/Cargo.toml b/poh/Cargo.toml index 19c1ac9b88c63b..361363364933c5 100644 --- a/poh/Cargo.toml +++ b/poh/Cargo.toml @@ -1,33 +1,33 @@ [package] name = "solana-poh" -version = "1.16.0" description = "Solana PoH" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-poh" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -core_affinity = "0.5.10" -crossbeam-channel = "0.5" -log = "0.4.17" -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-sys-tuner = { path = "../sys-tuner", version = "=1.16.0" } -thiserror = "1.0" +core_affinity = { workspace = true } +crossbeam-channel = { workspace = true } +log = { workspace = true } +solana-entry = { workspace = true } +solana-ledger = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-sys-tuner = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -bincode = "1.3.3" -matches = "0.1.9" -rand = "0.7.0" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } +bincode = { workspace = true } +matches = { workspace = true } +rand = { workspace = true } +solana-logger = { workspace = true } +solana-perf = { workspace = true } [lib] crate-type = ["lib"] diff --git a/program-runtime/Cargo.toml b/program-runtime/Cargo.toml index 75c060d5795fe6..4605480a9254bb 100644 --- a/program-runtime/Cargo.toml +++ b/program-runtime/Cargo.toml @@ -10,28 +10,28 @@ documentation = "https://docs.rs/solana-program-runtime" edition = "2021" [dependencies] -base64 = "0.13" -bincode = "1.3.3" -eager = "0.1.0" -enum-iterator = "1.2.0" -itertools = "0.10.5" +base64 = { workspace = true } +bincode = { workspace = true } +eager = { workspace = true } +enum-iterator = { workspace = true } +itertools = { workspace = true } libc = "0.2.101" -libloading = "0.7.4" -log = "0.4.17" -num-derive = { version = "0.3" } -num-traits = { version = "0.2" } -rand = "0.7.0" -serde = { version = "1.0.152", features = ["derive", "rc"] } -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana_rbpf = "=0.2.39" -thiserror = "1.0" +libloading = { workspace = true } +log = { workspace = true } +num-derive = { workspace = true } +num-traits = { workspace = true } +rand = { workspace = true } +serde = { version = "1.0.129", features = ["derive", "rc"] } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-sdk = { workspace = true } +solana_rbpf = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [lib] crate-type = ["lib"] @@ -41,4 +41,4 @@ name = "solana_program_runtime" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } diff --git a/program-test/Cargo.toml b/program-test/Cargo.toml index d1740b0c8b34a6..3cc34789049db0 100644 --- a/program-test/Cargo.toml +++ b/program-test/Cargo.toml @@ -8,25 +8,25 @@ repository = "https://github.com/solana-labs/solana" version = "1.16.0" [dependencies] -assert_matches = "1.5.0" -async-trait = "0.1.57" -base64 = "0.13.0" -bincode = "1.3.3" -chrono-humanize = "0.2.1" -crossbeam-channel = "0.5" -log = "0.4.17" -serde = "1.0.152" -solana-banks-client = { path = "../banks-client", version = "=1.16.0" } -solana-banks-interface = { path = "../banks-interface", version = "=1.16.0" } -solana-banks-server = { path = "../banks-server", version = "=1.16.0" } -solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +assert_matches = { workspace = true } +async-trait = { workspace = true } +base64 = { workspace = true } +bincode = { workspace = true } +chrono-humanize = { workspace = true } +crossbeam-channel = { workspace = true } +log = { workspace = true } +serde = { workspace = true } +solana-banks-client = { workspace = true } +solana-banks-interface = { workspace = true } +solana-banks-server = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-logger = { workspace = true } +solana-program-runtime = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-vote-program = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } [dev-dependencies] -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } +solana-stake-program = { workspace = true } diff --git a/programs/address-lookup-table-tests/Cargo.toml b/programs/address-lookup-table-tests/Cargo.toml index 0ff1cbe2971224..0d64f6b66f535c 100644 --- a/programs/address-lookup-table-tests/Cargo.toml +++ b/programs/address-lookup-table-tests/Cargo.toml @@ -3,20 +3,20 @@ [package] name = "solana-address-lookup-table-program-tests" -version = "1.16.0" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dev-dependencies] -assert_matches = "1.5.0" -bincode = "1.3.3" -solana-address-lookup-table-program = { path = "../address-lookup-table", version = "=1.16.0" } -solana-program-test = { path = "../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } +assert_matches = { workspace = true } +bincode = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/programs/address-lookup-table/Cargo.toml b/programs/address-lookup-table/Cargo.toml index 06497b691c7905..be2cd2083ec8e2 100644 --- a/programs/address-lookup-table/Cargo.toml +++ b/programs/address-lookup-table/Cargo.toml @@ -10,23 +10,23 @@ documentation = "https://docs.rs/solana-address-loookup-table-program" edition = "2021" [dependencies] -bincode = "1.3.3" -bytemuck = "1.11.0" -log = "0.4.17" -num-derive = "0.3" -num-traits = "0.2" -serde = { version = "1.0.152", features = ["derive"] } -solana-frozen-abi = { path = "../../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.16.0" } -solana-program = { path = "../../sdk/program", version = "=1.16.0" } -thiserror = "1.0" +bincode = { workspace = true } +bytemuck = { workspace = true } +log = { workspace = true } +num-derive = { workspace = true } +num-traits = { workspace = true } +serde = { workspace = true, features = ["derive"] } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-program = { workspace = true } +thiserror = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dependencies] -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [lib] crate-type = ["lib"] diff --git a/programs/bpf-loader-tests/Cargo.toml b/programs/bpf-loader-tests/Cargo.toml index f84cdd9c533c56..79bfc2fd783020 100644 --- a/programs/bpf-loader-tests/Cargo.toml +++ b/programs/bpf-loader-tests/Cargo.toml @@ -3,20 +3,20 @@ [package] name = "solana-bpf-loader-program-tests" -version = "1.16.0" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dev-dependencies] -assert_matches = "1.5.0" -bincode = "1.3.3" -solana-bpf-loader-program = { path = "../bpf_loader", version = "=1.16.0" } -solana-program-test = { path = "../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } +assert_matches = { workspace = true } +bincode = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/programs/bpf_loader/Cargo.toml b/programs/bpf_loader/Cargo.toml index 8874060804c481..79de085167f79c 100644 --- a/programs/bpf_loader/Cargo.toml +++ b/programs/bpf_loader/Cargo.toml @@ -1,26 +1,25 @@ [package] name = "solana-bpf-loader-program" -version = "1.16.0" -description = "Solana BPF loader" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-bpf-loader-program" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -byteorder = "1.4.3" -libsecp256k1 = "0.6.0" -log = "0.4.17" -rand = "0.7.3" -solana-measure = { path = "../../measure", version = "=1.16.0" } -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } -solana-zk-token-sdk = { path = "../../zk-token-sdk", version = "=1.16.0" } -solana_rbpf = "=0.2.39" -thiserror = "1.0" +bincode = { workspace = true } +byteorder = { workspace = true } +libsecp256k1 = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +solana-measure = { workspace = true } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-zk-token-sdk = { workspace = true } +solana_rbpf = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] memoffset = "0.8" diff --git a/programs/bpf_loader/gen-syscall-list/Cargo.toml b/programs/bpf_loader/gen-syscall-list/Cargo.toml index 5174f9b69aea61..8a52f472ee728e 100644 --- a/programs/bpf_loader/gen-syscall-list/Cargo.toml +++ b/programs/bpf_loader/gen-syscall-list/Cargo.toml @@ -1,9 +1,12 @@ [package] name = "gen-syscall-list" -version = "1.16.0" -edition = "2021" -license = "Apache-2.0" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [build-dependencies] -regex = "1.6.0" +regex = { workspace = true } diff --git a/programs/compute-budget/Cargo.toml b/programs/compute-budget/Cargo.toml index 8b50bb024f6465..5c439565c40bfa 100644 --- a/programs/compute-budget/Cargo.toml +++ b/programs/compute-budget/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-compute-budget-program" description = "Solana Compute Budget program" -version = "1.16.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-compute-budget-program" -repository = "https://github.com/solana-labs/solana" -authors = ["Solana Labs Maintainers "] -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["lib"] diff --git a/programs/config/Cargo.toml b/programs/config/Cargo.toml index d1c0d9a803669e..d81d84e8c4505e 100644 --- a/programs/config/Cargo.toml +++ b/programs/config/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "solana-config-program" -version = "1.16.0" description = "Solana Config program" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-config-program" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -chrono = { version = "0.4.22", features = ["serde"] } -serde = "1.0.152" -serde_derive = "1.0.103" -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } +bincode = { workspace = true } +chrono = { workspace = true, features = ["default", "serde"] } +serde = { workspace = true } +serde_derive = { workspace = true } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } [dev-dependencies] -solana-logger = { path = "../../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [lib] crate-type = ["lib"] diff --git a/programs/ed25519-tests/Cargo.toml b/programs/ed25519-tests/Cargo.toml index 7ec62f6c0f02d3..584e2ba4d3f944 100644 --- a/programs/ed25519-tests/Cargo.toml +++ b/programs/ed25519-tests/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "solana-ed25519-program-tests" -version = "1.16.0" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dev-dependencies] -assert_matches = "1.5.0" -ed25519-dalek = "=1.0.1" -rand = "0.7.0" -solana-program-test = { path = "../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } +assert_matches = { workspace = true } +ed25519-dalek = { workspace = true } +rand = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/programs/sbf/Cargo.toml b/programs/sbf/Cargo.toml index fc284719f7b9f7..9cd03cb13ccf43 100644 --- a/programs/sbf/Cargo.toml +++ b/programs/sbf/Cargo.toml @@ -1,47 +1,99 @@ -[package] -name = "solana-sbf-programs" -description = "Blockchain, Rebuilt for Scale" +[workspace.package] version = "1.16.0" -documentation = "https://docs.rs/solana" -homepage = "https://solanalabs.com/" -readme = "README.md" -repository = "https://github.com/solana-labs/solana" +description = "Solana SBF test program written in Rust" authors = ["Solana Labs Maintainers "] +repository = "https://github.com/solana-labs/solana" +homepage = "https://solanalabs.com/" license = "Apache-2.0" edition = "2021" -publish = false -[features] -sbf_c = [] -sbf_rust = [] - -[build-dependencies] -walkdir = "2" - -[dependencies] -bincode = "1.1.4" +[workspace.dependencies] +array-bytes = "=1.4.1" +bincode = { version = "1.1.4", default-features = false } +blake3 = "1.0.0" byteorder = "1.3.2" elf = "0.0.10" +getrandom = { version = "0.1.14" } itertools = "0.10.1" +libsecp256k1 = { version = "0.7.0", default-features = false } log = "0.4.11" miow = "0.3.6" net2 = "0.2.37" +num-derive = "0.3" +num-traits = "0.2" +rand = "0.7" +serde = "1.0.112" +serde_json = "1.0.56" +solana_rbpf = "=0.2.39" solana-account-decoder = { path = "../../account-decoder", version = "=1.16.0" } +solana-address-lookup-table-program = { path = "../../programs/address-lookup-table", version = "=1.16.0" } solana-bpf-loader-program = { path = "../bpf_loader", version = "=1.16.0" } solana-cli-output = { path = "../../cli-output", version = "=1.16.0" } +solana-ledger = { path = "../../ledger", version = "=1.16.0" } solana-logger = { path = "../../logger", version = "=1.16.0" } solana-measure = { path = "../../measure", version = "=1.16.0" } +solana-program = { path = "../../sdk/program", version = "=1.16.0" } solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } +solana-program-test = { path = "../../program-test", version = "=1.16.0" } solana-runtime = { path = "../../runtime", version = "=1.16.0" } +solana-sbf-rust-128bit-dep = { path = "rust/128bit_dep", version = "=1.16.0" } solana-sbf-rust-invoke = { path = "rust/invoke", version = "=1.16.0" } -solana-sbf-rust-realloc = { path = "rust/realloc", version = "=1.16.0" } +solana-sbf-rust-invoked = { path = "rust/invoked", version = "=1.16.0", default-features = false } +solana-sbf-rust-many-args-dep = { path = "rust/many_args_dep", version = "=1.16.0" } +solana-sbf-rust-mem = { path = "rust/mem", version = "=1.16.0" } +solana-sbf-rust-param-passing-dep = { path = "rust/param_passing_dep", version = "=1.16.0" } +solana-sbf-rust-realloc = { path = "rust/realloc", version = "=1.16.0", default-features = false } solana-sbf-rust-realloc-invoke = { path = "rust/realloc_invoke", version = "=1.16.0" } solana-sdk = { path = "../../sdk", version = "=1.16.0" } solana-transaction-status = { path = "../../transaction-status", version = "=1.16.0" } -solana_rbpf = "=0.2.39" +solana-validator = { path = "../../validator", version = "=1.16.0" } +solana-zk-token-sdk = { path = "../../zk-token-sdk", version = "=1.16.0" } +thiserror = "1.0" + +[package] +name = "solana-sbf-programs" +description = "Blockchain, Rebuilt for Scale" +documentation = "https://docs.rs/solana" +readme = "README.md" +publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } + +[features] +sbf_c = [] +sbf_rust = [] + +[build-dependencies] +walkdir = "2" + +[dependencies] +bincode = { workspace = true } +byteorder = { workspace = true } +elf = { workspace = true } +itertools = { workspace = true } +log = { workspace = true } +miow = { workspace = true } +net2 = { workspace = true } +solana-account-decoder = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-cli-output = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-program-runtime = { workspace = true } +solana-runtime = { workspace = true } +solana-sbf-rust-invoke = { workspace = true } +solana-sbf-rust-realloc = { workspace = true, features = ["default"] } +solana-sbf-rust-realloc-invoke = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +solana_rbpf = { workspace = true } [dev-dependencies] -solana-ledger = { path = "../../ledger", version = "=1.16.0" } +solana-ledger = { workspace = true } [[bench]] name = "bpf_loader" diff --git a/programs/sbf/rust/128bit/Cargo.toml b/programs/sbf/rust/128bit/Cargo.toml index f0e2e56f0b6118..a663c5dc27135b 100644 --- a/programs/sbf/rust/128bit/Cargo.toml +++ b/programs/sbf/rust/128bit/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-128bit" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-128bit" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-sbf-rust-128bit-dep = { path = "../128bit_dep", version = "=1.16.0" } +solana-program = { workspace = true } +solana-sbf-rust-128bit-dep = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/128bit_dep/Cargo.toml b/programs/sbf/rust/128bit_dep/Cargo.toml index e56f0ac29c2943..a166663c7640ad 100644 --- a/programs/sbf/rust/128bit_dep/Cargo.toml +++ b/programs/sbf/rust/128bit_dep/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-128bit-dep" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-128bit-dep" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/programs/sbf/rust/alloc/Cargo.toml b/programs/sbf/rust/alloc/Cargo.toml index c564ade54bdc28..dd071f8e62cf5e 100644 --- a/programs/sbf/rust/alloc/Cargo.toml +++ b/programs/sbf/rust/alloc/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-alloc" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-alloc" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/alt_bn128/Cargo.toml b/programs/sbf/rust/alt_bn128/Cargo.toml index b05538aa35adfd..6a016708a0a95f 100644 --- a/programs/sbf/rust/alt_bn128/Cargo.toml +++ b/programs/sbf/rust/alt_bn128/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-bpf-rust-alt-bn128" -version = "1.16.0" description = "Solana BPF test program written in Rust" -authors = ["NeonLabs Team "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -array-bytes = "=1.4.1" -serde = "1.0.112" -serde_json = "1.0.56" -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +array-bytes = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/call_depth/Cargo.toml b/programs/sbf/rust/call_depth/Cargo.toml index b537c87ce94d53..6f1be615ae7bdd 100644 --- a/programs/sbf/rust/call_depth/Cargo.toml +++ b/programs/sbf/rust/call_depth/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-call-depth" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-call-depth" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/caller_access/Cargo.toml b/programs/sbf/rust/caller_access/Cargo.toml index 96be9599e5be65..7be8acd2f76493 100644 --- a/programs/sbf/rust/caller_access/Cargo.toml +++ b/programs/sbf/rust/caller_access/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-caller-access" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-caller-access" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/curve25519/Cargo.toml b/programs/sbf/rust/curve25519/Cargo.toml index 9c983d4aea5ee9..19162fd51a05b6 100644 --- a/programs/sbf/rust/curve25519/Cargo.toml +++ b/programs/sbf/rust/curve25519/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-curve25519" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-zktoken_crypto" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-zk-token-sdk = { path = "../../../../zk-token-sdk", version = "=1.16.0" } +solana-program = { workspace = true } +solana-zk-token-sdk = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/custom_heap/Cargo.toml b/programs/sbf/rust/custom_heap/Cargo.toml index 99e566eda94356..bf6636b1776092 100644 --- a/programs/sbf/rust/custom_heap/Cargo.toml +++ b/programs/sbf/rust/custom_heap/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-custom-heap" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-custom-heap" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [features] default = ["custom-heap"] diff --git a/programs/sbf/rust/dep_crate/Cargo.toml b/programs/sbf/rust/dep_crate/Cargo.toml index 22c49a7e212926..56ee7bcb34b067 100644 --- a/programs/sbf/rust/dep_crate/Cargo.toml +++ b/programs/sbf/rust/dep_crate/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "solana-sbf-rust-dep-crate" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-dep-crate" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -byteorder = { version = "1", default-features = false } +byteorder = { workspace = true } # list of crates which must be buildable for bpf programs -solana-address-lookup-table-program = { path = "../../../../programs/address-lookup-table", version = "=1.16.0" } -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-address-lookup-table-program = { workspace = true } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/deprecated_loader/Cargo.toml b/programs/sbf/rust/deprecated_loader/Cargo.toml index 9d763b02849469..a612e185f7e3e3 100644 --- a/programs/sbf/rust/deprecated_loader/Cargo.toml +++ b/programs/sbf/rust/deprecated_loader/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-deprecated-loader" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-deprecated-loader" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/dup_accounts/Cargo.toml b/programs/sbf/rust/dup_accounts/Cargo.toml index 506f904b0023d8..9f855d954e6764 100644 --- a/programs/sbf/rust/dup_accounts/Cargo.toml +++ b/programs/sbf/rust/dup_accounts/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-dup-accounts" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-dup-accounts" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/error_handling/Cargo.toml b/programs/sbf/rust/error_handling/Cargo.toml index c277d5246c554a..df4a83f693c323 100644 --- a/programs/sbf/rust/error_handling/Cargo.toml +++ b/programs/sbf/rust/error_handling/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "solana-sbf-rust-error-handling" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-error-handling" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -num-derive = "0.3" -num-traits = "0.2" -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -thiserror = "1.0" +num-derive = { workspace = true } +num-traits = { workspace = true } +solana-program = { workspace = true } +thiserror = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/external_spend/Cargo.toml b/programs/sbf/rust/external_spend/Cargo.toml index f0c32e8d417ff5..771a665fae3221 100644 --- a/programs/sbf/rust/external_spend/Cargo.toml +++ b/programs/sbf/rust/external_spend/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-external-spend" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-external-spend" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/finalize/Cargo.toml b/programs/sbf/rust/finalize/Cargo.toml index c6c9cc64853123..0cfdb9fb57f81f 100644 --- a/programs/sbf/rust/finalize/Cargo.toml +++ b/programs/sbf/rust/finalize/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-finalize" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-finalize" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/get_minimum_delegation/Cargo.toml b/programs/sbf/rust/get_minimum_delegation/Cargo.toml index 8e1a1ba5cf0860..30aef4301250ca 100644 --- a/programs/sbf/rust/get_minimum_delegation/Cargo.toml +++ b/programs/sbf/rust/get_minimum_delegation/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-get-minimum-delegation" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-get-minimum-delegation" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/inner_instruction_alignment_check/Cargo.toml b/programs/sbf/rust/inner_instruction_alignment_check/Cargo.toml index 74bbc199ca0277..3c76ba7ede1a8c 100644 --- a/programs/sbf/rust/inner_instruction_alignment_check/Cargo.toml +++ b/programs/sbf/rust/inner_instruction_alignment_check/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-inner_instruction_alignment_check" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-inner_instruction_alignment_check" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/instruction_introspection/Cargo.toml b/programs/sbf/rust/instruction_introspection/Cargo.toml index 4f021d095d79f7..80c5a07ec362fd 100644 --- a/programs/sbf/rust/instruction_introspection/Cargo.toml +++ b/programs/sbf/rust/instruction_introspection/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-instruction-introspection" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-instruction-introspection" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/invoke/Cargo.toml b/programs/sbf/rust/invoke/Cargo.toml index 4a9e128573d38f..616beab7a49b30 100644 --- a/programs/sbf/rust/invoke/Cargo.toml +++ b/programs/sbf/rust/invoke/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "solana-sbf-rust-invoke" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-invoke" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] default = ["program"] program = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-sbf-rust-invoked = { path = "../invoked", default-features = false } +solana-program = { workspace = true } +solana-sbf-rust-invoked = { workspace = true } [lib] crate-type = ["lib", "cdylib"] diff --git a/programs/sbf/rust/invoke_and_error/Cargo.toml b/programs/sbf/rust/invoke_and_error/Cargo.toml index 67b565c1a0c758..bc36a12879f5cd 100644 --- a/programs/sbf/rust/invoke_and_error/Cargo.toml +++ b/programs/sbf/rust/invoke_and_error/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-invoke-and-error" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-invoke-and-error" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/invoke_and_ok/Cargo.toml b/programs/sbf/rust/invoke_and_ok/Cargo.toml index c87852f28626d7..4c62527720498a 100644 --- a/programs/sbf/rust/invoke_and_ok/Cargo.toml +++ b/programs/sbf/rust/invoke_and_ok/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-invoke-and-ok" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-invoke-and-ok" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/invoke_and_return/Cargo.toml b/programs/sbf/rust/invoke_and_return/Cargo.toml index a91f49b5cc9b22..ce4dbec0c58f09 100644 --- a/programs/sbf/rust/invoke_and_return/Cargo.toml +++ b/programs/sbf/rust/invoke_and_return/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-invoke-and-return" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-invoke-and-return" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/invoked/Cargo.toml b/programs/sbf/rust/invoked/Cargo.toml index e1f49e18d9fe46..965e1a8dd3ad9b 100644 --- a/programs/sbf/rust/invoked/Cargo.toml +++ b/programs/sbf/rust/invoked/Cargo.toml @@ -1,20 +1,20 @@ [package] name = "solana-sbf-rust-invoked" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-invoked" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] default = ["program"] program = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["lib", "cdylib"] diff --git a/programs/sbf/rust/iter/Cargo.toml b/programs/sbf/rust/iter/Cargo.toml index d323d507578dc5..353c46336043f4 100644 --- a/programs/sbf/rust/iter/Cargo.toml +++ b/programs/sbf/rust/iter/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-iter" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-iter" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/log_data/Cargo.toml b/programs/sbf/rust/log_data/Cargo.toml index 0678a4dfdef7e4..92261e0216216a 100644 --- a/programs/sbf/rust/log_data/Cargo.toml +++ b/programs/sbf/rust/log_data/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-log-data" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-log-data" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [features] default = ["program"] diff --git a/programs/sbf/rust/many_args/Cargo.toml b/programs/sbf/rust/many_args/Cargo.toml index 259582a72eed60..9c0b3bf62c7a17 100644 --- a/programs/sbf/rust/many_args/Cargo.toml +++ b/programs/sbf/rust/many_args/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-many-args" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-many-args" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-sbf-rust-many-args-dep = { path = "../many_args_dep", version = "=1.16.0" } +solana-program = { workspace = true } +solana-sbf-rust-many-args-dep = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/many_args_dep/Cargo.toml b/programs/sbf/rust/many_args_dep/Cargo.toml index 6c7738e29958b7..2f3692dbd5b702 100644 --- a/programs/sbf/rust/many_args_dep/Cargo.toml +++ b/programs/sbf/rust/many_args_dep/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-many-args-dep" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-many-args-dep" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/programs/sbf/rust/mem/Cargo.toml b/programs/sbf/rust/mem/Cargo.toml index ab981bd737b864..0e295863d7fc93 100644 --- a/programs/sbf/rust/mem/Cargo.toml +++ b/programs/sbf/rust/mem/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "solana-sbf-rust-mem" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-mem" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] no-entrypoint = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [dev-dependencies] -solana-program-runtime = { path = "../../../../program-runtime", version = "=1.16.0" } -solana-program-test = { path = "../../../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../../../sdk", version = "=1.16.0" } +solana-program-runtime = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["cdylib", "lib"] diff --git a/programs/sbf/rust/membuiltins/Cargo.toml b/programs/sbf/rust/membuiltins/Cargo.toml index 7c91dd80cc72f1..4166f87145d85a 100644 --- a/programs/sbf/rust/membuiltins/Cargo.toml +++ b/programs/sbf/rust/membuiltins/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-membuiltins" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-mem" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-sbf-rust-mem = { path = "../mem", version = "=1.16.0", features = [ "no-entrypoint" ] } +solana-program = { workspace = true } +solana-sbf-rust-mem = { workspace = true, features = ["no-entrypoint"] } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/noop/Cargo.toml b/programs/sbf/rust/noop/Cargo.toml index 8a07dd6b239d37..ed3c866c3d1e5a 100644 --- a/programs/sbf/rust/noop/Cargo.toml +++ b/programs/sbf/rust/noop/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-noop" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-noop" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/panic/Cargo.toml b/programs/sbf/rust/panic/Cargo.toml index 82b9a3005dfa10..72f3bece77efe4 100644 --- a/programs/sbf/rust/panic/Cargo.toml +++ b/programs/sbf/rust/panic/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-panic" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-panic" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [features] default = ["custom-panic"] diff --git a/programs/sbf/rust/param_passing/Cargo.toml b/programs/sbf/rust/param_passing/Cargo.toml index 09c4c9f872a53a..0427d09d2244b2 100644 --- a/programs/sbf/rust/param_passing/Cargo.toml +++ b/programs/sbf/rust/param_passing/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-param-passing" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-param-passing" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-sbf-rust-param-passing-dep = { path = "../param_passing_dep", version = "=1.16.0" } +solana-program = { workspace = true } +solana-sbf-rust-param-passing-dep = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/param_passing_dep/Cargo.toml b/programs/sbf/rust/param_passing_dep/Cargo.toml index 58509527bda276..e7b7888ee17039 100644 --- a/programs/sbf/rust/param_passing_dep/Cargo.toml +++ b/programs/sbf/rust/param_passing_dep/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-param-passing-dep" -version = "1.16.0" description = "Solana SBF program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-param-passing-dep" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/programs/sbf/rust/rand/Cargo.toml b/programs/sbf/rust/rand/Cargo.toml index fcf35dd7f4382b..9c8a0f35e8170b 100644 --- a/programs/sbf/rust/rand/Cargo.toml +++ b/programs/sbf/rust/rand/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-sbf-rust-rand" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-rand" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -getrandom = { version = "0.1.14", features = ["dummy"] } -rand = "0.7" -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +getrandom = { workspace = true, features = ["dummy"] } +rand = { workspace = true } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/realloc/Cargo.toml b/programs/sbf/rust/realloc/Cargo.toml index 2fd65ebe5c8eb6..21ce28608fb614 100644 --- a/programs/sbf/rust/realloc/Cargo.toml +++ b/programs/sbf/rust/realloc/Cargo.toml @@ -1,20 +1,20 @@ [package] name = "solana-sbf-rust-realloc" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-realloc" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] default = ["program"] program = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["lib", "cdylib"] diff --git a/programs/sbf/rust/realloc_invoke/Cargo.toml b/programs/sbf/rust/realloc_invoke/Cargo.toml index 02c963a9987799..46aa225dd96395 100644 --- a/programs/sbf/rust/realloc_invoke/Cargo.toml +++ b/programs/sbf/rust/realloc_invoke/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "solana-sbf-rust-realloc-invoke" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-realloc-invoke" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] default = ["program"] program = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } -solana-sbf-rust-realloc = { path = "../realloc", version = "=1.16.0", default-features = false } +solana-program = { workspace = true } +solana-sbf-rust-realloc = { workspace = true } [lib] crate-type = ["lib", "cdylib"] diff --git a/programs/sbf/rust/ro_account_modify/Cargo.toml b/programs/sbf/rust/ro_account_modify/Cargo.toml index baa8b37670927d..8e31917436c5cb 100644 --- a/programs/sbf/rust/ro_account_modify/Cargo.toml +++ b/programs/sbf/rust/ro_account_modify/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-ro-account_modify" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-ro-modify" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/ro_modify/Cargo.toml b/programs/sbf/rust/ro_modify/Cargo.toml index 678e8a2512591b..34ac00f65a4e54 100644 --- a/programs/sbf/rust/ro_modify/Cargo.toml +++ b/programs/sbf/rust/ro_modify/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-ro-modify" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-ro-modify" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/sanity/Cargo.toml b/programs/sbf/rust/sanity/Cargo.toml index cc839365f939aa..fe660d8aac98e9 100644 --- a/programs/sbf/rust/sanity/Cargo.toml +++ b/programs/sbf/rust/sanity/Cargo.toml @@ -1,24 +1,24 @@ [package] name = "solana-sbf-rust-sanity" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-sanity" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] test-bpf = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [dev-dependencies] -solana-program-runtime = { path = "../../../../program-runtime", version = "=1.16.0" } -solana-program-test = { path = "../../../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../../../sdk", version = "=1.16.0" } +solana-program-runtime = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["cdylib", "lib"] diff --git a/programs/sbf/rust/secp256k1_recover/Cargo.toml b/programs/sbf/rust/secp256k1_recover/Cargo.toml index 9de287458a26a3..988f6edf434e50 100644 --- a/programs/sbf/rust/secp256k1_recover/Cargo.toml +++ b/programs/sbf/rust/secp256k1_recover/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-secp256k1-recover" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-secp256k1-recover" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -libsecp256k1 = { version = "0.7.0", default-features = false } -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +libsecp256k1 = { workspace = true } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/sha/Cargo.toml b/programs/sbf/rust/sha/Cargo.toml index 52dc4e720d37dd..a91fbd6862fef7 100644 --- a/programs/sbf/rust/sha/Cargo.toml +++ b/programs/sbf/rust/sha/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-sbf-rust-sha" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-sha" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -blake3 = "1.0.0" -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +blake3 = { workspace = true } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/sibling_inner_instruction/Cargo.toml b/programs/sbf/rust/sibling_inner_instruction/Cargo.toml index 2ad3434ba7cdda..9935fd0dbf93d3 100644 --- a/programs/sbf/rust/sibling_inner_instruction/Cargo.toml +++ b/programs/sbf/rust/sibling_inner_instruction/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-sibling_inner-instructions" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-log-data" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [features] default = ["program"] diff --git a/programs/sbf/rust/sibling_instruction/Cargo.toml b/programs/sbf/rust/sibling_instruction/Cargo.toml index 3f244bb2a385d1..e0aad799ecbefe 100644 --- a/programs/sbf/rust/sibling_instruction/Cargo.toml +++ b/programs/sbf/rust/sibling_instruction/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-sibling-instructions" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-log-data" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [features] default = ["program"] diff --git a/programs/sbf/rust/simulation/Cargo.toml b/programs/sbf/rust/simulation/Cargo.toml index 317aa42673efce..7091ef9d5ade0c 100644 --- a/programs/sbf/rust/simulation/Cargo.toml +++ b/programs/sbf/rust/simulation/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "solana-sbf-rust-simulation" -version = "1.16.0" description = "Solana SBF Program Simulation Differences" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-simulation" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] test-bpf = [] [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [dev-dependencies] -solana-logger = { path = "../../../../logger", version = "=1.16.0" } -solana-program-test = { path = "../../../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../../../sdk", version = "=1.16.0" } -solana-validator = { path = "../../../../validator", version = "=1.16.0" } +solana-logger = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } +solana-validator = { workspace = true } [lib] crate-type = ["cdylib", "lib"] diff --git a/programs/sbf/rust/spoof1/Cargo.toml b/programs/sbf/rust/spoof1/Cargo.toml index 6e09127f16f7d3..8485290638bbca 100644 --- a/programs/sbf/rust/spoof1/Cargo.toml +++ b/programs/sbf/rust/spoof1/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-spoof1" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-spoof1" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/spoof1_system/Cargo.toml b/programs/sbf/rust/spoof1_system/Cargo.toml index 449a579ab54b4c..ebd13b2ceacc15 100644 --- a/programs/sbf/rust/spoof1_system/Cargo.toml +++ b/programs/sbf/rust/spoof1_system/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-spoof1-system" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-spoof1-system" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] crate-type = ["cdylib"] diff --git a/programs/sbf/rust/sysvar/Cargo.toml b/programs/sbf/rust/sysvar/Cargo.toml index dffe09d4954bf8..e975c8a29f18a9 100644 --- a/programs/sbf/rust/sysvar/Cargo.toml +++ b/programs/sbf/rust/sysvar/Cargo.toml @@ -1,21 +1,21 @@ [package] name = "solana-sbf-rust-sysvar" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-sysvar" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [dev-dependencies] -solana-program-runtime = { path = "../../../../program-runtime", version = "=1.16.0" } -solana-program-test = { path = "../../../../program-test", version = "=1.16.0" } -solana-sdk = { path = "../../../../sdk", version = "=1.16.0" } +solana-program-runtime = { workspace = true } +solana-program-test = { workspace = true } +solana-sdk = { workspace = true } [lib] crate-type = ["cdylib", "lib"] diff --git a/programs/sbf/rust/upgradeable/Cargo.toml b/programs/sbf/rust/upgradeable/Cargo.toml index 92796c84144146..13ea96a353e41a 100644 --- a/programs/sbf/rust/upgradeable/Cargo.toml +++ b/programs/sbf/rust/upgradeable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-upgradeable" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-upgradeable" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] name = "solana_sbf_rust_upgradeable" diff --git a/programs/sbf/rust/upgraded/Cargo.toml b/programs/sbf/rust/upgraded/Cargo.toml index 92f06bb338a68d..baa89892a3d31d 100644 --- a/programs/sbf/rust/upgraded/Cargo.toml +++ b/programs/sbf/rust/upgraded/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-sbf-rust-upgraded" -version = "1.16.0" -description = "Solana SBF test program written in Rust" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sbf-rust-upgraded" -edition = "2021" +version = { workspace = true } +description = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -solana-program = { path = "../../../../sdk/program", version = "=1.16.0" } +solana-program = { workspace = true } [lib] name = "solana_sbf_rust_upgraded" diff --git a/programs/stake/Cargo.toml b/programs/stake/Cargo.toml index 296f9bbb5ac0a6..d871b3622e3093 100644 --- a/programs/stake/Cargo.toml +++ b/programs/stake/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "solana-stake-program" -version = "1.16.0" description = "Solana Stake program" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-stake-program" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -log = "0.4.17" -solana-config-program = { path = "../config", version = "=1.16.0" } -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } -solana-vote-program = { path = "../vote", version = "=1.16.0" } +bincode = { workspace = true } +log = { workspace = true } +solana-config-program = { workspace = true } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-vote-program = { workspace = true } [dev-dependencies] -assert_matches = "1.5.0" -proptest = "1.0" -solana-logger = { path = "../../logger", version = "=1.16.0" } -test-case = "2.2.2" +assert_matches = { workspace = true } +proptest = { workspace = true } +solana-logger = { workspace = true } +test-case = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [lib] crate-type = ["lib"] diff --git a/programs/vote/Cargo.toml b/programs/vote/Cargo.toml index bea5b4796b6cd7..130c7d71bdae16 100644 --- a/programs/vote/Cargo.toml +++ b/programs/vote/Cargo.toml @@ -1,35 +1,35 @@ [package] name = "solana-vote-program" -version = "1.16.0" description = "Solana Vote program" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-vote-program" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -log = "0.4.17" -num-derive = "0.3" -num-traits = "0.2" -serde = "1.0.152" -serde_derive = "1.0.103" -solana-frozen-abi = { path = "../../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.16.0" } -solana-metrics = { path = "../../metrics", version = "=1.16.0" } -solana-program = { path = "../../sdk/program", version = "=1.16.0" } -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } -thiserror = "1.0" +bincode = { workspace = true } +log = { workspace = true } +num-derive = { workspace = true } +num-traits = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-metrics = { workspace = true } +solana-program = { workspace = true } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -solana-logger = { path = "../../logger", version = "=1.16.0" } -test-case = "2.2.2" +solana-logger = { workspace = true } +test-case = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [lib] crate-type = ["lib"] diff --git a/programs/zk-token-proof/Cargo.toml b/programs/zk-token-proof/Cargo.toml index c7306ede0a89e1..d9b2616fd4441c 100644 --- a/programs/zk-token-proof/Cargo.toml +++ b/programs/zk-token-proof/Cargo.toml @@ -1,17 +1,18 @@ [package] name = "solana-zk-token-proof-program" description = "Solana Zk Token Proof Program" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -version = "1.16.0" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bytemuck = { version = "1.11.0", features = ["derive"] } -getrandom = { version = "0.1", features = ["dummy"] } -num-derive = "0.3" -num-traits = "0.2" -solana-program-runtime = { path = "../../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } -solana-zk-token-sdk = { path = "../../zk-token-sdk", version = "=1.16.0" } +bytemuck = { workspace = true, features = ["derive"] } +getrandom = { workspace = true, features = ["dummy"] } +num-derive = { workspace = true } +num-traits = { workspace = true } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-zk-token-sdk = { workspace = true } diff --git a/pubsub-client/Cargo.toml b/pubsub-client/Cargo.toml index 44e3027c9b8862..e16d36695752d4 100644 --- a/pubsub-client/Cargo.toml +++ b/pubsub-client/Cargo.toml @@ -1,35 +1,35 @@ [package] name = "solana-pubsub-client" -version = "1.16.0" description = "Solana Pubsub Client" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-pubsub-client" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -crossbeam-channel = "0.5" -futures-util = "0.3.26" -log = "0.4.17" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -semver = "1.0.16" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } -tokio-stream = "0.1.9" -tokio-tungstenite = { version = "0.17.2", features = ["rustls-tls-webpki-roots"] } -tungstenite = { version = "0.17.2", features = ["rustls-tls-webpki-roots"] } -url = "2.2.2" +crossbeam-channel = { workspace = true } +futures-util = { workspace = true } +log = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +semver = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tokio-stream = { workspace = true } +tokio-tungstenite = { workspace = true, features = ["rustls-tls-webpki-roots"] } +tungstenite = { workspace = true, features = ["rustls-tls-webpki-roots"] } +url = { workspace = true } [dev-dependencies] -anyhow = "1.0.58" +anyhow = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/quic-client/Cargo.toml b/quic-client/Cargo.toml index af2a057421f72a..287b60d1774a88 100644 --- a/quic-client/Cargo.toml +++ b/quic-client/Cargo.toml @@ -10,29 +10,28 @@ documentation = "https://docs.rs/solana-quic-client" edition = "2021" [dependencies] -async-mutex = "1.4.0" -async-trait = "0.1.57" -futures = "0.3" -itertools = "0.10.5" -lazy_static = "1.4.0" -log = "0.4.17" -quinn = "0.9.3" -quinn-proto = "0.9.2" -quinn-udp = "0.3.2" -rustls = { version = "0.20.6", default-features = false, features = ["dangerous_configuration", "logging"] } - -solana-connection-cache = { path = "../connection-cache", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +async-mutex = { workspace = true } +async-trait = { workspace = true } +futures = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +quinn = { workspace = true } +quinn-proto = { workspace = true } +quinn-udp = { workspace = true } +rustls = { workspace = true, features = ["dangerous_configuration"] } +solana-connection-cache = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true, features = ["default"] } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } [dev-dependencies] -crossbeam-channel = "0.5" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } +crossbeam-channel = { workspace = true } +solana-logger = { workspace = true } +solana-perf = { workspace = true } diff --git a/rayon-threadlimit/Cargo.toml b/rayon-threadlimit/Cargo.toml index 1a6ed1c0464b1f..a22dc9e9fc6348 100644 --- a/rayon-threadlimit/Cargo.toml +++ b/rayon-threadlimit/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "solana-rayon-threadlimit" -version = "1.16.0" description = "solana-rayon-threadlimit" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-rayon-threadlimit" readme = "../README.md" -repository = "https://github.com/solana-labs/solana" -authors = ["Solana Labs Maintainers "] -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -lazy_static = "1.4.0" -num_cpus = "1.13.1" +lazy_static = { workspace = true } +num_cpus = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/rbpf-cli/Cargo.toml b/rbpf-cli/Cargo.toml index 4710d98db4631d..cce7af5ddeef8d 100644 --- a/rbpf-cli/Cargo.toml +++ b/rbpf-cli/Cargo.toml @@ -1,20 +1,21 @@ [package] name = "rbpf-cli" -version = "1.16.0" description = "CLI to test and analyze SBF programs" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/rbpf" -homepage = "https://solanalabs.com/" keywords = ["SBF", "interpreter", "JIT"] -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] clap = { version = "3.1.5", features = ["cargo"] } -serde = "1.0.152" -serde_json = "1.0.83" -solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana_rbpf = { version = "=0.2.39", features = ["debugger"] } +serde = { workspace = true } +serde_json = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-logger = { workspace = true } +solana-program-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana_rbpf = { workspace = true, features = ["debugger"] } diff --git a/remote-wallet/Cargo.toml b/remote-wallet/Cargo.toml index 30c6118057bf6c..b5e20d18fa2def 100644 --- a/remote-wallet/Cargo.toml +++ b/remote-wallet/Cargo.toml @@ -1,27 +1,27 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-remote-wallet" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-remote-wallet" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -console = "0.15.0" -dialoguer = "0.10.2" -hidapi = { version = "1.4.1", default-features = false, optional = true } -log = "0.4.17" -num-derive = { version = "0.3" } -num-traits = { version = "0.2" } -parking_lot = "0.12" -qstring = "0.7.2" -semver = "1.0" -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0" -uriparse = "0.6.4" +console = { workspace = true } +dialoguer = { workspace = true } +hidapi = { workspace = true, optional = true } +log = { workspace = true } +num-derive = { workspace = true } +num-traits = { workspace = true } +parking_lot = { workspace = true } +qstring = { workspace = true } +semver = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } +uriparse = { workspace = true } [features] default = ["linux-static-hidraw", "hidapi"] diff --git a/rpc-client-api/Cargo.toml b/rpc-client-api/Cargo.toml index 900c5378d5859f..92bc9d49585dfe 100644 --- a/rpc-client-api/Cargo.toml +++ b/rpc-client-api/Cargo.toml @@ -1,29 +1,29 @@ [package] name = "solana-rpc-client-api" -version = "1.16.0" description = "Solana Client Common Utilities" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-rpc-client-api" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -base64 = "0.13.0" -bs58 = "0.4.0" -jsonrpc-core = "18.0.0" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -semver = "1.0.16" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -spl-token-2022 = { version = "=0.5.0", features = ["no-entrypoint"] } -thiserror = "1.0" +base64 = { workspace = true } +bs58 = { workspace = true } +jsonrpc-core = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +semver = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +spl-token-2022 = { workspace = true, features = ["no-entrypoint"] } +thiserror = { workspace = true } [dev-dependencies] diff --git a/rpc-client-nonce-utils/Cargo.toml b/rpc-client-nonce-utils/Cargo.toml index 1ee278e388cbbe..476616a0b1211e 100644 --- a/rpc-client-nonce-utils/Cargo.toml +++ b/rpc-client-nonce-utils/Cargo.toml @@ -1,28 +1,28 @@ [package] name = "solana-rpc-client-nonce-utils" -version = "1.16.0" description = "Solana RPC Client Nonce Utilities" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-nonce-client" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] clap = "2.33.0" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0" +solana-clap-utils = { workspace = true } +solana-rpc-client = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -anyhow = "1.0.58" -futures = "0.3" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -tokio = { version = "1", features = ["full"] } +anyhow = { workspace = true } +futures = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-rpc-client-api = { workspace = true } +tokio = { workspace = true, features = ["full"] } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/rpc-client/Cargo.toml b/rpc-client/Cargo.toml index 8a0172e81feac6..bb063d1795f92b 100644 --- a/rpc-client/Cargo.toml +++ b/rpc-client/Cargo.toml @@ -1,40 +1,40 @@ [package] name = "solana-rpc-client" -version = "1.16.0" description = "Solana RPC Client" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-rpc-client" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -async-trait = "0.1.57" -base64 = "0.13.0" -bincode = "1.3.3" -bs58 = "0.4.0" -indicatif = { version = "0.17.1", optional = true } -log = "0.4.17" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -semver = "1.0.16" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -tokio = { version = "1", features = ["full"] } +async-trait = { workspace = true } +base64 = { workspace = true } +bincode = { workspace = true } +bs58 = { workspace = true } +indicatif = { workspace = true, optional = true } +log = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +semver = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +tokio = { workspace = true, features = ["full"] } [dev-dependencies] -assert_matches = "1.5.0" -crossbeam-channel = "0.5" -futures = "0.3" -jsonrpc-core = "18.0.0" -jsonrpc-http-server = "18.0.0" +assert_matches = { workspace = true } +crossbeam-channel = { workspace = true } +futures = { workspace = true } +jsonrpc-core = { workspace = true } +jsonrpc-http-server = { workspace = true } [features] default = ["spinner"] diff --git a/rpc-test/Cargo.toml b/rpc-test/Cargo.toml index 016001c221a457..eb69e4c95d8cdc 100644 --- a/rpc-test/Cargo.toml +++ b/rpc-test/Cargo.toml @@ -1,39 +1,39 @@ [package] name = "solana-rpc-test" -version = "1.16.0" description = "Solana RPC Test" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-rpc-test" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -bs58 = "0.4.0" -crossbeam-channel = "0.5" -futures-util = "0.3.26" -log = "0.4.17" -reqwest = { version = "0.11.12", default-features = false, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } -serde = "1.0.152" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-pubsub-client = { path = "../pubsub-client", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -tokio = { version = "~1.14.1", features = ["full"] } +bincode = { workspace = true } +bs58 = { workspace = true } +crossbeam-channel = { workspace = true } +futures-util = { workspace = true } +log = { workspace = true } +reqwest = { workspace = true, features = ["blocking", "brotli", "deflate", "gzip", "rustls-tls", "json"] } +serde = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-client = { workspace = true } +solana-pubsub-client = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-test-validator = { workspace = true } +solana-tpu-client = { workspace = true } +solana-transaction-status = { workspace = true } +tokio = { workspace = true, features = ["full"] } [dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index af3e03e9d0a2e2..c94c40fa343142 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,69 +1,69 @@ [package] name = "solana-rpc" -version = "1.16.0" description = "Solana RPC" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-rpc" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -base64 = "0.13.0" -bincode = "1.3.3" -bs58 = "0.4.0" -crossbeam-channel = "0.5" -dashmap = "4.0.2" -itertools = "0.10.5" -jsonrpc-core = "18.0.0" -jsonrpc-core-client = { version = "18.0.0" } -jsonrpc-derive = "18.0.0" -jsonrpc-http-server = "18.0.0" -jsonrpc-pubsub = "18.0.0" -libc = "0.2.131" -log = "0.4.17" -rayon = "1.5.3" -regex = "1.6.0" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -soketto = "0.7" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-poh = { path = "../poh", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -spl-token = { version = "=3.5.0", features = ["no-entrypoint"] } -spl-token-2022 = { version = "=0.5.0", features = ["no-entrypoint"] } -stream-cancel = "0.8.1" -thiserror = "1.0" -tokio = { version = "~1.14.1", features = ["full"] } -tokio-util = { version = "0.6", features = ["codec", "compat"] } +base64 = { workspace = true } +bincode = { workspace = true } +bs58 = { workspace = true } +crossbeam-channel = { workspace = true } +dashmap = { workspace = true } +itertools = { workspace = true } +jsonrpc-core = { workspace = true } +jsonrpc-core-client = { workspace = true } +jsonrpc-derive = { workspace = true } +jsonrpc-http-server = { workspace = true } +jsonrpc-pubsub = { workspace = true } +libc = { workspace = true } +log = { workspace = true } +rayon = { workspace = true } +regex = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +soketto = { workspace = true } +solana-account-decoder = { workspace = true } +solana-client = { workspace = true } +solana-entry = { workspace = true } +solana-faucet = { workspace = true } +solana-gossip = { workspace = true } +solana-ledger = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-perf = { workspace = true } +solana-poh = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-send-transaction-service = { workspace = true } +solana-stake-program = { workspace = true } +solana-storage-bigtable = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +spl-token = { workspace = true, features = ["no-entrypoint"] } +spl-token-2022 = { workspace = true, features = ["no-entrypoint"] } +stream-cancel = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } +tokio-util = { workspace = true, features = ["codec", "compat"] } [dev-dependencies] -serial_test = "0.9.0" -solana-address-lookup-table-program = { path = "../programs/address-lookup-table", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -symlink = "0.1.0" +serial_test = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-net-utils = { workspace = true } +solana-stake-program = { workspace = true } +symlink = { workspace = true } [lib] crate-type = ["lib"] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index d1be99310d8165..0b87b057521944 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,90 +1,90 @@ [package] name = "solana-runtime" -version = "1.16.0" description = "Solana runtime" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-runtime" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -arrayref = "0.3.6" -bincode = "1.3.3" -blake3 = "1.3.1" -bv = { version = "0.11.1", features = ["serde"] } -bytemuck = "1.11.0" -byteorder = "1.4.3" -bzip2 = "0.4.4" -crossbeam-channel = "0.5" -dashmap = { version = "4.0.2", features = ["rayon", "raw-api"] } -dir-diff = "0.3.2" -flate2 = "1.0.24" -fnv = "1.0.7" -im = { version = "15.1.0", features = ["rayon", "serde"] } -index_list = "0.2.7" -itertools = "0.10.5" -lazy_static = "1.4.0" -log = "0.4.17" -lru = "0.7.7" -lz4 = "1.24.0" -memmap2 = "0.5.8" -modular-bitfield = "0.11.2" -num-derive = { version = "0.3" } -num-traits = { version = "0.2" } -num_cpus = "1.13.1" -once_cell = "1.13.0" -ouroboros = "0.15.0" -rand = "0.7.0" -rayon = "1.5.3" -regex = "1.6.0" -serde = { version = "1.0.152", features = ["rc"] } -serde_derive = "1.0.103" -solana-address-lookup-table-program = { path = "../programs/address-lookup-table", version = "=1.16.0" } -solana-bpf-loader-program = { path = "../programs/bpf_loader", version = "=1.16.0" } -solana-bucket-map = { path = "../bucket_map", version = "=1.16.0" } -solana-compute-budget-program = { path = "../programs/compute-budget", version = "=1.16.0" } -solana-config-program = { path = "../programs/config", version = "=1.16.0" } -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -solana-zk-token-proof-program = { path = "../programs/zk-token-proof", version = "=1.16.0" } -solana-zk-token-sdk = { path = "../zk-token-sdk", version = "=1.16.0" } -strum = { version = "0.24", features = ["derive"] } -strum_macros = "0.24" -symlink = "0.1.0" -tar = "0.4.38" -tempfile = "3.3.0" -thiserror = "1.0" -zstd = "0.11.2" +arrayref = { workspace = true } +bincode = { workspace = true } +blake3 = { workspace = true } +bv = { workspace = true, features = ["serde"] } +bytemuck = { workspace = true } +byteorder = { workspace = true } +bzip2 = { workspace = true } +crossbeam-channel = { workspace = true } +dashmap = { workspace = true, features = ["rayon", "raw-api"] } +dir-diff = { workspace = true } +flate2 = { workspace = true } +fnv = { workspace = true } +im = { workspace = true, features = ["rayon", "serde"] } +index_list = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +lru = { workspace = true } +lz4 = { workspace = true } +memmap2 = { workspace = true } +modular-bitfield = { workspace = true } +num-derive = { workspace = true } +num-traits = { workspace = true } +num_cpus = { workspace = true } +once_cell = { workspace = true } +ouroboros = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +regex = { workspace = true } +serde = { workspace = true, features = ["rc"] } +serde_derive = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-bpf-loader-program = { workspace = true } +solana-bucket-map = { workspace = true } +solana-compute-budget-program = { workspace = true } +solana-config-program = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-perf = { workspace = true } +solana-program-runtime = { workspace = true } +solana-rayon-threadlimit = { workspace = true } +solana-sdk = { workspace = true } +solana-stake-program = { workspace = true } +solana-vote-program = { workspace = true } +solana-zk-token-proof-program = { workspace = true } +solana-zk-token-sdk = { workspace = true } +strum = { workspace = true, features = ["derive"] } +strum_macros = { workspace = true } +symlink = { workspace = true } +tar = { workspace = true } +tempfile = { workspace = true } +thiserror = { workspace = true } +zstd = { workspace = true } [lib] crate-type = ["lib"] name = "solana_runtime" [dev-dependencies] -assert_matches = "1.5.0" -ed25519-dalek = "=1.0.1" -libsecp256k1 = "0.6.0" -memoffset = "0.8" -rand_chacha = "0.2.2" -solana-logger = { path = "../logger", version = "=1.16.0" } -static_assertions = "1.1.0" -test-case = "2.2.2" +assert_matches = { workspace = true } +ed25519-dalek = { workspace = true } +libsecp256k1 = { workspace = true } +memoffset = { workspace = true } +rand_chacha = { workspace = true } +solana-logger = { workspace = true } +static_assertions = { workspace = true } +test-case = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [[bench]] name = "prioritization_fee_cache" diff --git a/runtime/store-tool/Cargo.toml b/runtime/store-tool/Cargo.toml index 68eafa458bc4a4..d3252e3a12357a 100644 --- a/runtime/store-tool/Cargo.toml +++ b/runtime/store-tool/Cargo.toml @@ -1,21 +1,21 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-store-tool" description = "Tool to inspect append vecs" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -log = { version = "0.4.17" } -solana-logger = { path = "../../logger", version = "=1.16.0" } -solana-runtime = { path = "..", version = "=1.16.0" } -solana-sdk = { path = "../../sdk", version = "=1.16.0" } -solana-version = { path = "../../version", version = "=1.16.0" } +clap = { workspace = true } +log = { workspace = true } +solana-logger = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/scripts/build-downstream-anchor-projects.sh b/scripts/build-downstream-anchor-projects.sh index 8bac4d822fc34e..7702c59d93b517 100755 --- a/scripts/build-downstream-anchor-projects.sh +++ b/scripts/build-downstream-anchor-projects.sh @@ -9,7 +9,7 @@ source ci/_ source scripts/patch-crates.sh source scripts/read-cargo-variable.sh -solana_ver=$(readCargoVariable version sdk/Cargo.toml) +solana_ver=$(readCargoVariable version Cargo.toml) solana_dir=$PWD cargo_build_sbf="$solana_dir"/cargo-build-sbf cargo_test_sbf="$solana_dir"/cargo-test-sbf diff --git a/scripts/build-downstream-projects.sh b/scripts/build-downstream-projects.sh index 45dc986bdd743d..a3f2936fa246c6 100755 --- a/scripts/build-downstream-projects.sh +++ b/scripts/build-downstream-projects.sh @@ -10,7 +10,7 @@ source ci/semver_bash/semver.sh source scripts/patch-crates.sh source scripts/read-cargo-variable.sh -solana_ver=$(readCargoVariable version sdk/Cargo.toml) +solana_ver=$(readCargoVariable version Cargo.toml) solana_dir=$PWD cargo_build_sbf="$solana_dir"/cargo-build-sbf cargo_test_sbf="$solana_dir"/cargo-test-sbf diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index 78b7179c90ee85..1cadfc4bdd53a8 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -31,7 +31,7 @@ for ignore in "${ignores[@]}"; do done # shellcheck disable=2207 -Cargo_tomls=($(find . -mindepth 2 -name Cargo.toml "${not_paths[@]}")) +Cargo_tomls=($(find . -name Cargo.toml "${not_paths[@]}")) # Collect the name of all the internal crates crates=() @@ -45,7 +45,7 @@ MINOR=0 PATCH=0 SPECIAL="" -semverParseInto "$(readCargoVariable version "${Cargo_tomls[0]}")" MAJOR MINOR PATCH SPECIAL +semverParseInto "$(readCargoVariable version Cargo.toml)" MAJOR MINOR PATCH SPECIAL [[ -n $MAJOR ]] || usage currentVersion="$MAJOR\.$MINOR\.$PATCH$SPECIAL" @@ -79,6 +79,9 @@ dropspecial) check) badTomls=() for Cargo_toml in "${Cargo_tomls[@]}"; do + if grep "^version = { workspace = true }" "$Cargo_toml" &>/dev/null; then + continue + fi if ! grep "^version *= *\"$currentVersion\"$" "$Cargo_toml" &>/dev/null; then badTomls+=("$Cargo_toml") fi @@ -118,6 +121,11 @@ newVersion="$MAJOR.$MINOR.$PATCH$SPECIAL" # Update all the Cargo.toml files for Cargo_toml in "${Cargo_tomls[@]}"; do + # ignore when version inheritant from workspace (exclude programs/sbf/Cargo.toml) + if grep "^version = { workspace = true }" "$Cargo_toml" &>/dev/null && Cargo_toml && ! [[ $Cargo_toml =~ programs/sbf/Cargo.toml ]]; then + continue + fi + # Set new crate version ( set -x diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 7706888ed4095c..7e8368d82acc22 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "solana-sdk" -version = "1.16.0" description = "Solana SDK" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sdk" readme = "README.md" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [features] # "program" feature is a legacy feature retained to support v1.3 and older @@ -37,63 +37,63 @@ full = [ ] [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.11" -serde = "1.0.152" -serde_bytes = "0.11" -serde_derive = "1.0.103" -serde_json = { version = "1.0.83", optional = true } -serde_with = { version = "2.2.0", default-features = false, features = ["macros"] } -sha2 = "0.10.6" -sha3 = { version = "0.10.4", optional = true } -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" +assert_matches = { workspace = true, optional = true } +base64 = { workspace = true } +bincode = { workspace = true } +bitflags = { workspace = true } +borsh = { workspace = true } +bs58 = { workspace = true } +bytemuck = { workspace = true, features = ["derive"] } +byteorder = { workspace = true, optional = true } +chrono = { workspace = true, features = ["alloc"], optional = true } +curve25519-dalek = { workspace = true, optional = true } +derivation-path = { workspace = true } +digest = { workspace = true, optional = true } +ed25519-dalek = { workspace = true, optional = true } +ed25519-dalek-bip32 = { workspace = true, optional = true } +generic-array = { workspace = true, features = ["serde", "more_lengths"], optional = true } +hmac = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +libsecp256k1 = { workspace = true, optional = true } +log = { workspace = true } +memmap2 = { workspace = true, optional = true } +num-derive = { workspace = true } +num-traits = { workspace = true } +num_enum = { workspace = true } +pbkdf2 = { workspace = true } +qstring = { workspace = true } +rand = { workspace = true, optional = true } +rand_chacha = { workspace = true, optional = true } +rustversion = { workspace = true } +serde = { workspace = true } +serde_bytes = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true, optional = true } +serde_with = { workspace = true, features = ["macros"] } +sha2 = { workspace = true } +sha3 = { workspace = true, optional = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-logger = { workspace = true, optional = true } +solana-program = { workspace = true } +solana-sdk-macro = { workspace = true } +thiserror = { workspace = true } +uriparse = { workspace = true } +wasm-bindgen = { workspace = true } [target.'cfg(target_arch = "wasm32")'.dependencies] -js-sys = "0.3.59" +js-sys = { workspace = true } [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" +anyhow = { workspace = true } +curve25519-dalek = { workspace = true } +hex = { workspace = true } +static_assertions = { workspace = true } +tiny-bip39 = { workspace = true } [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/sdk/cargo-build-bpf/Cargo.toml b/sdk/cargo-build-bpf/Cargo.toml index ce00f2878096be..6a75de262dc8e5 100644 --- a/sdk/cargo-build-bpf/Cargo.toml +++ b/sdk/cargo-build-bpf/Cargo.toml @@ -1,20 +1,20 @@ [package] name = "solana-cargo-build-bpf" -version = "1.16.0" description = "Compile a local package and all of its dependencies using the Solana SBF SDK" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" -license = "Apache-2.0" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -cargo_metadata = "0.15.0" +cargo_metadata = { workspace = true } clap = { version = "3.1.5", features = ["cargo", "env"] } -log = { version = "0.4.17", features = ["std"] } -solana-logger = { path = "../../logger", version = "=1.16.0" } -solana-sdk = { path = "..", version = "=1.16.0" } +log = { workspace = true, features = ["std"] } +solana-logger = { workspace = true } +solana-sdk = { workspace = true } [features] program = [] diff --git a/sdk/cargo-build-sbf/Cargo.toml b/sdk/cargo-build-sbf/Cargo.toml index e210af701d2933..bba4ae05bc239a 100644 --- a/sdk/cargo-build-sbf/Cargo.toml +++ b/sdk/cargo-build-sbf/Cargo.toml @@ -1,31 +1,31 @@ [package] name = "solana-cargo-build-sbf" -version = "1.16.0" description = "Compile a local package and all of its dependencies using the Solana SBF SDK" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" -license = "Apache-2.0" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bzip2 = "0.4.4" -cargo_metadata = "0.15.0" +bzip2 = { workspace = true } +cargo_metadata = { workspace = true } clap = { version = "3.1.5", features = ["cargo", "env"] } -log = { version = "0.4.17", features = ["std"] } -regex = "1.6.0" -reqwest = { version = "0.11", features = ["blocking"] } -semver = "1.0" -solana-download-utils = { path = "../../download-utils", version = "=1.16.0" } -solana-logger = { path = "../../logger", version = "=1.16.0" } -solana-sdk = { path = "..", version = "=1.16.0" } -tar = "0.4.38" +log = { workspace = true, features = ["std"] } +regex = { workspace = true } +reqwest = { workspace = true, features = ["blocking"] } +semver = { workspace = true } +solana-download-utils = { workspace = true } +solana-logger = { workspace = true } +solana-sdk = { workspace = true } +tar = { workspace = true } [dev-dependencies] -assert_cmd = "*" -predicates = "2.1" -serial_test = "*" +assert_cmd = { workspace = true } +predicates = { workspace = true } +serial_test = { workspace = true } [features] program = [] diff --git a/sdk/cargo-test-bpf/Cargo.toml b/sdk/cargo-test-bpf/Cargo.toml index a855a9c377cfeb..722a666477aadf 100644 --- a/sdk/cargo-test-bpf/Cargo.toml +++ b/sdk/cargo-test-bpf/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "solana-cargo-test-bpf" -version = "1.16.0" description = "Execute all unit and integration tests after building with the Solana SBF SDK" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" -license = "Apache-2.0" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -cargo_metadata = "0.15.0" +cargo_metadata = { workspace = true } clap = { version = "3.1.5", features = ["cargo"] } [[bin]] diff --git a/sdk/cargo-test-sbf/Cargo.toml b/sdk/cargo-test-sbf/Cargo.toml index e500f671be9458..b5926a0e288bbb 100644 --- a/sdk/cargo-test-sbf/Cargo.toml +++ b/sdk/cargo-test-sbf/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "solana-cargo-test-sbf" -version = "1.16.0" description = "Execute all unit and integration tests after building with the Solana SBF SDK" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" -license = "Apache-2.0" -edition = "2021" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -cargo_metadata = "0.15.0" +cargo_metadata = { workspace = true } clap = { version = "3.1.5", features = ["cargo"] } -log = { version = "0.4.17", features = ["std"] } -solana-logger = { path = "../../logger", version = "=1.16.0" } +log = { workspace = true, features = ["std"] } +solana-logger = { workspace = true } [[bin]] name = "cargo-test-sbf" diff --git a/sdk/gen-headers/Cargo.toml b/sdk/gen-headers/Cargo.toml index 549d000f47d7af..588bb11ee57c6d 100644 --- a/sdk/gen-headers/Cargo.toml +++ b/sdk/gen-headers/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "gen-headers" -version = "1.16.0" -edition = "2021" -license = "Apache-2.0" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -log = { version = "0.4.17", features = ["std"] } -regex = "1.6.0" +log = { workspace = true, features = ["std"] } +regex = { workspace = true } [[bin]] name = "gen-headers" diff --git a/sdk/macro/Cargo.toml b/sdk/macro/Cargo.toml index 5955a38b95102c..0e250412caf90e 100644 --- a/sdk/macro/Cargo.toml +++ b/sdk/macro/Cargo.toml @@ -1,23 +1,23 @@ [package] name = "solana-sdk-macro" -version = "1.16.0" description = "Solana SDK Macro" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sdk-macro" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [lib] proc-macro = true [dependencies] -bs58 = "0.4.0" -proc-macro2 = "1.0.19" -quote = "1.0" -rustversion = "1.0.11" -syn = { version = "1.0", features = ["full", "extra-traits"] } +bs58 = { workspace = true } +proc-macro2 = { workspace = true } +quote = { workspace = true } +rustversion = { workspace = true } +syn = { workspace = true, features = ["full", "extra-traits"] } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/sdk/program/Cargo.toml b/sdk/program/Cargo.toml index 486d2d70e9640a..7a4fb0c7f508ad 100644 --- a/sdk/program/Cargo.toml +++ b/sdk/program/Cargo.toml @@ -1,83 +1,83 @@ [package] name = "solana-program" -version = "1.16.0" description = "Solana Program" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-program" readme = "README.md" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] bincode = "1.3.1" -blake3 = { version = "1.3.1", features = ["digest", "traits-preview"] } -borsh = "0.9.3" -borsh-derive = "0.9.1" -bs58 = "0.4.0" -bv = { version = "0.11.1", features = ["serde"] } +blake3 = { workspace = true, features = ["digest", "traits-preview"] } +borsh = { workspace = true } +borsh-derive = { workspace = true } +bs58 = { workspace = true } +bv = { workspace = true, features = ["serde"] } bytemuck = { version = "1.8.0", features = ["derive"] } -itertools = "0.10.5" -lazy_static = "1.4.0" -log = "0.4.17" -memoffset = "0.8" -num-derive = "0.3" -num-traits = { version = "0.2", default-features = true, features = ["i128", "std"] } -rustversion = "1.0.11" -serde = { version = "1.0", features = ["derive"] } -serde_bytes = "0.11" -serde_derive = "1.0" -serde_json = "1.0" -sha2 = "0.10.6" +itertools = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +memoffset = { workspace = true } +num-derive = { workspace = true } +num-traits = { workspace = true, features = ["i128"] } +rustversion = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_bytes = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +sha2 = { workspace = true } sha3 = "0.10.0" -solana-frozen-abi = { path = "../../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../../frozen-abi/macro", version = "=1.16.0" } -solana-sdk-macro = { path = "../macro", version = "=1.16.0" } -thiserror = "1.0" +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-sdk-macro = { workspace = true } +thiserror = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dependencies] -ark-bn254 = "0.3.0" -ark-ec = "0.3.0" -ark-ff = "0.3.0" -array-bytes = "=1.4.1" -bitflags = "1.3.1" -base64 = { version = "0.13", features = ["alloc", "std"] } -curve25519-dalek = { version = "3.2.1", features = ["serde"] } -itertools = "0.10.5" +ark-bn254 = { workspace = true } +ark-ec = { workspace = true } +ark-ff = { workspace = true } +array-bytes = { workspace = true } +bitflags = { workspace = true } +base64 = { workspace = true, features = ["alloc", "std"] } +curve25519-dalek = { workspace = true, features = ["serde"] } +itertools = { workspace = true } libc = { version = "0.2.126", features = ["extra_traits"] } -libsecp256k1 = "0.6.0" -num-bigint = "0.4.3" -rand = "0.7" -rand_chacha = { version = "0.2.2", default-features = true, features = ["simd", "std"] } -tiny-bip39 = "0.8.2" -wasm-bindgen = "0.2" -zeroize = { version = "1.3", default-features = true, features = ["zeroize_derive"] } +libsecp256k1 = { workspace = true } +num-bigint = { workspace = true } +rand = { workspace = true } +rand_chacha = { workspace = true } +tiny-bip39 = { workspace = true } +wasm-bindgen = { workspace = true } +zeroize = { workspace = true, features = ["default", "zeroize_derive"] } [target.'cfg(not(target_os = "solana"))'.dev-dependencies] -solana-logger = { path = "../../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [target.'cfg(target_arch = "wasm32")'.dependencies] -console_error_panic_hook = "0.1.7" -console_log = "0.2.0" +console_error_panic_hook = { workspace = true } +console_log = { workspace = true } js-sys = "0.3.55" getrandom = { version = "0.2", features = ["js", "wasm-bindgen"] } [target.'cfg(not(target_pointer_width = "64"))'.dependencies] -parking_lot = "0.12" +parking_lot = { workspace = true } [dev-dependencies] anyhow = "1.0.58" -assert_matches = "1.5.0" +assert_matches = { workspace = true } bincode = "1.3.1" -borsh = "0.9.3" -borsh-derive = "0.9.1" +borsh = { workspace = true } +borsh-derive = { workspace = true } serde_json = "1.0.56" -static_assertions = "1.1.0" +static_assertions = { workspace = true } [build-dependencies] -cc = { version = "1.0.79", features = ["jobserver", "parallel"] } -rustc_version = "0.4" +cc = { workspace = true, features = ["jobserver", "parallel"] } +rustc_version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/send-transaction-service/Cargo.toml b/send-transaction-service/Cargo.toml index 06e398ee837ef7..71431037f57471 100644 --- a/send-transaction-service/Cargo.toml +++ b/send-transaction-service/Cargo.toml @@ -1,26 +1,26 @@ [package] name = "solana-send-transaction-service" -version = "1.16.0" description = "Solana send transaction service" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-send-transaction-service" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -crossbeam-channel = "0.5" -log = "0.4.17" -solana-client = { path = "../client", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } +crossbeam-channel = { workspace = true } +log = { workspace = true } +solana-client = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-tpu-client = { workspace = true } [dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/stake-accounts/Cargo.toml b/stake-accounts/Cargo.toml index 91be2287a426f8..23a84addb4b70b 100644 --- a/stake-accounts/Cargo.toml +++ b/stake-accounts/Cargo.toml @@ -1,27 +1,27 @@ [package] name = "solana-stake-accounts" description = "Blockchain, Rebuilt for Scale" -authors = ["Solana Labs Maintainers "] -edition = "2021" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-stake-accounts" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-remote-wallet = { path = "../remote-wallet", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-stake-program = { path = "../programs/stake", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +clap = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-remote-wallet = { workspace = true, features = ["default"] } +solana-rpc-client = { workspace = true, features = ["default"] } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-stake-program = { workspace = true } +solana-version = { workspace = true } [dev-dependencies] -solana-runtime = { path = "../runtime", version = "=1.16.0" } +solana-runtime = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/storage-bigtable/Cargo.toml b/storage-bigtable/Cargo.toml index f35cf4562fd31c..fafacf0292da72 100644 --- a/storage-bigtable/Cargo.toml +++ b/storage-bigtable/Cargo.toml @@ -1,50 +1,50 @@ [package] name = "solana-storage-bigtable" -version = "1.16.0" description = "Solana Storage BigTable" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-storage-bigtable" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -backoff = { version = "0.4.0", features = ["tokio"] } -bincode = "1.3.3" -bytes = "1.2" -bzip2 = "0.4.4" -enum-iterator = "1.2.0" -flate2 = "1.0.24" -futures = "0.3.24" -goauth = "0.13.1" -http = "0.2.8" -hyper = "0.14.23" -hyper-proxy = "0.9.1" -log = "0.4.17" -prost = "0.11.6" -prost-types = "0.11.6" -serde = "1.0.152" -serde_derive = "1.0.103" -smpl_jwt = "0.7.1" -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-storage-proto = { path = "../storage-proto", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -thiserror = "1.0" -tokio = "1" -tonic = { version = "0.8.3", features = ["tls", "transport"] } -zstd = "0.11.2" +backoff = { workspace = true, features = ["tokio"] } +bincode = { workspace = true } +bytes = { workspace = true } +bzip2 = { workspace = true } +enum-iterator = { workspace = true } +flate2 = { workspace = true } +futures = { workspace = true } +goauth = { workspace = true } +http = { workspace = true } +hyper = { workspace = true } +hyper-proxy = { workspace = true } +log = { workspace = true } +prost = { workspace = true } +prost-types = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +smpl_jwt = { workspace = true } +solana-metrics = { workspace = true } +solana-sdk = { workspace = true } +solana-storage-proto = { workspace = true } +solana-transaction-status = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true } +tonic = { workspace = true, features = ["tls", "transport"] } +zstd = { workspace = true } # openssl is a dependency of the goauth and smpl_jwt crates, but explicitly # declare it here as well to activate the "vendored" feature that builds OpenSSL # statically... [target."cfg(not(windows))".dependencies] -openssl = { version = "0.10", features = ["vendored"] } +openssl = { workspace = true, features = ["vendored"] } # ...except on Windows to avoid having to deal with getting CI past a build-time # Perl dependency [target."cfg(windows)".dependencies] -openssl = { version = "0.10", features = [] } +openssl = { workspace = true, features = [] } [lib] crate-type = ["lib"] diff --git a/storage-bigtable/build-proto/Cargo.toml b/storage-bigtable/build-proto/Cargo.toml index 0fc7b183fb05d7..0a96465209757c 100644 --- a/storage-bigtable/build-proto/Cargo.toml +++ b/storage-bigtable/build-proto/Cargo.toml @@ -1,18 +1,18 @@ [package] -authors = ["Solana Labs Maintainers "] description = "Blockchain, Rebuilt for Scale" -edition = "2021" -homepage = "https://solanalabs.com/" -license = "Apache-2.0" name = "proto" publish = false -repository = "https://github.com/solana-labs/solana" -version = "1.16.0" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -tonic-build = "0.8.4" +tonic-build = { workspace = true } # windows users should install the protobuf compiler manually and set the PROTOC # envar to point to the installed binary [target."cfg(not(windows))".dependencies] -protobuf-src = "1.0.5" +protobuf-src = { workspace = true } diff --git a/storage-proto/Cargo.toml b/storage-proto/Cargo.toml index 354a483b5e58ef..819edbf56d0713 100644 --- a/storage-proto/Cargo.toml +++ b/storage-proto/Cargo.toml @@ -10,16 +10,16 @@ documentation = "https://docs.rs/solana-storage-proto" edition = "2021" [dependencies] -bincode = "1.3.3" -bs58 = "0.4.0" -prost = "0.11.6" -serde = "1.0.152" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } +bincode = { workspace = true } +bs58 = { workspace = true } +prost = { workspace = true } +serde = { workspace = true } +solana-account-decoder = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } [dev-dependencies] -enum-iterator = "1.2.0" +enum-iterator = { workspace = true } [lib] crate-type = ["lib"] @@ -29,9 +29,9 @@ name = "solana_storage_proto" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -tonic-build = "0.8.4" +tonic-build = { workspace = true } # windows users should install the protobuf compiler manually and set the PROTOC # envar to point to the installed binary [target."cfg(not(windows))".build-dependencies] -protobuf-src = "1.0.5" +protobuf-src = { workspace = true } diff --git a/streamer/Cargo.toml b/streamer/Cargo.toml index ff38610d62413d..59d3d7bed19627 100644 --- a/streamer/Cargo.toml +++ b/streamer/Cargo.toml @@ -1,42 +1,41 @@ [package] name = "solana-streamer" -version = "1.16.0" description = "Solana Streamer" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-streamer" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -crossbeam-channel = "0.5" -futures-util = "0.3.26" -histogram = "0.6.9" -indexmap = "1.9.1" -itertools = "0.10.5" -libc = "0.2.131" -log = "0.4.17" -nix = "0.25.0" -pem = "1.1.1" -percentage = "0.1.0" -pkcs8 = { version = "0.8.0", features = ["alloc"] } -quinn = "0.9.3" -quinn-proto = "0.9.2" -quinn-udp = "0.3.2" - -rand = "0.7.0" -rcgen = "0.10.0" -rustls = { version = "0.20.6", default-features = false, features = ["dangerous_configuration", "logging"] } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } -x509-parser = "0.14.0" +crossbeam-channel = { workspace = true } +futures-util = { workspace = true } +histogram = { workspace = true } +indexmap = { workspace = true } +itertools = { workspace = true } +libc = { workspace = true } +log = { workspace = true } +nix = { workspace = true } +pem = { workspace = true } +percentage = { workspace = true } +pkcs8 = { workspace = true, features = ["alloc"] } +quinn = { workspace = true } +quinn-proto = { workspace = true } +quinn-udp = { workspace = true } +rand = { workspace = true } +rcgen = { workspace = true } +rustls = { workspace = true, features = ["dangerous_configuration"] } +solana-metrics = { workspace = true } +solana-perf = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } +x509-parser = { workspace = true } [dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [lib] crate-type = ["lib"] diff --git a/sys-tuner/Cargo.toml b/sys-tuner/Cargo.toml index eb9cf98b5c600b..24e9cdbf8bacb0 100644 --- a/sys-tuner/Cargo.toml +++ b/sys-tuner/Cargo.toml @@ -1,27 +1,27 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-sys-tuner" description = "The solana cluster system tuner daemon" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-sys-tuner" publish = true +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -libc = "0.2.131" -log = "0.4.17" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +clap = { workspace = true } +libc = { workspace = true } +log = { workspace = true } +solana-logger = { workspace = true } +solana-version = { workspace = true } [target."cfg(unix)".dependencies] -unix_socket2 = "0.5.4" -users = "0.10.0" -nix = "0.25.0" -sysctl = "0.4.4" +unix_socket2 = { workspace = true } +users = { workspace = true } +nix = { workspace = true } +sysctl = { workspace = true } [lib] name = "solana_sys_tuner" diff --git a/test-validator/Cargo.toml b/test-validator/Cargo.toml index 53dc8dcaaf36d6..8acc233edf7632 100644 --- a/test-validator/Cargo.toml +++ b/test-validator/Cargo.toml @@ -1,36 +1,35 @@ [package] name = "solana-test-validator" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -homepage = "https://solanalabs.com/" -documentation = "https://docs.rs/solana-test-validator" readme = "../README.md" -repository = "https://github.com/solana-labs/solana" -authors = ["Solana Labs Maintainers "] -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -base64 = "0.13.0" -log = "0.4.17" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-cli-output = { path = "../cli-output", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-program-runtime = { path = "../program-runtime", version = "=1.16.0" } -solana-program-test = { path = "../program-test", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -tokio = { version = "1", features = ["full"] } +base64 = { workspace = true } +log = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-cli-output = { workspace = true } +solana-client = { workspace = true } +solana-core = { workspace = true } +solana-gossip = { workspace = true } +solana-ledger = { workspace = true } +solana-logger = { workspace = true } +solana-net-utils = { workspace = true } +solana-program-runtime = { workspace = true } +solana-program-test = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true } +tokio = { workspace = true, features = ["full"] } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/thin-client/Cargo.toml b/thin-client/Cargo.toml index 0a529d7e9e8ec8..c8070a71ac1c14 100644 --- a/thin-client/Cargo.toml +++ b/thin-client/Cargo.toml @@ -10,17 +10,17 @@ documentation = "https://docs.rs/solana-thin-client" edition = "2021" [dependencies] -bincode = "1.3.3" -log = "0.4.17" -rayon = "1.5.3" -solana-connection-cache = { path = "../connection-cache", version = "=1.16.0", default-features = false } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } +bincode = { workspace = true } +log = { workspace = true } +rayon = { workspace = true } +solana-connection-cache = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-tpu-client = { workspace = true } [dev-dependencies] -solana-logger = { path = "../logger", version = "=1.16.0" } +solana-logger = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/tokens/Cargo.toml b/tokens/Cargo.toml index f5eb534e361063..7aa320d88f895a 100644 --- a/tokens/Cargo.toml +++ b/tokens/Cargo.toml @@ -1,40 +1,40 @@ [package] name = "solana-tokens" description = "Blockchain, Rebuilt for Scale" -authors = ["Solana Labs Maintainers "] -edition = "2021" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-tokens" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -chrono = { version = "0.4.23", features = ["serde"] } +chrono = { workspace = true, features = ["default", "serde"] } clap = "2.33.0" -console = "0.15.0" -csv = "1.1.6" -ctrlc = { version = "3.2.3", features = ["termination"] } -indexmap = "1.9.1" -indicatif = "0.17.1" -pickledb = { version = "0.5.1", default-features = false, features = ["yaml"] } -serde = { version = "1.0", features = ["derive"] } -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-remote-wallet = { path = "../remote-wallet", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0" } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } -spl-associated-token-account = { version = "=1.1.2" } -spl-token = { version = "=3.5.0", features = ["no-entrypoint"] } -tempfile = "3.3.0" -thiserror = "1.0" +console = { workspace = true } +csv = { workspace = true } +ctrlc = { workspace = true, features = ["termination"] } +indexmap = { workspace = true } +indicatif = { workspace = true } +pickledb = { workspace = true, features = ["yaml"] } +serde = { workspace = true, features = ["derive"] } +solana-account-decoder = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-remote-wallet = { workspace = true, features = ["default"] } +solana-rpc-client = { workspace = true, features = ["default"] } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } +spl-associated-token-account = { workspace = true } +spl-token = { workspace = true, features = ["no-entrypoint"] } +tempfile = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -bincode = "1.3.3" -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } +bincode = { workspace = true } +solana-logger = { workspace = true } +solana-streamer = { workspace = true } +solana-test-validator = { workspace = true } diff --git a/tpu-client/Cargo.toml b/tpu-client/Cargo.toml index c01a883d894d6f..c78e3de8b17e47 100644 --- a/tpu-client/Cargo.toml +++ b/tpu-client/Cargo.toml @@ -10,29 +10,28 @@ documentation = "https://docs.rs/solana-tpu-client" edition = "2021" [dependencies] -async-trait = "0.1.57" -bincode = "1.3.3" -futures-util = "0.3.26" -indexmap = "1.9.1" -indicatif = { version = "0.17.1", optional = true } -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" - -solana-connection-cache = { path = "../connection-cache", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-pubsub-client = { path = "../pubsub-client", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +async-trait = { workspace = true } +bincode = { workspace = true } +futures-util = { workspace = true } +indexmap = { workspace = true } +indicatif = { workspace = true, optional = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-connection-cache = { workspace = true } +solana-measure = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-pubsub-client = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } [dev-dependencies] -rand_chacha = "0.2.2" -solana-logger = { path = "../logger", version = "=1.16.0" } +rand_chacha = { workspace = true } +solana-logger = { workspace = true } [features] default = ["spinner"] diff --git a/transaction-dos/Cargo.toml b/transaction-dos/Cargo.toml index ee888847946a86..58821a1b953fc5 100644 --- a/transaction-dos/Cargo.toml +++ b/transaction-dos/Cargo.toml @@ -1,37 +1,37 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-transaction-dos" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -bincode = "1.3.3" -clap = "2.33.1" -log = "0.4.17" -rand = "0.7.0" -rayon = "1.5.3" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli = { path = "../cli", version = "=1.16.0" } -solana-client = { path = "../client", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-measure = { path = "../measure", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-transaction-status = { path = "../transaction-status", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +bincode = { workspace = true } +clap = { workspace = true } +log = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli = { workspace = true } +solana-client = { workspace = true } +solana-core = { workspace = true } +solana-faucet = { workspace = true } +solana-gossip = { workspace = true } +solana-logger = { workspace = true } +solana-measure = { workspace = true } +solana-net-utils = { workspace = true } +solana-rpc-client = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-transaction-status = { workspace = true } +solana-version = { workspace = true } [dev-dependencies] -solana-local-cluster = { path = "../local-cluster", version = "=1.16.0" } +solana-local-cluster = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/transaction-status/Cargo.toml b/transaction-status/Cargo.toml index cc5701b0bd37f0..316484702386d4 100644 --- a/transaction-status/Cargo.toml +++ b/transaction-status/Cargo.toml @@ -1,33 +1,33 @@ [package] name = "solana-transaction-status" -version = "1.16.0" description = "Solana transaction status types" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-transaction-status" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -Inflector = "0.11.4" -base64 = "0.13.0" -bincode = "1.3.3" -borsh = "0.9.3" -bs58 = "0.4.0" -lazy_static = "1.4.0" -log = "0.4.17" -serde = "1.0.152" -serde_derive = "1.0.103" -serde_json = "1.0.83" -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -solana-address-lookup-table-program = { path = "../programs/address-lookup-table", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -spl-associated-token-account = { version = "=1.1.2", features = ["no-entrypoint"] } -spl-memo = { version = "=3.0.1", features = ["no-entrypoint"] } -spl-token = { version = "=3.5.0", features = ["no-entrypoint"] } -spl-token-2022 = { version = "=0.5.0", features = ["no-entrypoint"] } -thiserror = "1.0" +Inflector = { workspace = true } +base64 = { workspace = true } +bincode = { workspace = true } +borsh = { workspace = true } +bs58 = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +serde_json = { workspace = true } +solana-account-decoder = { workspace = true } +solana-address-lookup-table-program = { workspace = true } +solana-sdk = { workspace = true } +spl-associated-token-account = { workspace = true, features = ["no-entrypoint"] } +spl-memo = { workspace = true, features = ["no-entrypoint"] } +spl-token = { workspace = true, features = ["no-entrypoint"] } +spl-token-2022 = { workspace = true, features = ["no-entrypoint"] } +thiserror = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/udp-client/Cargo.toml b/udp-client/Cargo.toml index c4b7235a3546db..be22383674dc3d 100644 --- a/udp-client/Cargo.toml +++ b/udp-client/Cargo.toml @@ -10,12 +10,11 @@ documentation = "https://docs.rs/solana-udp-client" edition = "2021" [dependencies] -async-trait = "0.1.57" - -solana-connection-cache = { path = "../connection-cache", version = "=1.16.0", default-features = false } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0" } -thiserror = "1.0" -tokio = { version = "1", features = ["full"] } +async-trait = { workspace = true } +solana-connection-cache = { workspace = true } +solana-net-utils = { workspace = true } +solana-sdk = { workspace = true } +solana-streamer = { workspace = true } +solana-tpu-client = { workspace = true, features = ["default"] } +thiserror = { workspace = true } +tokio = { workspace = true, features = ["full"] } diff --git a/upload-perf/Cargo.toml b/upload-perf/Cargo.toml index d26587a150d0ca..cceca061d37f70 100644 --- a/upload-perf/Cargo.toml +++ b/upload-perf/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "solana-upload-perf" -version = "1.16.0" description = "Metrics Upload Utility" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -edition = "2021" -homepage = "https://solanalabs.com/" publish = false +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -serde_json = "1.0.83" -solana-metrics = { path = "../metrics", version = "=1.16.0" } +serde_json = { workspace = true } +solana-metrics = { workspace = true } [[bin]] name = "solana-upload-perf" diff --git a/validator/Cargo.toml b/validator/Cargo.toml index 972d4c71020828..663bb531b14d17 100644 --- a/validator/Cargo.toml +++ b/validator/Cargo.toml @@ -1,75 +1,75 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-validator" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-validator" default-run = "solana-validator" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -chrono = { version = "0.4.22", features = ["serde"] } -clap = "2.33.1" -console = "0.15.0" -core_affinity = "0.5.10" -crossbeam-channel = "0.5" -fd-lock = "3.0.6" -indicatif = "0.17.1" -jsonrpc-core = "18.0.0" -jsonrpc-core-client = { version = "18.0.0", features = ["ipc"] } -jsonrpc-derive = "18.0.0" -jsonrpc-ipc-server = "18.0.0" -jsonrpc-server-utils = "18.0.0" -lazy_static = "1.4.0" -log = "0.4.17" -num_cpus = "1.13.1" -rand = "0.7.0" -rayon = "1.5.3" -serde = "1.0.152" -serde_json = "1.0.83" -serde_yaml = "0.9.13" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-core = { path = "../core", version = "=1.16.0" } -solana-download-utils = { path = "../download-utils", version = "=1.16.0" } -solana-entry = { path = "../entry", version = "=1.16.0" } -solana-faucet = { path = "../faucet", version = "=1.16.0" } -solana-genesis-utils = { path = "../genesis-utils", version = "=1.16.0" } -solana-gossip = { path = "../gossip", version = "=1.16.0" } -solana-ledger = { path = "../ledger", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-net-utils = { path = "../net-utils", version = "=1.16.0" } -solana-perf = { path = "../perf", version = "=1.16.0" } -solana-poh = { path = "../poh", version = "=1.16.0" } -solana-rpc = { path = "../rpc", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-runtime = { path = "../runtime", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-send-transaction-service = { path = "../send-transaction-service", version = "=1.16.0" } -solana-storage-bigtable = { path = "../storage-bigtable", version = "=1.16.0" } -solana-streamer = { path = "../streamer", version = "=1.16.0" } -solana-test-validator = { path = "../test-validator", version = "=1.16.0" } -solana-tpu-client = { path = "../tpu-client", version = "=1.16.0", default-features = false } -solana-version = { path = "../version", version = "=1.16.0" } -solana-vote-program = { path = "../programs/vote", version = "=1.16.0" } -symlink = "0.1.0" -thiserror = "1.0" +chrono = { workspace = true, features = ["default", "serde"] } +clap = { workspace = true } +console = { workspace = true } +core_affinity = { workspace = true } +crossbeam-channel = { workspace = true } +fd-lock = { workspace = true } +indicatif = { workspace = true } +jsonrpc-core = { workspace = true } +jsonrpc-core-client = { workspace = true, features = ["ipc"] } +jsonrpc-derive = { workspace = true } +jsonrpc-ipc-server = { workspace = true } +jsonrpc-server-utils = { workspace = true } +lazy_static = { workspace = true } +log = { workspace = true } +num_cpus = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +serde_yaml = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-core = { workspace = true } +solana-download-utils = { workspace = true } +solana-entry = { workspace = true } +solana-faucet = { workspace = true } +solana-genesis-utils = { workspace = true } +solana-gossip = { workspace = true } +solana-ledger = { workspace = true } +solana-logger = { workspace = true } +solana-metrics = { workspace = true } +solana-net-utils = { workspace = true } +solana-perf = { workspace = true } +solana-poh = { workspace = true } +solana-rpc = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-runtime = { workspace = true } +solana-sdk = { workspace = true } +solana-send-transaction-service = { workspace = true } +solana-storage-bigtable = { workspace = true } +solana-streamer = { workspace = true } +solana-test-validator = { workspace = true } +solana-tpu-client = { workspace = true } +solana-version = { workspace = true } +solana-vote-program = { workspace = true } +symlink = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -solana-account-decoder = { path = "../account-decoder", version = "=1.16.0" } -spl-token-2022 = { version = "=0.5.0", features = ["no-entrypoint"] } +solana-account-decoder = { workspace = true } +spl-token-2022 = { workspace = true, features = ["no-entrypoint"] } [target.'cfg(not(target_env = "msvc"))'.dependencies] -jemallocator = { package = "tikv-jemallocator", version = "0.4.1", features = ["unprefixed_malloc_on_supported_platforms"] } +jemallocator = { workspace = true } [target."cfg(unix)".dependencies] -libc = "0.2.131" -signal-hook = "0.3.14" +libc = { workspace = true } +signal-hook = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/version/Cargo.toml b/version/Cargo.toml index 370f1f4af72d89..85b2ef14b5ed4a 100644 --- a/version/Cargo.toml +++ b/version/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "solana-version" -version = "1.16.0" description = "Solana Version" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-version" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -log = "0.4.17" -semver = "1.0.16" -serde = "1.0.152" -serde_derive = "1.0.103" -solana-frozen-abi = { path = "../frozen-abi", version = "=1.16.0" } -solana-frozen-abi-macro = { path = "../frozen-abi/macro", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } +log = { workspace = true } +semver = { workspace = true } +serde = { workspace = true } +serde_derive = { workspace = true } +solana-frozen-abi = { workspace = true } +solana-frozen-abi-macro = { workspace = true } +solana-sdk = { workspace = true } [lib] name = "solana_version" @@ -25,4 +25,4 @@ name = "solana_version" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -rustc_version = "0.4" +rustc_version = { workspace = true } diff --git a/watchtower/Cargo.toml b/watchtower/Cargo.toml index 76e26e27d5f718..d8bad3cf4d18f0 100644 --- a/watchtower/Cargo.toml +++ b/watchtower/Cargo.toml @@ -1,28 +1,28 @@ [package] -authors = ["Solana Labs Maintainers "] -edition = "2021" name = "solana-watchtower" description = "Blockchain, Rebuilt for Scale" -version = "1.16.0" -repository = "https://github.com/solana-labs/solana" -license = "Apache-2.0" -homepage = "https://solanalabs.com/" documentation = "https://docs.rs/solana-watchtower" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -clap = "2.33.1" -humantime = "2.0.1" -log = "0.4.17" -solana-clap-utils = { path = "../clap-utils", version = "=1.16.0" } -solana-cli-config = { path = "../cli-config", version = "=1.16.0" } -solana-cli-output = { path = "../cli-output", version = "=1.16.0" } -solana-logger = { path = "../logger", version = "=1.16.0" } -solana-metrics = { path = "../metrics", version = "=1.16.0" } -solana-notifier = { path = "../notifier", version = "=1.16.0" } -solana-rpc-client = { path = "../rpc-client", version = "=1.16.0", default-features = false } -solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.16.0" } -solana-sdk = { path = "../sdk", version = "=1.16.0" } -solana-version = { path = "../version", version = "=1.16.0" } +clap = { workspace = true } +humantime = { workspace = true } +log = { workspace = true } +solana-clap-utils = { workspace = true } +solana-cli-config = { workspace = true } +solana-cli-output = { workspace = true } +solana-logger = { workspace = true } +solana-metrics = { workspace = true } +solana-notifier = { workspace = true } +solana-rpc-client = { workspace = true } +solana-rpc-client-api = { workspace = true } +solana-sdk = { workspace = true } +solana-version = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/zk-token-sdk/Cargo.toml b/zk-token-sdk/Cargo.toml index 3779e412aeebb8..f074779b41be30 100644 --- a/zk-token-sdk/Cargo.toml +++ b/zk-token-sdk/Cargo.toml @@ -1,38 +1,38 @@ [package] name = "solana-zk-token-sdk" -description = "Solana Zk Token SDK" -authors = ["Solana Labs Maintainers "] -repository = "https://github.com/solana-labs/solana" -version = "1.16.0" -license = "Apache-2.0" -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +repository = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +edition = { workspace = true } [dependencies] -base64 = "0.13" -bytemuck = { version = "1.11.0", features = ["derive"] } -num-derive = "0.3" -num-traits = "0.2" -solana-program = { path = "../sdk/program", version = "=1.16.0" } +base64 = { workspace = true } +bytemuck = { workspace = true, features = ["derive"] } +num-derive = { workspace = true } +num-traits = { workspace = true } +solana-program = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dependencies] -aes-gcm-siv = "0.10.3" -arrayref = "0.3.6" +aes-gcm-siv = { workspace = true } +arrayref = { workspace = true } bincode = "1" -byteorder = "1" -cipher = "0.4" -curve25519-dalek = { version = "3.2.1", features = ["serde"] } -getrandom = { version = "0.1", features = ["dummy"] } -itertools = "0.10.5" -lazy_static = "1.4.0" -merlin = "3" -rand = "0.7" -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" +byteorder = { workspace = true } +cipher = { workspace = true } +curve25519-dalek = { workspace = true, features = ["serde"] } +getrandom = { workspace = true, features = ["dummy"] } +itertools = { workspace = true } +lazy_static = { workspace = true } +merlin = { workspace = true } +rand = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } sha3 = "0.9" -solana-sdk = { path = "../sdk", version = "=1.16.0" } -subtle = "2" -thiserror = "1.0" -zeroize = { version = "1.3", default-features = false, features = ["zeroize_derive"] } +solana-sdk = { workspace = true } +subtle = { workspace = true } +thiserror = { workspace = true } +zeroize = { workspace = true, features = ["zeroize_derive"] } [lib] crate-type = ["cdylib", "rlib"]