Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
374b269
Add derive address helpers
febo Sep 20, 2025
5038382
Update lock file
febo Sep 20, 2025
ae5c782
Fix doc links
febo Sep 20, 2025
c1d619f
Add missing dependency
febo Sep 21, 2025
eccb62d
Address review comments (#78)
febo Mar 14, 2025
a755026
Deprecate AccountInfo::realloc (#174)
febo Jun 13, 2025
66a2af6
Ignore `zero_init` parameter (#203)
febo Jul 17, 2025
acd9c52
Remove unused
febo Oct 3, 2025
d59ce99
Refactor directory structure (#18)
febo Sep 24, 2024
ead8aa5
Add from_slice helper (#23)
febo Oct 9, 2024
6be06b0
Fix signer from helpers
febo Oct 10, 2024
46c0ddf
Add signer macro
febo Oct 16, 2024
776cf4e
Fix doctest
febo Oct 16, 2024
75c16ef
Add `checked_create_program_address` helper (#30)
febo Oct 25, 2024
98d3724
sdk: Improve comments (#64)
febo Feb 14, 2025
db2d727
add `seeds` macro (#73)
publicqi Mar 1, 2025
df35a31
Address review comments (#78)
febo Mar 14, 2025
7acea1d
add memo program (#105)
publicqi Mar 27, 2025
dc55079
Account borrow state check (#147)
febo May 1, 2025
adee2cf
Add const qualifier (#159)
febo May 29, 2025
ce25cef
Simplify invoke instruction (#154)
febo Jun 6, 2025
46ca37e
ci: Add spellcheck step (#164)
febo Jul 16, 2025
80b035a
Clarify the use of constant values (#200)
febo Jul 16, 2025
09e53b1
Feat: Add debug/copy derives and enable missing debug/copy lint (#228)
stegaBOB Aug 26, 2025
38e9387
pinocchio: Add `pubkey_eq` helper (#248)
febo Sep 11, 2025
73c9273
Use solana-address
febo Apr 1, 2025
4d2ab1d
Fix syscall parameter
febo Apr 1, 2025
8a1247e
Fix docs
febo Sep 16, 2025
a774af2
Update references to pubkey
febo Sep 16, 2025
d48a777
Use solana-account-view
febo Apr 2, 2025
a6e684f
Update dependencies
febo Sep 24, 2025
9c3164d
Add instruction view
febo Sep 24, 2025
c63536c
Update lamports reference
febo Sep 25, 2025
bca130a
Tweks
febo Oct 3, 2025
73b1809
Add target_arch bpf
febo Oct 18, 2025
c8c57ce
Fix rebase
febo Oct 23, 2025
7badd2b
Fix lint
febo Oct 23, 2025
fec6cf7
Simplify definition
febo Oct 28, 2025
219c2f6
Fix doc feature
febo Nov 19, 2025
47781b0
Address review comments
febo Nov 20, 2025
491515b
Refactored slice support
febo Nov 20, 2025
c38c28f
Improve code reuse
febo Nov 20, 2025
885b1bf
Update msrv check
febo Nov 20, 2025
18cd540
More review comments
febo Nov 21, 2025
f432db3
Use crate rust-version
febo Nov 21, 2025
fae99c3
Double quotes
febo Nov 21, 2025
99315b1
Fix docs
febo Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ jobs:
cargo-cache-key: cargo-minimum-check
cargo-cache-fallback-key: cargo-minimum

- name: Install additional toolchains
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a cache to this step, but it does not seem to take very long since one of the toolchains will usually be installed already.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me! It only takes 8 seconds, and the whole check is less than a minute

run: |
toolchains=$(./scripts/read-rust-versions.sh)
for toolchain in $toolchains; do
rustup toolchain install "$toolchain"
done

- name: Run check
run: ./scripts/check-msrv.sh

Expand Down
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ members = [
"inflation",
"instruction",
"instruction-error",
"instruction-view",
"instructions-sysvar",
"keccak-hasher",
"keypair",
Expand Down Expand Up @@ -254,6 +255,7 @@ solana-hash = { path = "hash", version = "4.0.0", default-features = false }
solana-inflation = { path = "inflation", version = "3.0.0" }
solana-instruction = { path = "instruction", version = "3.0.0", default-features = false }
solana-instruction-error = { path = "instruction-error", version = "2.0.0" }
solana-instruction-view = { path = "instruction-view", version = "0.0.0" }
solana-instructions-sysvar = { path = "instructions-sysvar", version = "3.0.0" }
solana-keccak-hasher = { path = "keccak-hasher", version = "3.0.0" }
solana-keypair = { path = "keypair", version = "3.0.0" }
Expand Down
31 changes: 31 additions & 0 deletions instruction-view/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[package]
name = "solana-instruction-view"
description = "Lightweight instruction representation"
documentation = "https://docs.rs/solana-instruction-view"
version = "0.0.0"
rust-version = "1.82.0"
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]

[features]
cpi = ["dep:solana-define-syscall", "dep:solana-program-error"]
slice-cpi = ["cpi"]

[dependencies]
solana-account-view = { workspace = true }
solana-address = { workspace = true }
solana-program-error = { workspace = true, optional = true }

[target.'cfg(any(target_os = "solana", target_arch = "bpf"))'.dependencies]
solana-define-syscall = { workspace = true, optional = true }

[lints]
workspace = true
Loading