forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* extract cpi crate * unused import * fmt * move sol_invoke_signed_c to cpi crate * minimize solana_program use in doc comment Co-authored-by: Jon C <[email protected]> * minimize solana_program use in doc comment Co-authored-by: Jon C <[email protected]> * fix doc link Co-authored-by: Jon C <[email protected]> * fix entrypoint usage in doc examples * add static assertion for inlined SUCCESS const (needed to remove #[cfg(target_os = "solana")] for this to work) * fix doc link Co-authored-by: Jon C <[email protected]> * sort deps --------- Co-authored-by: Jon C <[email protected]>
- Loading branch information
1 parent
51f3ba8
commit 7d455b0
Showing
9 changed files
with
507 additions
and
298 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[package] | ||
name = "solana-cpi" | ||
description = "Solana Cross-program Invocation" | ||
documentation = "https://docs.rs/solana-cpi" | ||
version = { workspace = true } | ||
authors = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
license = { workspace = true } | ||
edition = { workspace = true } | ||
|
||
[dependencies] | ||
solana-account-info = { workspace = true } | ||
solana-instruction = { workspace = true } | ||
solana-program-error = { workspace = true } | ||
solana-pubkey = { workspace = true } | ||
|
||
[target.'cfg(target_os = "solana")'.dependencies] | ||
solana-define-syscall = { workspace = true } | ||
solana-stable-layout = { workspace = true } | ||
|
||
[dev-dependencies] | ||
solana-program = { path = "../program" } | ||
solana-program-entrypoint = { workspace = true } | ||
static_assertions = { workspace = true } | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[lints] | ||
workspace = true |
Oops, something went wrong.