From 0bcf035103044985e38fe01fb7395fed7ebee3eb Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Tue, 13 Sep 2016 15:26:31 +0200 Subject: [PATCH] prepare bigint for crates.io --- Cargo.toml | 5 +++-- src/lib.rs | 2 ++ src/uint.rs | 7 ++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 68778e1..ee25ce8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,9 @@ [package] -description = "Rust-assembler implementation of big integers arithmetic" +description = "Large fixed-size integers and hash function outputs" homepage = "http://ethcore.io" +repository = "https://github.com/ethcore/parity" license = "GPL-3.0" -name = "bigint" +name = "ethcore-bigint" version = "0.1.0" authors = ["Ethcore "] build = "build.rs" diff --git a/src/lib.rs b/src/lib.rs index 746cc81..307aed3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . +//! Efficient large, fixed-size big integers and hashes. + #![cfg_attr(asm_available, feature(asm))] extern crate rand; diff --git a/src/uint.rs b/src/uint.rs index c5dd033..dab0053 100644 --- a/src/uint.rs +++ b/src/uint.rs @@ -30,11 +30,12 @@ // If not, see . // -//! Big unsigned integer types +//! Big unsigned integer types. //! //! Implementation of a various large-but-fixed sized unsigned integer types. -//! The functions here are designed to be fast. -//! +//! The functions here are designed to be fast. There are optional `x86_64` +//! implementations for even more speed, hidden behind the `x64_arithmetic` +//! feature flag. use std::{mem, fmt}; use std::str::{FromStr};