diff --git a/.travis.yml b/.travis.yml index f10a29c..089ccc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,7 @@ matrix: allow_failures: - rust: nightly script: - - cargo build --features=heapsizeof,std - - cargo test --release --features=heapsizeof,std - - rustup default nightly - - cargo bench + - cargo test -p ethereum-types --no-default-futures + - cargo test -p tests env: - RUST_LOG=quickcheck diff --git a/README.md b/README.md index d517fe0..491a183 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # bigint -[![Build Status](https://travis-ci.org/paritytech/bigint.svg?branch=master)](https://travis-ci.org/paritytech/bigint) - -[API Documentation](https://docs.rs/bigint/) +[![Build Status](https://travis-ci.org/paritytech/primitives.svg?branch=master)](https://travis-ci.org/paritytech/primitives) Fixed-sized integers arithmetic @@ -16,8 +14,8 @@ bigint = "4" Little example ```rust -extern crate bigint; -use bigint::U256; +extern crate ethereum_types; +use ethereum_types::U256; fn main() { let mut val: U256 = 1023.into(); @@ -36,5 +34,5 @@ in a `no_std` context, add the following to your `Cargo.toml`: ```toml [dependencies] -bigint = { version = "4", default-features = false } +ethereum-types = { version = "4", default-features = false } ``` diff --git a/ethereum-types/Cargo.toml b/ethereum-types/Cargo.toml index 867b520..f900f6e 100644 --- a/ethereum-types/Cargo.toml +++ b/ethereum-types/Cargo.toml @@ -9,5 +9,6 @@ fixed-hash = { path = "../fixed-hash", version = "0.1" } crunchy = "0.1.5" [features] +default = ["std", "heapsizeof"] std = ["uint/std", "fixed-hash/std"] heapsizeof = ["uint/heapsizeof", "fixed-hash/heapsizeof"]