Remove explicit borsh dependency

This commit is contained in:
Armani Ferrante 2021-01-15 19:58:01 -08:00
parent e0b3d4a41f
commit 13ed9d79bb
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
10 changed files with 2 additions and 10 deletions

View File

@ -28,7 +28,6 @@ cpi = ["no-entrypoint"]
[dependencies]
anchor-lang = {{ git = "https://github.com/project-serum/anchor", features = ["derive"] }}
serum-borsh = {{ version = "0.8.0-serum.1", features = ["serum-program"] }}
solana-program = "1.4.3"
solana-sdk = {{ version = "1.3.14", default-features = false, features = ["program"] }}
"#,

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -15,6 +15,5 @@ cpi = ["no-entrypoint"]
[dependencies]
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }
anchor-spl = { git = "https://github.com/project-serum/anchor" }
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,6 @@ no-entrypoint = []
cpi = ["no-entrypoint"]
[dependencies]
serum-borsh = { version = "0.8.0-serum.1", features = ["serum-program"] }
solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -119,6 +119,7 @@ pub mod prelude {
ProgramAccount, Sysvar, ToAccountInfo, ToAccountInfos, ToAccountMetas,
};
pub use borsh;
pub use solana_program::msg;
pub use solana_sdk::account_info::{next_account_info, AccountInfo};
pub use solana_sdk::entrypoint::ProgramResult;