Skip to content

Commit e379e46

Browse files
authored
Version crates independently (#4)
#### Problem The sdk repo currently defines the version for all crates at the workspace level, which makes sense when all crates are supposed to be on the same version. However, we intend to version crates independently in the future. #### Summary of changes Remove the version defined in the workspace Cargo.toml, and set all crates to 2.2.0. To do all crates, I ran the following command: ``` git grep -l "version.*workspace" | xargs sed -i 's/^version = { workspace = true }/version = "2.2.0"/' ```
1 parent b7106dd commit e379e46

File tree

100 files changed

+99
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+99
-100
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ members = [
107107
resolver = "2"
108108

109109
[workspace.package]
110-
version = "2.2.0"
111110
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
112111
repository = "https://github.com/anza-xyz/agave"
113112
homepage = "https://anza.xyz/"

account-info/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-account-info"
33
description = "Solana AccountInfo and related definitions."
44
documentation = "https://docs.rs/solana-account-info"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

account/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-account"
33
description = "Solana Account type"
44
documentation = "https://docs.rs/solana-account"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

address-lookup-table-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-address-lookup-table-interface"
33
description = "Solana address lookup table interface."
44
documentation = "https://docs.rs/solana-address-lookup-table-interface"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

atomic-u64/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-atomic-u64"
33
description = "Solana atomic u64 implementation. For internal use only."
44
documentation = "https://docs.rs/solana-atomic-u64"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

big-mod-exp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-big-mod-exp"
33
description = "Solana big integer modular exponentiation"
44
documentation = "https://docs.rs/solana-big-mod-exp"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

bincode/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-bincode"
33
description = "Solana bincode utilities"
44
documentation = "https://docs.rs/solana-bincode"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

blake3-hasher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-blake3-hasher"
33
description = "Solana BLAKE3 hashing"
44
documentation = "https://docs.rs/solana-blake3-hasher"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

bn254/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-bn254"
33
description = "Solana BN254"
44
documentation = "https://docs.rs/solana-bn254"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

borsh/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-borsh"
33
description = "Solana Borsh utilities"
44
documentation = "https://docs.rs/solana-borsh"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

client-traits/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-client-traits"
33
description = "Traits for Solana clients"
44
documentation = "https://docs.rs/solana-client-traits"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

clock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-clock"
33
description = "Solana Clock and Time Definitions"
44
documentation = "https://docs.rs/solana-clock"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

cluster-type/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-cluster-type"
33
description = "Solana ClusterType enum"
44
documentation = "https://docs.rs/solana-cluster-type"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

commitment-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-commitment-config"
33
description = "Solana commitment config."
44
documentation = "https://docs.rs/solana-commitment-config"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

compute-budget-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-compute-budget-interface"
33
description = "Solana compute budget interface."
44
documentation = "https://docs.rs/solana-compute-budget-interface"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

cpi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-cpi"
33
description = "Solana Cross-program Invocation"
44
documentation = "https://docs.rs/solana-cpi"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

decode-error/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-decode-error"
33
description = "Solana DecodeError Trait"
44
documentation = "https://docs.rs/solana-decode-error"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

define-syscall/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-define-syscall"
33
description = "Solana define_syscall macro and core syscall definitions."
44
documentation = "https://docs.rs/solana-define-syscall"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

derivation-path/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-derivation-path"
33
description = "Solana BIP44 derivation paths."
44
documentation = "https://docs.rs/solana-derivation-path"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

ed25519-program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-ed25519-program"
33
description = "Instructions for the Solana ed25519 native program"
44
documentation = "https://docs.rs/solana-ed25519-program"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

epoch-info/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-epoch-info"
33
description = "Information about a Solana epoch."
44
documentation = "https://docs.rs/solana-epoch-info"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

epoch-rewards-hasher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-epoch-rewards-hasher"
33
description = "Solana epoch rewards hasher."
44
documentation = "https://docs.rs/solana-epoch-rewards-hasher"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

epoch-rewards/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-epoch-rewards"
33
description = "Solana epoch rewards sysvar."
44
documentation = "https://docs.rs/solana-epoch-rewards"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

epoch-schedule/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-epoch-schedule"
33
description = "Configuration for Solana epochs and slots."
44
documentation = "https://docs.rs/solana-epoch-schedule"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

example-mocks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-example-mocks"
33
description = "Solana mock types for use in examples"
44
documentation = "https://docs.rs/solana-example-mocks"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

feature-gate-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-feature-gate-interface"
33
description = "Solana feature gate program interface."
44
documentation = "https://docs.rs/solana-feature-gate-interface"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

feature-set/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-feature-set"
33
description = "Solana runtime features."
44
documentation = "https://docs.rs/solana-feature-set"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

fee-calculator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-fee-calculator"
33
description = "Solana transaction fee calculation"
44
documentation = "https://docs.rs/solana-fee-calculator"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

fee-structure/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-fee-structure"
33
description = "Solana fee structures."
44
documentation = "https://docs.rs/solana-fee-structure"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

file-download/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-file-download"
33
description = "Solana File Download Utility"
44
documentation = "https://docs.rs/solana-file-download"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

frozen-abi-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-frozen-abi-macro"
33
description = "Solana Frozen ABI Macro"
44
documentation = "https://docs.rs/solana-frozen-abi-macro"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

frozen-abi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-frozen-abi"
33
description = "Solana Frozen ABI"
44
documentation = "https://docs.rs/solana-frozen-abi"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

genesis-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-genesis-config"
33
description = "A Solana network's genesis config."
44
documentation = "https://docs.rs/solana-genesis-config"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

hard-forks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-hard-forks"
33
description = "The list of slot boundaries at which a hard fork should occur."
44
documentation = "https://docs.rs/solana-hard-forks"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-hash"
33
description = "Solana wrapper for the 32-byte output of a hashing algorithm."
44
documentation = "https://docs.rs/solana-hash"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

inflation/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-inflation"
33
description = "Configuration for Solana network inflation"
44
documentation = "https://docs.rs/solana-inflation"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

instruction/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-instruction"
33
description = "Types for directing the execution of Solana programs."
44
documentation = "https://docs.rs/solana-instruction"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

instructions-sysvar/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-instructions-sysvar"
33
description = "Type for instruction introspection during execution of Solana programs."
44
documentation = "https://docs.rs/solana-instructions-sysvar"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

keccak-hasher/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-keccak-hasher"
33
description = "Solana Keccak hashing"
44
documentation = "https://docs.rs/solana-keccak-hasher"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

keypair/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-keypair"
33
description = "Concrete implementation of a Solana `Signer`."
44
documentation = "https://docs.rs/solana-keypair"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

last-restart-slot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-last-restart-slot"
33
description = "Types and utilities for the Solana LastRestartSlot sysvar."
44
documentation = "https://docs.rs/solana-last-restart-slot"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

loader-v2-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-loader-v2-interface"
33
description = "Solana non-upgradable BPF loader v2 instructions."
44
documentation = "https://docs.rs/solana-loader-v2-interface"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

loader-v3-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-loader-v3-interface"
33
description = "Solana loader V3 interface."
44
documentation = "https://docs.rs/solana-loader-v3-interface"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

loader-v4-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "solana-loader-v4-interface"
33
description = "Solana loader V4 interface."
44
documentation = "https://docs.rs/solana-loader-v4-interface"
5-
version = { workspace = true }
5+
version = "2.2.0"
66
authors = { workspace = true }
77
repository = { workspace = true }
88
homepage = { workspace = true }

0 commit comments

Comments
 (0)