Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into trie_record
Browse files Browse the repository at this point in the history
  • Loading branch information
rphmeier committed Aug 23, 2016
2 parents 6ee70ed + d4777f9 commit 94fc745
Show file tree
Hide file tree
Showing 34 changed files with 856 additions and 308 deletions.
105 changes: 43 additions & 62 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ build = "build.rs"

[build-dependencies]
rustc_version = "0.1"
syntex = "*"
ethcore-ipc-codegen = { path = "ipc/codegen" }
ethcore-ipc-tests = { path = "ipc/tests" }

Expand Down Expand Up @@ -41,7 +40,8 @@ ethcore-ipc-hypervisor = { path = "ipc/hypervisor" }
ethcore-logger = { path = "logger" }
json-ipc-server = { git = "https://github.com/ethcore/json-ipc-server.git" }
ethcore-dapps = { path = "dapps", optional = true }
clippy = { version = "0.0.82", optional = true}
clippy = { version = "0.0.85", optional = true}
ethcore-stratum = { path = "stratum" }

[target.'cfg(windows)'.dependencies]
winapi = "0.2"
Expand All @@ -50,7 +50,7 @@ winapi = "0.2"
daemonize = "0.2"

[dependencies.hyper]
version = "0.8"
version = "0.9"
default-features = false

[features]
Expand Down
3 changes: 1 addition & 2 deletions dapps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ parity-dapps-status = { git = "https://github.com/ethcore/parity-ui.git", versio
parity-dapps-home = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4" }
parity-dapps-wallet = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4", optional = true }
mime_guess = { version = "1.6.1" }
clippy = { version = "0.0.82", optional = true}
clippy = { version = "0.0.85", optional = true}

[build-dependencies]
serde_codegen = { version = "0.7.0", optional = true }
syntex = "*"

[features]
default = ["serde_codegen", "extra-dapps"]
Expand Down
6 changes: 1 addition & 5 deletions dapps/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#[cfg(not(feature = "serde_macros"))]
mod inner {
extern crate syntex;
extern crate serde_codegen;

use std::env;
Expand All @@ -28,10 +27,7 @@ mod inner {
let src = Path::new("./src/api/types.rs.in");
let dst = Path::new(&out_dir).join("types.rs");

let mut registry = syntex::Registry::new();

serde_codegen::register(&mut registry);
registry.expand("", &src, &dst).unwrap();
serde_codegen::expand(&src, &dst).unwrap();
}
}

Expand Down
3 changes: 1 addition & 2 deletions db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ authors = ["Ethcore <admin@ethcore.io>"]
build = "build.rs"

[build-dependencies]
syntex = "*"
ethcore-ipc-codegen = { path = "../ipc/codegen" }

[dependencies]
clippy = { version = "0.0.82", optional = true}
clippy = { version = "0.0.85", optional = true}
ethcore-devtools = { path = "../devtools" }
ethcore-ipc = { path = "../ipc/rpc" }
rocksdb = { git = "https://github.com/ethcore/rust-rocksdb" }
Expand Down
9 changes: 2 additions & 7 deletions db/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

extern crate syntex;
extern crate ethcore_ipc_codegen as codegen;

use std::env;
Expand All @@ -27,17 +26,13 @@ pub fn main() {
{
let src = Path::new("src/lib.rs.in");
let dst = Path::new(&out_dir).join("lib.intermediate.rs.in");
let mut registry = syntex::Registry::new();
codegen::register(&mut registry);
registry.expand("", &src, &dst).unwrap();
codegen::expand(&src, &dst);
}

// binary serialization pass
{
let src = Path::new(&out_dir).join("lib.intermediate.rs.in");
let dst = Path::new(&out_dir).join("lib.rs");
let mut registry = syntex::Registry::new();
codegen::register(&mut registry);
registry.expand("", &src, &dst).unwrap();
codegen::expand(&src, &dst);
}
}
2 changes: 1 addition & 1 deletion ethcore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ semver = "0.2"
bit-set = "0.4"
time = "0.1"
evmjit = { path = "../evmjit", optional = true }
clippy = { version = "0.0.82", optional = true}
clippy = { version = "0.0.85", optional = true}
ethash = { path = "../ethash" }
ethcore-util = { path = "../util" }
ethcore-io = { path = "../util/io" }
Expand Down
Loading

0 comments on commit 94fc745

Please sign in to comment.