mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-14 07:26:51 +00:00
rename utils to ore-utils
This commit is contained in:
20
Cargo.lock
generated
20
Cargo.lock
generated
@@ -2591,13 +2591,13 @@ dependencies = [
|
||||
"drillx",
|
||||
"mpl-token-metadata",
|
||||
"num_enum 0.7.2",
|
||||
"ore-utils",
|
||||
"shank",
|
||||
"solana-program",
|
||||
"spl-associated-token-account",
|
||||
"spl-token",
|
||||
"static_assertions",
|
||||
"thiserror",
|
||||
"utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2608,6 +2608,7 @@ dependencies = [
|
||||
"drillx",
|
||||
"mpl-token-metadata",
|
||||
"ore-api",
|
||||
"ore-utils",
|
||||
"rand 0.8.5",
|
||||
"solana-program",
|
||||
"solana-program-test",
|
||||
@@ -2615,7 +2616,14 @@ dependencies = [
|
||||
"spl-associated-token-account",
|
||||
"spl-token",
|
||||
"tokio",
|
||||
"utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ore-utils"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
"solana-program",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5714,14 +5722,6 @@ version = "0.7.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
||||
|
||||
[[package]]
|
||||
name = "utils"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
"solana-program",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "valuable"
|
||||
version = "0.1.0"
|
||||
|
||||
@@ -19,10 +19,11 @@ const-crypto = "0.1.0"
|
||||
drillx = { git = "https://github.com/regolith-labs/drillx", branch = "master", features = ["solana"] }
|
||||
mpl-token-metadata = "4.1.2"
|
||||
num_enum = "0.7.2"
|
||||
ore-api = { path = "api" }
|
||||
ore-utils = { path = "utils" }
|
||||
shank = "0.3.0"
|
||||
solana-program = "1.18"
|
||||
spl-token = { version = "^4", features = ["no-entrypoint"] }
|
||||
spl-associated-token-account = { version = "^2.2", features = [ "no-entrypoint" ] }
|
||||
static_assertions = "1.1.0"
|
||||
thiserror = "1.0.57"
|
||||
utils = { path = "utils" }
|
||||
|
||||
@@ -16,10 +16,10 @@ const-crypto.workspace = true
|
||||
drillx.workspace = true
|
||||
mpl-token-metadata.workspace = true
|
||||
num_enum.workspace = true
|
||||
ore-utils.workspace = true
|
||||
shank.workspace = true
|
||||
solana-program.workspace = true
|
||||
spl-token.workspace = true
|
||||
spl-associated-token-account.workspace = true
|
||||
static_assertions.workspace = true
|
||||
thiserror.workspace = true
|
||||
utils.workspace = true
|
||||
@@ -5,7 +5,7 @@ pub mod instruction;
|
||||
pub mod loaders;
|
||||
pub mod state;
|
||||
|
||||
pub(crate) use utils;
|
||||
pub(crate) use ore_utils as utils;
|
||||
|
||||
use solana_program::declare_id;
|
||||
|
||||
|
||||
@@ -21,11 +21,11 @@ default = []
|
||||
[dependencies]
|
||||
drillx.workspace = true
|
||||
mpl-token-metadata.workspace = true
|
||||
ore-api = { path = "../api" }
|
||||
ore-api.workspace = true
|
||||
ore-utils.workspace = true
|
||||
solana-program.workspace = true
|
||||
spl-token.workspace = true
|
||||
spl-associated-token-account.workspace = true
|
||||
utils.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
bs64 = "0.1.2"
|
||||
|
||||
@@ -26,7 +26,7 @@ use solana_program::{
|
||||
pubkey::Pubkey,
|
||||
};
|
||||
|
||||
pub(crate) use utils;
|
||||
pub(crate) use ore_utils as utils;
|
||||
|
||||
#[cfg(not(feature = "no-entrypoint"))]
|
||||
solana_program::entrypoint!(process_instruction);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "utils"
|
||||
name = "ore-utils"
|
||||
description = "Utils for building ORE programs"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
@@ -9,10 +9,6 @@ documentation.workspace = true
|
||||
repository.workspace = true
|
||||
keywords.workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "lib"]
|
||||
name = "utils"
|
||||
|
||||
[dependencies]
|
||||
bytemuck.workspace = true
|
||||
solana-program.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user