Skip to content

Commit

Permalink
remove toml and serde deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jarry-xiao committed Jan 31, 2023
1 parent c623e2c commit 91eb488
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 64 deletions.
52 changes: 3 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ solana-client = "1.14.10"
solana-sdk = "1.14.10"
sha256 = "1.1.1"
hex = "0.3.1"
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.68"
toml = "0.7.1"
13 changes: 1 addition & 12 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::{io::Read, path::Path};
use std::io::Read;

use clap::{Parser, Subcommand};
use cmd_lib::{init_builtin_logger, run_cmd, run_fun};
use serde::Deserialize;
use solana_client::rpc_client::RpcClient;
use solana_sdk::{
bpf_loader_upgradeable::{self, UpgradeableLoaderState},
Expand All @@ -16,16 +15,6 @@ struct Arguments {
subcommand: SubCommand,
}

#[derive(Deserialize, Debug)]
struct Config {
package: Package,
}

#[derive(Deserialize, Debug)]
struct Package {
name: String,
}

#[derive(Subcommand, Debug)]
enum SubCommand {
/// Deterministically build the program in an Docker container
Expand Down

0 comments on commit 91eb488

Please sign in to comment.