updated travis and README.md
This commit is contained in:
parent
6964a4b065
commit
678a1c85fb
|
@ -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
|
||||
|
|
10
README.md
10
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 }
|
||||
```
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue