Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Rename client-common to rpc-client-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Aug 22, 2022
1 parent d08f9a3 commit 4d50398
Show file tree
Hide file tree
Showing 38 changed files with 237 additions and 236 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ members = [
"cli-config",
"cli-output",
"client",
"client-common",
"client-test",
"core",
"dos",
Expand Down Expand Up @@ -66,6 +65,7 @@ members = [
"remote-wallet",
"rpc",
"rpc-client",
"rpc-client-api",
"rpc-test",
"runtime",
"runtime/store-tool",
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ edition = "2021"

[dependencies]
log = "0.4.17"
solana-client-common = { path = "../client-common", version = "=1.12.0" }
solana-measure = { path = "../measure", version = "=1.12.0" }
solana-nonce-client = { path = "../nonce-client", version = "=1.12.0" }
solana-pubsub-client = { path = "../pubsub-client", version = "=1.12.0" }
solana-rpc-client = { path = "../rpc-client", version = "=1.12.0" }
solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.12.0" }
solana-sdk = { path = "../sdk", version = "=1.12.0" }
solana-thin-client = { path = "../thin-client", version = "=1.12.0" }
solana-tpu-client = { path = "../tpu-client", version = "=1.12.0" }
Expand Down
2 changes: 1 addition & 1 deletion client/src/client_error.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use solana_client_common::client_error::*;
pub use solana_rpc_client_api::client_error::*;
2 changes: 1 addition & 1 deletion client/src/rpc_config.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use solana_client_common::rpc_config::*;
pub use solana_rpc_client_api::rpc_config::*;
2 changes: 1 addition & 1 deletion client/src/rpc_custom_error.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//! Implementation defined RPC server errors
pub use solana_client_common::rpc_custom_error::*;
pub use solana_rpc_client_api::rpc_custom_error::*;
2 changes: 1 addition & 1 deletion client/src/rpc_deprecated_config.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use solana_client_common::rpc_deprecated_config::*;
pub use solana_rpc_client_api::rpc_deprecated_config::*;
2 changes: 1 addition & 1 deletion client/src/rpc_filter.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use solana_client_common::rpc_filter::*;
pub use solana_rpc_client_api::rpc_filter::*;
2 changes: 1 addition & 1 deletion client/src/rpc_request.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use solana_client_common::rpc_request::*;
pub use solana_rpc_client_api::rpc_request::*;
2 changes: 1 addition & 1 deletion client/src/rpc_response.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub use solana_client_common::rpc_response::*;
pub use solana_rpc_client_api::rpc_response::*;
2 changes: 1 addition & 1 deletion nonce-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ anyhow = "1.0.58"
futures = "0.3"
serde_json = "1.0.83"
solana-account-decoder = { path = "../account-decoder", version = "=1.12.0" }
solana-client-common = { path = "../client-common", version = "=1.12.0" }
solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.12.0" }
tokio = { version = "1", features = ["full"] }

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion nonce-client/src/blockhash_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ mod tests {
clap::App,
serde_json::{self, json},
solana_account_decoder::{UiAccount, UiAccountEncoding},
solana_client_common::{
solana_rpc_client_api::{
rpc_request::RpcRequest,
rpc_response::{Response, RpcFeeCalculator, RpcFees, RpcResponseContext},
},
Expand Down
2 changes: 1 addition & 1 deletion nonce-client/src/nonblocking/blockhash_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ mod tests {
clap::App,
serde_json::{self, json},
solana_account_decoder::{UiAccount, UiAccountEncoding},
solana_client_common::{
solana_rpc_client_api::{
rpc_request::RpcRequest,
rpc_response::{Response, RpcBlockhash, RpcResponseContext},
},
Expand Down
55 changes: 28 additions & 27 deletions programs/bpf/Cargo.lock

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

2 changes: 1 addition & 1 deletion pubsub-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ serde = "1.0.143"
serde_derive = "1.0.103"
serde_json = "1.0.83"
solana-account-decoder = { path = "../account-decoder", version = "=1.12.0" }
solana-client-common = { path = "../client-common", version = "=1.12.0" }
solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.12.0" }
solana-sdk = { path = "../sdk", version = "=1.12.0" }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion pubsub-client/src/nonblocking/pubsub_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use {
serde::de::DeserializeOwned,
serde_json::{json, Map, Value},
solana_account_decoder::UiAccount,
solana_client_common::{
solana_rpc_client_api::{
rpc_config::{
RpcAccountInfoConfig, RpcBlockSubscribeConfig, RpcBlockSubscribeFilter,
RpcProgramAccountsConfig, RpcSignatureSubscribeConfig, RpcTransactionLogsConfig,
Expand Down
2 changes: 1 addition & 1 deletion pubsub-client/src/pubsub_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use {
Map, Value,
},
solana_account_decoder::UiAccount,
solana_client_common::{
solana_rpc_client_api::{
rpc_config::{
RpcAccountInfoConfig, RpcBlockSubscribeConfig, RpcBlockSubscribeFilter,
RpcProgramAccountsConfig, RpcSignatureSubscribeConfig, RpcTransactionLogsConfig,
Expand Down
4 changes: 2 additions & 2 deletions client-common/Cargo.toml → rpc-client-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "solana-client-common"
name = "solana-rpc-client-api"
version = "1.12.0"
description = "Solana Client Common Utilities"
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0"
homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-client-common"
documentation = "https://docs.rs/solana-rpc-client-api"
edition = "2021"

[dependencies]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ serde = "1.0.143"
serde_derive = "1.0.103"
serde_json = "1.0.83"
solana-account-decoder = { path = "../account-decoder", version = "=1.12.0" }
solana-client-common = { path = "../client-common", version = "=1.12.0" }
solana-rpc-client-api = { path = "../rpc-client-api", version = "=1.12.0" }
solana-sdk = { path = "../sdk", version = "=1.12.0" }
solana-transaction-status = { path = "../transaction-status", version = "=1.12.0" }
solana-version = { path = "../version", version = "=1.12.0" }
Expand Down
2 changes: 1 addition & 1 deletion rpc-client/src/http_sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use {
header::{self, CONTENT_TYPE, RETRY_AFTER},
StatusCode,
},
solana_client_common::{
solana_rpc_client_api::{
client_error::Result,
rpc_custom_error,
rpc_error_object::RpcErrorObject,
Expand Down
2 changes: 1 addition & 1 deletion rpc-client/src/mock_sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use {
async_trait::async_trait,
serde_json::{json, Number, Value},
solana_account_decoder::{UiAccount, UiAccountEncoding},
solana_client_common::{
solana_rpc_client_api::{
client_error::Result,
rpc_config::RpcBlockProductionConfig,
rpc_request::RpcRequest,
Expand Down
Loading

0 comments on commit 4d50398

Please sign in to comment.