Skip to content

Commit

Permalink
client: Rename the rpc crate to enclave_rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yawning committed Jun 11, 2020
1 parent 16ee124 commit 48590f4
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .changelog/2469.internal.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
client: Rename the rpc crate to enclave_rpc
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
#[cfg(not(target_env = "sgx"))]
#[macro_use]
pub mod grpc;
pub mod enclave_rpc;
#[cfg(not(target_env = "sgx"))]
pub mod node;
// TODO: Rename "rpc" module to "enclave_rpc" or similar.
pub mod rpc;
#[cfg(not(target_env = "sgx"))]
pub mod transaction;

/// Boxed future type.
pub type BoxFuture<T> = Box<dyn futures::Future<Item = T, Error = anyhow::Error> + Send>;

// Re-exports.
pub use self::rpc::RpcClient;
pub use self::enclave_rpc::RpcClient;
#[cfg(not(target_env = "sgx"))]
pub use self::{node::Node, transaction::TxnClient};

0 comments on commit 48590f4

Please sign in to comment.