Commit Graph

77 Commits

Author SHA1 Message Date
Benjamin Wasty 42ca5e0e9c add uint operator benchmarks (#82) 2019-01-26 20:16:52 +01:00
Wei Tang 97e1b5f533
Merge pull request #96 from paritytech/docs/uint0.6.1
docs(uint): U128 + version 0.6.1
2019-01-16 14:13:31 +01:00
Wei Tang cda633e638
fix(grumble): "0.6.1" -> "0.6"
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
2019-01-16 13:04:13 +01:00
niklasad1 9428d4bea2
docs(uint): U128 + version 0.6.1 2019-01-16 10:40:39 +01:00
Wei Tang 756c608905 Bump primitive-types and uint version 2019-01-15 17:43:35 +01:00
Tomasz Drwięga 39c6ee0cf0
Fix for the review. 2019-01-14 11:03:45 +01:00
Tomasz Drwięga 982228f408
Add some tests. 2019-01-11 14:29:51 +01:00
Tomasz Drwięga e114cfb391
Expose U128, add u128 conversions. 2019-01-11 14:21:11 +01:00
Wei Tang 250a2cb113 Fix uint tests compile 2018-12-20 17:09:09 +08:00
Wei Tang b6e9179da8 Merge branch 'sp-uint-pub' of https://github.com/paritytech/parity-common into sp-uint-pub 2018-12-06 20:57:52 +08:00
Wei Tang 9ded04987a Remove common feature in uint 2018-12-06 20:56:55 +08:00
Wei Tang ef864ade4f
Bump uint version to 0.6 2018-12-03 18:07:55 +08:00
Wei Tang a4484a3acd typo: subfield should continue to be pub 2018-12-03 13:02:30 +08:00
Wei Tang c77955a01e Fix unroll not found error 2018-12-03 13:00:13 +08:00
Wei Tang 552b0f77bb Allow private uint definition and crunchy convenience fix 2018-12-03 12:56:37 +08:00
zinfour 85f0459f6f fixed nitpicks 2018-11-20 11:07:46 +01:00
Zinfour 95d28bf40f
Cleaner benchmarks 2018-11-19 11:25:36 +01:00
zinfour d497f19b90 added benches 2018-11-18 19:07:36 +01:00
Zinfour c750a06660
removed unnecessary changes 2018-11-18 17:01:45 +01:00
zinfour d0dda21b24 improved performance of rem 2018-11-18 14:18:44 +01:00
Herobird 4a8978389e [uint] Bump version to 0.5.0 (no longer in beta!) 2018-11-12 12:17:09 +01:00
Herobird a25b33ba3e [uint] Make crunchy crate import conditional
This also fixes some unused warnings.
2018-11-12 11:43:19 +01:00
Herobird 09a9430e07 [uint] Bump version to 0.5.0-beta.1 2018-11-05 15:32:12 +01:00
Herobird 3e2535c86a [uint] Improve common feature impl
- U256 and U512 are no longer generated when not used.
- Other definitions in `uint` module are now visible again when not compiling with common feature.
2018-11-05 15:30:18 +01:00
Herobird 14a0c0762f [uint] Add required-features to [[test]] target in Cargo.toml 2018-11-05 15:29:10 +01:00
Herobird fb6bf115dc Remove tests for deprecated Uint::mul_u32 method 2018-11-05 15:18:38 +01:00
Herobird d85099004c Debug, Display and LowerHex impls no longer require std feature 2018-11-05 15:17:16 +01:00
Herobird ded80bb32f Remove deprecated Uint::mul_u32 method
Use Mul<u32> instead.
2018-11-05 15:15:59 +01:00
Herobird c89a8e91b1 Publicly export libcore as `core_`
This fixes issues with core being not exported publicly in #[no_std] envs.
Also make many names in uint impl more explicit.
2018-11-05 15:14:56 +01:00
Herobird 01f8520b8d [uint] Use crunchy without default features
Use opt-in for crunchy/std feature support.
The feature `uint/std` properly propagates to `crunchy/std`.
2018-11-05 15:10:36 +01:00
Herobird 2eedf6f802 [uint] Remove deprecated Uint::to_hex method
Use LowerHex instead.
2018-11-05 15:09:30 +01:00
Herobird 2d1a8355f0 [uint] Bump version to 0.5.0-beta.0 2018-11-05 14:18:18 +01:00
Herobird 240335bbc3 Adjust "how to use" note in README for the beta version 2018-11-05 14:17:00 +01:00
Herobird 2a08a17286 Simplify README title 2018-11-05 14:15:34 +01:00
Herobird 94a4ceb716 Rule out forgotten heapsize-support feature usages 2018-11-01 18:20:54 +01:00
Herobird 7a27290b43 Modernize README
- Add `Description` section
- Add `Usage` section
- Add `Tests` section
- Add `Crate Features` section
2018-11-01 15:03:33 +01:00
Herobird 78c37c8e6b Add `common` crate feature
This makes `U256` and `U512` definitions publicly available if needed.
This is enabled by default.
2018-11-01 15:02:44 +01:00
Herobird eb931ee646 Remove explicit required-features since `std` is default 2018-11-01 15:02:00 +01:00
Herobird 8fc1fa3fb4 Rename features to make them comply to Rust standards
- quickcheck-support => quickcheck
- heapsize-support => heapsize
2018-11-01 14:43:22 +01:00
Herobird e386193722 [uint] Bump version to 0.5 2018-10-31 19:13:02 +01:00
Herobird 5d5758bddb Add Cargo.toml readme field 2018-10-31 19:12:48 +01:00
Herobird a6f95b9742 Update crunchy from 0.1 to 0.2 2018-10-31 19:07:24 +01:00
Herobird cac6df4c95 Remove dev-dependencies since they are already non-dev deps 2018-10-31 19:07:24 +01:00
Herobird e62c6a316e Improve formatting of #[cfg_attr(..)] in lib.rs 2018-10-31 19:07:24 +01:00
Herobird 20ddb9cc6a Rename features for more conformance with fixed-hash
heapsizeof -> heapsize-support
impl_quickcheck_arbitrary -> quickcheck-support
2018-10-31 19:07:24 +01:00
Herobird cf7a603495 Enable "std" feature by default 2018-10-31 19:07:24 +01:00
debris c694d21170 uint tests are compiling again, fixed appveyor.yml and .travis.yml 2018-09-25 11:21:20 +01:00
NikVolf 13195b7bc9 fix div assign 2018-08-22 17:43:34 +03:00
NikVolf 78426954ad more fixes 2018-08-22 17:06:22 +03:00
Nikolay Volf 79985a0903
bring back final line 2018-08-22 16:57:32 +03:00