This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #583 from oasislabs/eauge/lint/warnings-as-errors
warnings as errors
- Loading branch information
Showing
31 changed files
with
108 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# list of lints that will be used to compile the code | ||
# elements after a '#' will be ignored | ||
# | ||
bad-style | ||
const-err | ||
dead-code | ||
improper-ctypes | ||
legacy-directory-ownership | ||
non-shorthand-field-patterns | ||
no-mangle-generic-items | ||
overflowing-literals | ||
path-statements | ||
patterns-in-fns-without-body | ||
plugin-as-library | ||
private-in-public | ||
safe-extern-statics | ||
unconditional-recursion | ||
unions-with-drop-fields | ||
# unused | ||
unused-allocation | ||
unused-comparisons | ||
unused-parens | ||
while-true | ||
# missing-debug-implementations | ||
# missing-docs | ||
# trivial-casts | ||
# trivial-numeric-casts | ||
# unused-extern-crates | ||
# unused-import-braces | ||
# unused-qualifications | ||
# unused-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//! Build crate for the ekiden api. | ||
extern crate ekiden_tools; | ||
|
||
fn main() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
extern crate protobuf; | ||
extern crate serde; | ||
|
||
#[macro_use] | ||
extern crate serde_derive; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//! build crate for the ekiden runtime based enclave | ||
extern crate ekiden_edl; | ||
extern crate ekiden_tools; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,8 @@ authors = ["Oasis Labs Inc. <[email protected]>", "Parity Technologies <admin@p | |
|
||
[dependencies] | ||
log = "0.4" | ||
env_logger = "0.4" | ||
rustc-hex = "1.0" | ||
parking_lot = "0.5" | ||
rayon = "1.0" | ||
regex = "0.2" | ||
toml = "0.4" | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
serde_derive = "1.0" | ||
|
@@ -21,7 +17,6 @@ ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" } | |
jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" } | ||
jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" } | ||
jsonrpc-ws-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" } | ||
jsonrpc-ipc-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" } | ||
jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" } | ||
jsonrpc-pubsub = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" } | ||
lazy_static = "1.0.1" | ||
|
@@ -32,18 +27,12 @@ ethcore-transaction = { git = "https://github.com/oasislabs/parity", branch = "e | |
ethereum-types = { git = "https://github.com/oasislabs/primitives", branch = "ekiden" } | ||
rlp = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
rlp_compress = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
parity-machine = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
parity-reactor = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
parity-rpc = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
path = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
keccak-hash = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
kvdb = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
journaldb = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
mem = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
evm = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
common-types = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
vm = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
util-error = { git = "https://github.com/oasislabs/parity", branch = "ekiden" } | ||
|
||
## Common functionality between runtime and gateway | ||
runtime-ethereum-common = { path = "../common" } | ||
|
@@ -56,7 +45,6 @@ ekiden-runtime-client = { git = "https://github.com/oasislabs/ekiden", branch = | |
ekiden-core = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
ekiden-db-trusted = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
ekiden-instrumentation = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
ekiden-rpc-client = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
ekiden-storage-base = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
ekiden-tracing = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
ekiden-keymanager-client = { git = "https://github.com/oasislabs/ekiden", branch = "master" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.