Back to no-entrypoint feature name

This commit is contained in:
Michael Vines 2020-11-03 09:33:32 -08:00
parent 0296ed776d
commit 341149d0e9
21 changed files with 28 additions and 28 deletions

View File

@ -8,11 +8,11 @@ license = "Apache-2.0"
edition = "2018"
[features]
exclude_entrypoint = []
no-entrypoint = []
[dependencies]
solana-program = "1.4.4"
spl-token = { path = "../../token/program", features = ["exclude_entrypoint"] }
spl-token = { path = "../../token/program", features = ["no-entrypoint"] }
[dev-dependencies]
solana-program-test = "1.4.4"

View File

@ -1,6 +1,6 @@
//! Program entrypoint
#![cfg(all(target_arch = "bpf", not(feature = "exclude_entrypoint")))]
#![cfg(all(target_arch = "bpf", not(feature = "no-entrypoint")))]
use solana_program::{
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, pubkey::Pubkey,

View File

@ -8,7 +8,7 @@ license = "Apache-2.0"
edition = "2018"
[features]
exclude_entrypoint = []
no-entrypoint = []
[dependencies]
solana-program = "1.4.4"

View File

@ -2,7 +2,7 @@
//! 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;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -17,8 +17,8 @@ solana-cli-config = "1.4.4"
solana-client = "1.4.4"
solana-logger = "1.4.4"
solana-sdk = "1.4.4"
spl-stake-pool = { version = "0.1.0", path="../program", features = [ "exclude_entrypoint" ] }
spl-token = { path="../../token/program" }
spl-stake-pool = { path="../program", features = [ "no-entrypoint" ] }
spl-token = { path="../../token/program", features = [ "no-entrypoint" ] }
[[bin]]
name = "spl-stake-pool"

View File

@ -8,7 +8,7 @@ license = "Apache-2.0"
edition = "2018"
[features]
exclude_entrypoint = []
no-entrypoint = []
[dependencies]
arrayref = "0.3.6"
@ -18,7 +18,7 @@ num_enum = "0.5.1"
serde = "1.0.117"
serde_derive = "1.0.103"
solana-program = "1.4.4"
spl-token = { path = "../../token/program", features = [ "exclude_entrypoint" ] }
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
thiserror = "1.0"
[dev-dependencies]

View File

@ -8,7 +8,7 @@ pub mod processor;
pub mod stake;
pub mod state;
#[cfg(not(feature = "exclude_entrypoint"))]
#[cfg(not(feature = "no-entrypoint"))]
pub mod entrypoint;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -18,7 +18,7 @@ futures = "0.3"
solana-banks-client = "1.4.4"
solana-cli-config = "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"] }
tokio = "0.3"
url = "2.1"

View File

@ -8,7 +8,7 @@ license = "Apache-2.0"
edition = "2018"
[features]
exclude_entrypoint = []
no-entrypoint = []
default = ["elgamal_ristretto/program"]
[dependencies]

View File

@ -6,7 +6,7 @@ pub mod instruction;
pub mod processor;
pub mod state;
#[cfg(not(feature = "exclude_entrypoint"))]
#[cfg(not(feature = "no-entrypoint"))]
pub mod entrypoint;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -8,7 +8,7 @@ license = "Apache-2.0"
edition = "2018"
[features]
exclude_entrypoint = []
no-entrypoint = []
[dependencies]
arrayref = "0.3.6"

View File

@ -7,7 +7,7 @@ pub mod instruction;
pub mod processor;
pub mod state;
#[cfg(not(feature = "exclude_entrypoint"))]
#[cfg(not(feature = "no-entrypoint"))]
pub mod entrypoint;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -8,7 +8,7 @@ license = "Apache-2.0"
edition = "2018"
[features]
exclude_entrypoint = []
no-entrypoint = []
production = []
[dependencies]
@ -16,7 +16,7 @@ arrayref = "0.3.6"
num-derive = "0.3"
num-traits = "0.2"
solana-program = "1.4.4"
spl-token = { path = "../../token/program", features = [ "exclude_entrypoint" ] }
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
thiserror = "1.0"
[dev-dependencies]

View File

@ -9,7 +9,7 @@ pub mod instruction;
pub mod processor;
pub mod state;
#[cfg(not(feature = "exclude_entrypoint"))]
#[cfg(not(feature = "no-entrypoint"))]
mod entrypoint;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -20,7 +20,7 @@ solana-client = "1.4.4"
solana-logger = "1.4.4"
solana-remote-wallet = "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]]
name = "spl-token"

View File

@ -9,7 +9,7 @@ edition = "2018"
[dev-dependencies]
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-sdk = "1.4.4"
solana-bpf-loader-program = "1.4.4"

View File

@ -9,7 +9,7 @@ edition = "2018"
exclude = ["js/**"]
[features]
exclude_entrypoint = []
no-entrypoint = []
[dependencies]
arrayref = "0.3.6"

View File

@ -9,7 +9,7 @@ pub mod native_mint;
pub mod processor;
pub mod state;
#[cfg(not(feature = "exclude_entrypoint"))]
#[cfg(not(feature = "no-entrypoint"))]
pub mod entrypoint;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -9,7 +9,7 @@ edition = "2018"
exclude = ["js/**"]
[features]
exclude_entrypoint = []
no-entrypoint = []
[dependencies]
arrayref = "0.3.6"

View File

@ -9,7 +9,7 @@ pub mod native_mint;
pub mod processor;
pub mod state;
#[cfg(not(feature = "exclude_entrypoint"))]
#[cfg(not(feature = "no-entrypoint"))]
mod entrypoint;
// Export current sdk types for downstream users building with a different sdk version

View File

@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
solana-sdk = "1.4.4"
spl-memo = { path = "../../memo/program", features = [ "exclude_entrypoint" ] }
spl-token = { path = "../../token/program", features = [ "exclude_entrypoint" ] }
spl-token-swap = { path = "../../token-swap/program", features = [ "exclude_entrypoint" ] }
spl-token-v3 = { path = "../../token/program-v3", features = [ "exclude_entrypoint" ] }
spl-memo = { path = "../../memo/program", features = [ "no-entrypoint" ] }
spl-token = { path = "../../token/program", features = [ "no-entrypoint" ] }
spl-token-swap = { path = "../../token-swap/program", features = [ "no-entrypoint" ] }
spl-token-v3 = { path = "../../token/program-v3", features = [ "no-entrypoint" ] }