Skip to content

Commit 53721d0

Browse files
authored
program: remove some unused deps (#2012)
1 parent 3616739 commit 53721d0

File tree

5 files changed

+5
-14
lines changed

5 files changed

+5
-14
lines changed

Cargo.lock

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = [
55
exclude = [
66
"deps/serum-dex"
77
]
8+
resolver = "2"
89

910
[profile.release]
1011
lto = "fat"

programs/drift/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ solana-program = "1.16"
2323
anchor-spl = { version = "0.29.0", features = [] }
2424
pyth-client = "0.2.2"
2525
pyth-lazer-solana-contract = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "d790d1cb4da873a949cf33ff70349b7614b232eb", features = ["no-entrypoint"]}
26-
pythnet-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "3e8a24ecd0bcf22b787313e2020f4186bb22c729"}
27-
pyth-solana-receiver-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "3e8a24ecd0bcf22b787313e2020f4186bb22c729"}
26+
pythnet-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "d790d1cb4da873a949cf33ff70349b7614b232eb"}
27+
pyth-solana-receiver-sdk = { git = "https://github.com/drift-labs/pyth-crosschain", rev = "d790d1cb4da873a949cf33ff70349b7614b232eb"}
2828
bytemuck = { version = "1.4.0" }
2929
borsh = "0.10.3"
3030
hex = "0.4.3"
3131
num-traits = "0.2"
3232
uint = { version = "0.9.1", default-features = false }
33-
num-derive = "0.3"
34-
thiserror = "1.0"
3533
num-integer = "0.1.44"
3634
arrayref = "0.3.6"
3735
base64 = "0.13.0"
@@ -43,7 +41,6 @@ static_assertions = "1.1.0"
4341
drift-macros = { git = "https://github.com/drift-labs/drift-macros.git", rev = "c57d87" }
4442
switchboard = { path = "../switchboard", features = ["no-entrypoint"] }
4543
openbook-v2-light = { path = "../openbook_v2", features = ["no-entrypoint"] }
46-
ahash = "=0.8.6"
4744
switchboard-on-demand = { path = "../switchboard-on-demand", features = ["no-entrypoint"] }
4845
byteorder = "1.4.3"
4946

programs/pyth/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ anchor-test= []
1818

1919
[dependencies]
2020
anchor-lang = "0.29.0"
21-
arrayref = "0.3.6"
2221
bytemuck = { version = "1.4.0" }

programs/token_faucet/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ anchor-test= []
1616

1717
[dependencies]
1818
anchor-lang = "0.29.0"
19-
solana-program = "1.16"
2019
anchor-spl = "0.29.0"
2120
bytemuck = { version = "1.4.0" }

0 commit comments

Comments
 (0)