Skip to content

Commit

Permalink
Remove unused use_extern_macros
Browse files Browse the repository at this point in the history
  • Loading branch information
nhynes committed Sep 22, 2018
1 parent 4c22219 commit 3290a2a
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 48 deletions.
2 changes: 0 additions & 2 deletions clients/benchmark/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

#[macro_use]
extern crate clap;
extern crate rand;
Expand Down
2 changes: 0 additions & 2 deletions clients/test-long-term/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

#[macro_use]
extern crate clap;
extern crate rand;
Expand Down
2 changes: 0 additions & 2 deletions clients/token/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

#[macro_use]
extern crate clap;
extern crate futures;
Expand Down
2 changes: 0 additions & 2 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros, try_from, test)]

#[cfg(not(target_env = "sgx"))]
extern crate grpcio;

Expand Down
1 change: 0 additions & 1 deletion compute/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(use_extern_macros)]
#![feature(try_from)]

extern crate sgx_types;
Expand Down
2 changes: 0 additions & 2 deletions contract/trusted/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

#[macro_use]
extern crate lazy_static;
extern crate serde;
Expand Down
2 changes: 0 additions & 2 deletions contracts/token/api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate protobuf;
extern crate serde;

Expand Down
2 changes: 0 additions & 2 deletions contracts/token/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate protobuf;

extern crate ekiden_core;
Expand Down
2 changes: 0 additions & 2 deletions core/common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate ekiden_common;
extern crate ekiden_contract_common;
extern crate ekiden_enclave_common;
Expand Down
2 changes: 0 additions & 2 deletions core/trusted/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate ekiden_contract_trusted;
extern crate ekiden_db_trusted;
extern crate ekiden_enclave_trusted;
Expand Down
2 changes: 0 additions & 2 deletions core/untrusted/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate ekiden_contract_untrusted;
extern crate ekiden_db_untrusted;
extern crate ekiden_enclave_untrusted;
Expand Down
1 change: 0 additions & 1 deletion db/trusted/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![feature(core_intrinsics)]
#![feature(use_extern_macros)]
#![feature(test)]

#[cfg(target_env = "sgx")]
Expand Down
4 changes: 0 additions & 4 deletions docs/contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ This same API definition can be used to generate both enclaves and clients. This
In order to create an enclave contract implementation using the API we just defined, we need to import the API and instruct the contract system to generate some glue code that will call our method implementations.
This can be done as follows:
```rust
#![feature(use_extern_macros)]

use ekiden_trusted::contract::create_contract;
use dummy_api::with_api;

Expand All @@ -76,8 +74,6 @@ fn hello_world(request: &u64) -> Result<u64> {

To create a contract client for our API, we need to again import the API definitions and generate the required glue code:
```rust
#![feature(use_extern_macros)]

use ekiden_contract_client::create_contract_client;
use dummy_api::with_api;

Expand Down
4 changes: 0 additions & 4 deletions docs/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ This same API definition can be used to generate both enclaves and clients. This
In order to create an enclave RPC server using the API we just defined, we need to import the API and instruct the RPC system to generate some glue code that will call our method implementations.
This can be done as follows:
```rust
#![feature(use_extern_macros)]

use ekiden_trusted::rpc::create_enclave_rpc;
use dummy_api::{with_api, HelloWorldRequest, HelloWorldResponse};

Expand All @@ -57,8 +55,6 @@ fn hello_world(request: &HelloWorldRequest) -> Result<HelloWorldResponse> {

To create an RPC client for our API, we need to again import the API definitions and generate the required glue code:
```rust
#![feature(use_extern_macros)]

use ekiden_rpc_client::create_client_rpc;
use dummy_api::{with_api, HelloWorldRequest, HelloWorldResponse};

Expand Down
2 changes: 0 additions & 2 deletions enclave/common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate sgx_types;

extern crate base64;
Expand Down
2 changes: 0 additions & 2 deletions key-manager/api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate protobuf;
extern crate serde;

Expand Down
2 changes: 0 additions & 2 deletions key-manager/client/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

#[macro_use]
extern crate lazy_static;

Expand Down
2 changes: 0 additions & 2 deletions key-manager/dummy/enclave/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

#[macro_use]
extern crate lazy_static;
extern crate protobuf;
Expand Down
1 change: 0 additions & 1 deletion key-manager/node/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(use_extern_macros)]
#![feature(try_from)]

extern crate sgx_types;
Expand Down
1 change: 0 additions & 1 deletion rpc/trusted/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(use_extern_macros)]
#![feature(core_intrinsics)]

#[cfg(target_env = "sgx")]
Expand Down
2 changes: 0 additions & 2 deletions storage/dynamodb/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

use std::collections::HashMap;
use std::sync::Arc;

Expand Down
2 changes: 0 additions & 2 deletions storage/multilayer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

use std::collections::HashMap;
use std::ops::Deref;
use std::path::Path;
Expand Down
2 changes: 0 additions & 2 deletions tools/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

extern crate ansi_term;
extern crate cc;
extern crate error_chain;
Expand Down
2 changes: 0 additions & 2 deletions tracing/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(use_extern_macros)]

use std::net::ToSocketAddrs;
use std::sync::Mutex;

Expand Down

0 comments on commit 3290a2a

Please sign in to comment.