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

Commit

Permalink
Merge pull request #467 from ethcore/ark_beta
Browse files Browse the repository at this point in the history
Utils compiling in beta
  • Loading branch information
debris committed Feb 18, 2016
2 parents 704d6bd + af8ba06 commit 3c59983
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 196 deletions.
120 changes: 55 additions & 65 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ log = "0.3"
env_logger = "0.3"
rustc-serialize = "0.3"
docopt = "0.6"
docopt_macros = "0.6"
ctrlc = { git = "https://github.com/tomusdrw/rust-ctrlc.git" }
clippy = { version = "0.0.42", optional = true }
ethcore-util = { path = "util" }
Expand Down
2 changes: 0 additions & 2 deletions ethcore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

#![warn(missing_docs)]
#![feature(cell_extras)]
#![feature(augmented_assignments)]
#![cfg_attr(feature="dev", feature(plugin))]
#![cfg_attr(feature="dev", plugin(clippy))]
// TODO [todr] not really sure
Expand Down
5 changes: 1 addition & 4 deletions util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ name = "ethcore-util"
version = "0.9.99"
authors = ["Ethcore <admin@ethcore.io>"]

[features]
default = [ "heapsize/nightly" ]

[dependencies]
log = "0.3"
env_logger = "0.3"
Expand Down Expand Up @@ -36,4 +33,4 @@ igd = "0.4.2"

[features]
default = []
dev = ["clippy"]
dev = ["clippy"]
9 changes: 0 additions & 9 deletions util/src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,15 +413,6 @@ macro_rules! impl_hash {
}
}

/// Moving BitOrAssign
impl<'a> BitOrAssign<&'a $from> for $from {
fn bitor_assign(&mut self, rhs: &'a Self) {
for i in 0..$size {
self.0[i] = self.0[i] | rhs.0[i];
}
}
}

/// BitAnd on references
impl <'a> BitAnd for &'a $from {
type Output = $from;
Expand Down
4 changes: 0 additions & 4 deletions util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.

#![warn(missing_docs)]
#![feature(op_assign_traits)]
#![feature(augmented_assignments)]
#![feature(associated_consts)]
#![cfg_attr(feature="dev", feature(plugin))]
#![cfg_attr(feature="dev", plugin(clippy))]
#![feature(catch_panic)]
// Clippy settings
// TODO [todr] not really sure
#![allow(needless_range_loop)]
Expand Down
Loading

0 comments on commit 3c59983

Please sign in to comment.