Rename solana-program-sdk to solana-program

This commit is contained in:
Michael Vines
2020-10-23 17:22:10 -07:00
parent 92ce381d60
commit dd711ab5fb
65 changed files with 123 additions and 127 deletions

View File

@ -1,9 +1,9 @@
pub use solana_program_sdk::entrypoint::*;
pub use solana_program::entrypoint::*;
#[macro_export]
#[deprecated(
since = "1.4.3",
note = "use solana_program_sdk::entrypoint::entrypoint instead"
note = "use solana_program::entrypoint::entrypoint instead"
)]
macro_rules! entrypoint {
($process_instruction:ident) => {

View File

@ -1,9 +1,9 @@
pub use solana_program_sdk::entrypoint_deprecated::*;
pub use solana_program::entrypoint_deprecated::*;
#[macro_export]
#[deprecated(
since = "1.4.3",
note = "use solana_program_sdk::entrypoint::entrypoint instead"
note = "use solana_program::entrypoint::entrypoint instead"
)]
macro_rules! entrypoint_deprecated {
($process_instruction:ident) => {

View File

@ -1,4 +1,4 @@
pub use solana_program_sdk::hash::*;
pub use solana_program::hash::*;
/// random hash value for tests and benchmarks.
#[cfg(feature = "everything")]

View File

@ -4,7 +4,7 @@
// Allows macro expansion of `use ::solana_sdk::*` to work within this crate
extern crate self as solana_sdk;
pub use solana_program_sdk::*;
pub use solana_program::*;
pub mod builtins;
pub mod client;

View File

@ -1,9 +1,9 @@
#![cfg(feature = "program")]
pub use solana_program_sdk::log::*;
pub use solana_program::log::*;
#[macro_export]
#[deprecated(since = "1.4.3", note = "solana_program_sdk::log::info instead")]
#[deprecated(since = "1.4.3", note = "solana_program::log::info instead")]
macro_rules! info {
($msg:expr) => {
$crate::log::sol_log($msg)

View File

@ -1,4 +1,4 @@
pub use solana_program_sdk::pubkey::*;
pub use solana_program::pubkey::*;
/// New random Pubkey for tests and benchmarks.
#[cfg(feature = "everything")]