cargo +nightly fix --features=bpf_c,cuda,erasure,chacha --edition-idioms
This commit is contained in:
78
src/lib.rs
78
src/lib.rs
@@ -74,59 +74,59 @@ pub mod vote_stage;
|
||||
pub mod wallet;
|
||||
pub mod window;
|
||||
pub mod window_service;
|
||||
extern crate bincode;
|
||||
extern crate bs58;
|
||||
extern crate bv;
|
||||
extern crate byteorder;
|
||||
extern crate bytes;
|
||||
extern crate chrono;
|
||||
extern crate clap;
|
||||
extern crate dirs;
|
||||
extern crate elf;
|
||||
extern crate generic_array;
|
||||
use bincode;
|
||||
use bs58;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
use elf;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(any(feature = "chacha", feature = "cuda"))]
|
||||
#[macro_use]
|
||||
extern crate hex_literal;
|
||||
extern crate indexmap;
|
||||
extern crate ipnetwork;
|
||||
extern crate itertools;
|
||||
extern crate libc;
|
||||
|
||||
|
||||
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate nix;
|
||||
extern crate pnet_datalink;
|
||||
extern crate rayon;
|
||||
extern crate reqwest;
|
||||
extern crate ring;
|
||||
extern crate rocksdb;
|
||||
extern crate serde;
|
||||
|
||||
use pnet_datalink;
|
||||
|
||||
use reqwest;
|
||||
|
||||
use rocksdb;
|
||||
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
#[macro_use]
|
||||
extern crate serde_json;
|
||||
extern crate serde_cbor;
|
||||
extern crate sha2;
|
||||
extern crate socket2;
|
||||
extern crate solana_drone;
|
||||
extern crate solana_jsonrpc_core as jsonrpc_core;
|
||||
extern crate solana_jsonrpc_http_server as jsonrpc_http_server;
|
||||
extern crate solana_system_program;
|
||||
|
||||
|
||||
|
||||
|
||||
use solana_jsonrpc_core as jsonrpc_core;
|
||||
use solana_jsonrpc_http_server as jsonrpc_http_server;
|
||||
use solana_system_program;
|
||||
#[macro_use]
|
||||
extern crate solana_jsonrpc_macros as jsonrpc_macros;
|
||||
extern crate solana_jsonrpc_pubsub as jsonrpc_pubsub;
|
||||
extern crate solana_jsonrpc_ws_server as jsonrpc_ws_server;
|
||||
extern crate solana_metrics;
|
||||
extern crate solana_native_loader;
|
||||
extern crate solana_sdk;
|
||||
extern crate sys_info;
|
||||
extern crate tokio;
|
||||
extern crate tokio_codec;
|
||||
extern crate untrusted;
|
||||
use solana_jsonrpc_pubsub as jsonrpc_pubsub;
|
||||
use solana_jsonrpc_ws_server as jsonrpc_ws_server;
|
||||
use solana_metrics;
|
||||
use solana_native_loader;
|
||||
|
||||
|
||||
|
||||
|
||||
use untrusted;
|
||||
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate matches;
|
||||
|
||||
extern crate rand;
|
||||
extern crate rand_chacha;
|
||||
use rand;
|
||||
|
||||
|
Reference in New Issue
Block a user