Back to no-entrypoint feature name
This commit is contained in:
parent
0296ed776d
commit
341149d0e9
|
@ -8,11 +8,11 @@ license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-program = "1.4.4"
|
solana-program = "1.4.4"
|
||||||
spl-token = { path = "../../token/program", features = ["exclude_entrypoint"] }
|
spl-token = { path = "../../token/program", features = ["no-entrypoint"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
solana-program-test = "1.4.4"
|
solana-program-test = "1.4.4"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! Program entrypoint
|
//! Program entrypoint
|
||||||
|
|
||||||
#![cfg(all(target_arch = "bpf", not(feature = "exclude_entrypoint")))]
|
#![cfg(all(target_arch = "bpf", not(feature = "no-entrypoint")))]
|
||||||
|
|
||||||
use solana_program::{
|
use solana_program::{
|
||||||
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, pubkey::Pubkey,
|
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, pubkey::Pubkey,
|
||||||
|
|
|
@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-program = "1.4.4"
|
solana-program = "1.4.4"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
//! A simple program that accepts a string of encoded characters and verifies that it parses. Currently handles UTF-8.
|
//! A simple program that accepts a string of encoded characters and verifies that it parses. Currently handles UTF-8.
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
mod entrypoint;
|
mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -17,8 +17,8 @@ solana-cli-config = "1.4.4"
|
||||||
solana-client = "1.4.4"
|
solana-client = "1.4.4"
|
||||||
solana-logger = "1.4.4"
|
solana-logger = "1.4.4"
|
||||||
solana-sdk = "1.4.4"
|
solana-sdk = "1.4.4"
|
||||||
spl-stake-pool = { version = "0.1.0", path="../program", features = [ "exclude_entrypoint" ] }
|
spl-stake-pool = { path="../program", features = [ "no-entrypoint" ] }
|
||||||
spl-token = { path="../../token/program" }
|
spl-token = { path="../../token/program", features = [ "no-entrypoint" ] }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "spl-stake-pool"
|
name = "spl-stake-pool"
|
||||||
|
|
|
@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arrayref = "0.3.6"
|
arrayref = "0.3.6"
|
||||||
|
@ -18,7 +18,7 @@ num_enum = "0.5.1"
|
||||||
serde = "1.0.117"
|
serde = "1.0.117"
|
||||||
serde_derive = "1.0.103"
|
serde_derive = "1.0.103"
|
||||||
solana-program = "1.4.4"
|
solana-program = "1.4.4"
|
||||||
spl-token = { path = "../../token/program", features = [ "exclude_entrypoint" ] }
|
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -8,7 +8,7 @@ pub mod processor;
|
||||||
pub mod stake;
|
pub mod stake;
|
||||||
pub mod state;
|
pub mod state;
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
pub mod entrypoint;
|
pub mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -18,7 +18,7 @@ futures = "0.3"
|
||||||
solana-banks-client = "1.4.4"
|
solana-banks-client = "1.4.4"
|
||||||
solana-cli-config = "1.4.4"
|
solana-cli-config = "1.4.4"
|
||||||
solana-sdk = "1.4.4"
|
solana-sdk = "1.4.4"
|
||||||
spl-themis-ristretto = { version = "0.1.0", path = "../program_ristretto", features = ["exclude_entrypoint"] }
|
spl-themis-ristretto = { version = "0.1.0", path = "../program_ristretto", features = ["no-entrypoint"] }
|
||||||
tarpc = { version = "0.22.0", features = ["full"] }
|
tarpc = { version = "0.22.0", features = ["full"] }
|
||||||
tokio = "0.3"
|
tokio = "0.3"
|
||||||
url = "2.1"
|
url = "2.1"
|
||||||
|
|
|
@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
default = ["elgamal_ristretto/program"]
|
default = ["elgamal_ristretto/program"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -6,7 +6,7 @@ pub mod instruction;
|
||||||
pub mod processor;
|
pub mod processor;
|
||||||
pub mod state;
|
pub mod state;
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
pub mod entrypoint;
|
pub mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arrayref = "0.3.6"
|
arrayref = "0.3.6"
|
||||||
|
|
|
@ -7,7 +7,7 @@ pub mod instruction;
|
||||||
pub mod processor;
|
pub mod processor;
|
||||||
pub mod state;
|
pub mod state;
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
pub mod entrypoint;
|
pub mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -8,7 +8,7 @@ license = "Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
production = []
|
production = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -16,7 +16,7 @@ arrayref = "0.3.6"
|
||||||
num-derive = "0.3"
|
num-derive = "0.3"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
solana-program = "1.4.4"
|
solana-program = "1.4.4"
|
||||||
spl-token = { path = "../../token/program", features = [ "exclude_entrypoint" ] }
|
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -9,7 +9,7 @@ pub mod instruction;
|
||||||
pub mod processor;
|
pub mod processor;
|
||||||
pub mod state;
|
pub mod state;
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
mod entrypoint;
|
mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -20,7 +20,7 @@ solana-client = "1.4.4"
|
||||||
solana-logger = "1.4.4"
|
solana-logger = "1.4.4"
|
||||||
solana-remote-wallet = "1.4.4"
|
solana-remote-wallet = "1.4.4"
|
||||||
solana-sdk = "1.4.4"
|
solana-sdk = "1.4.4"
|
||||||
spl-token = { version = "2.0", path="../program", features = [ "exclude_entrypoint" ] }
|
spl-token = { version = "2.0", path="../program", features = [ "no-entrypoint" ] }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "spl-token"
|
name = "spl-token"
|
||||||
|
|
|
@ -9,7 +9,7 @@ edition = "2018"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = { version = "0.7.0"}
|
rand = { version = "0.7.0"}
|
||||||
spl-token = { path = "../program", features = [ "exclude_entrypoint" ] }
|
spl-token = { path = "../program", features = [ "no-entrypoint" ] }
|
||||||
solana-runtime = "1.4.4"
|
solana-runtime = "1.4.4"
|
||||||
solana-sdk = "1.4.4"
|
solana-sdk = "1.4.4"
|
||||||
solana-bpf-loader-program = "1.4.4"
|
solana-bpf-loader-program = "1.4.4"
|
||||||
|
|
|
@ -9,7 +9,7 @@ edition = "2018"
|
||||||
exclude = ["js/**"]
|
exclude = ["js/**"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arrayref = "0.3.6"
|
arrayref = "0.3.6"
|
||||||
|
|
|
@ -9,7 +9,7 @@ pub mod native_mint;
|
||||||
pub mod processor;
|
pub mod processor;
|
||||||
pub mod state;
|
pub mod state;
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
pub mod entrypoint;
|
pub mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -9,7 +9,7 @@ edition = "2018"
|
||||||
exclude = ["js/**"]
|
exclude = ["js/**"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
exclude_entrypoint = []
|
no-entrypoint = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arrayref = "0.3.6"
|
arrayref = "0.3.6"
|
||||||
|
|
|
@ -9,7 +9,7 @@ pub mod native_mint;
|
||||||
pub mod processor;
|
pub mod processor;
|
||||||
pub mod state;
|
pub mod state;
|
||||||
|
|
||||||
#[cfg(not(feature = "exclude_entrypoint"))]
|
#[cfg(not(feature = "no-entrypoint"))]
|
||||||
mod entrypoint;
|
mod entrypoint;
|
||||||
|
|
||||||
// Export current sdk types for downstream users building with a different sdk version
|
// Export current sdk types for downstream users building with a different sdk version
|
||||||
|
|
|
@ -9,7 +9,7 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
solana-sdk = "1.4.4"
|
solana-sdk = "1.4.4"
|
||||||
spl-memo = { path = "../../memo/program", features = [ "exclude_entrypoint" ] }
|
spl-memo = { path = "../../memo/program", features = [ "no-entrypoint" ] }
|
||||||
spl-token = { path = "../../token/program", features = [ "exclude_entrypoint" ] }
|
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
|
||||||
spl-token-swap = { path = "../../token-swap/program", features = [ "exclude_entrypoint" ] }
|
spl-token-swap = { path = "../../token-swap/program", features = [ "no-entrypoint" ] }
|
||||||
spl-token-v3 = { path = "../../token/program-v3", features = [ "exclude_entrypoint" ] }
|
spl-token-v3 = { path = "../../token/program-v3", features = [ "no-entrypoint" ] }
|
||||||
|
|
Loading…
Reference in New Issue