Jack Grigg
dd2fbb3401
Crate docs
2019-09-24 14:23:59 +01:00
Jack Grigg
97c45f281a
Update READMEs
2019-09-24 14:23:55 +01:00
Jack Grigg
9aef129f0e
CI: Check intra-doc links
...
Credit: https://twitter.com/tomaka17/status/1176017851410526208
2019-09-24 10:35:12 +01:00
Jack Grigg
f552b49e3b
Add READMEs to Cargo.toml files
...
This will cause crates.io to render each crate's README as its
information page.
2019-09-23 14:42:38 +01:00
Eirik Ogilvie-Wigley
8c59b4a6cc
cargo fmt
2019-08-20 22:22:03 -06:00
Eirik Ogilvie-Wigley
33993f475d
cargo fix --edition-idioms for pairing
2019-08-20 22:16:40 -06:00
Eirik Ogilvie-Wigley
36788f34f2
Add edition = 2018
2019-08-20 18:31:20 -06:00
Eirik Ogilvie-Wigley
df88a3f0ea
cargo fmt
2019-08-20 17:17:21 -06:00
Eirik Ogilvie-Wigley
d9a128888f
cargo fix --edition for pairing
2019-08-20 17:15:26 -06:00
Eirik Ogilvie-Wigley
013fd03d86
cargo fmt pairing
2019-08-15 10:38:40 -06:00
Jack Grigg
5635612252
Fix clippy linter errors in pairing crate
2019-08-14 01:14:05 +01:00
Jack Grigg
ba40e2f353
Use modern clippy linter syntax
2019-08-14 01:14:04 +01:00
Jack Grigg
fa4eaeb7a6
Migrate to rand 0.7
2019-07-19 00:47:40 +02:00
Jack Grigg
1d005881d0
Migrate ff, group, pairing, and bellman to rand 0.6
2019-07-19 00:42:39 +02:00
Jack Grigg
95a749b278
Migrate pairing to rand 0.5
2019-07-19 00:35:06 +02:00
Jack Grigg
01e7212663
Add ff and group crates to Cargo workspace
2019-01-06 09:50:07 +00:00
Jack Grigg
3d41ee5aba
Remove now-unused imports from root
2018-07-05 19:37:01 +01:00
Jack Grigg
7dfc50e763
Use group crate for curve traits
2018-07-05 19:36:55 +01:00
bmerge
183a64b08e
Auto merge of #90 - str4d:ff, r=ebfull
...
Use ff crate for traits and impls
Depends on https://github.com/ebfull/ff/pull/1 and https://github.com/ebfull/ff/pull/5
2018-07-05 17:20:21 +00:00
Jack Grigg
fa8103764a
cargo fmt
2018-07-04 22:34:42 +01:00
Jack Grigg
c5b883f91e
Migrate to ff 0.4
2018-07-04 22:34:38 +01:00
Jack Grigg
4752a91781
Remove clippy from dependencies.
2018-07-04 22:34:21 +01:00
Sean Bowe
cc5b835102
Start using cargo-clippy for CI.
2018-07-04 22:33:59 +01:00
Jack Grigg
06a152734c
Add missing SqrtField import to benches
2018-07-02 18:41:55 +01:00
Jack Grigg
c49590bab7
Change all remaining uses of *Field to reference ff crate
2018-07-02 16:04:52 +01:00
Jack Grigg
bb22a167af
Update authors
2018-07-02 15:51:32 +01:00
Jack Grigg
defdf8df52
Connect ff u128-support to pairing u128-support
2018-07-02 15:49:47 +01:00
Jack Grigg
a9d8079c2a
Replace implementations of Fq and Fr with derives
2018-07-02 15:48:12 +01:00
Jack Grigg
d9d711ebb7
Use explicit imports instead of re-exporting the ff crate
2018-07-02 15:48:12 +01:00
Jack Grigg
1db099f1cc
Use ff crate for Field traits
2018-07-02 15:47:52 +01:00
bmerge
09b6e6f921
Auto merge of #82 - str4d:read-write-le, r=ebfull
...
Add read_le and write_le to PrimeFieldRepr
2018-05-17 17:55:18 +00:00
Sean Bowe
da5f1d3e37
Update to latest rustfmt
2018-05-17 11:59:20 -06:00
Sean Bowe
e4143a4bbc
Apply rustfmt to benchmarks
2018-05-17 10:50:56 -06:00
Sean Bowe
97bdd1655f
Update clippy
2018-05-17 10:44:28 -06:00
str4d
2a28b61468
Bump version
2018-05-17 16:52:19 +12:00
str4d
98bab6877a
Add read_le and write_le to PrimeFieldRepr
2018-05-17 16:50:40 +12:00
bmerge
dbe897d365
Auto merge of #79 - ebfull:nomorenightly, r=ebfull
...
Remove feature(i128_type)
The `i128_type` feature was recently stabilized in Rust, so this is unnecessary now for nightly users. In fact, in a few days there should be a new Rust beta (`1.26`) containing stable support for `i128_type`, meaning that (for Zcash) we can switch to the beta compiler for all future Rust development, and even switch to the stable compiler in six weeks when that's released.
2018-03-30 23:55:32 +00:00
Sean Bowe
2d12b9a858
Apply newer rustfmt rules.
2018-03-29 11:18:15 -06:00
Sean Bowe
fcaddaa356
Update Clippy to support latest nightly, and fix some lints.
2018-03-29 10:13:00 -06:00
Sean Bowe
bcc8379a7f
Version bump.
2018-03-29 09:23:20 -06:00
Sean Bowe
4cf5a534ec
i128_type feature has been stabilized in Rust.
2018-03-29 09:18:26 -06:00
bmerge
ef7ade8c2c
Auto merge of #78 - ebfull:release-0.14, r=ebfull
...
Release of pairing 0.14.0.
This release makes some changes in response to an audit of this library, as well as some obversations about the API that I made. Some names were changed (`divn` -> `shr`, `muln` -> `shl`) and `add_nocarry`/`sub_noborrow` no longer return anything (as their names would suggest.) Some potentially misleading comments are fixed as well.
The release also applies `rustfmt` and new lints from `clippy` to the codebase, enforced by the CI on a more recent version of the Nightly compiler.
Thanks go to @jasondavies for his contributions to this release.
2018-03-05 03:31:26 +00:00
Sean Bowe
92d2c13285
Release of pairing 0.14.0.
2018-03-04 20:01:23 -07:00
bmerge
6fea7e382d
Auto merge of #77 - ebfull:rustfmt-application-2, r=ebfull
...
Apply rustfmt
Supersedes #76
I've made a change to the CI which checks `rustfmt` against the code. Let's see if it worked.
2018-03-05 02:49:40 +00:00
Sean Bowe
53083f4290
Apply rustfmt to the codebase.
2018-02-21 11:08:58 -07:00
bmerge
d51a5b0122
Auto merge of #73 - plutomonkey:update-rand-dependency, r=ebfull
...
Update "rand" dependency to 0.4.
2018-02-21 16:33:33 +00:00
bmerge
da717f4472
Auto merge of #75 - ebfull:primerepr-fixes, r=ebfull
...
PrimeRepr improvements
These are API-breaking changes that make `PrimeRepr` a little nicer.
2018-02-21 15:56:41 +00:00
Sean Bowe
541fda7580
Fix misleading comments on write_be and read_be.
2018-02-13 17:14:17 -07:00
Sean Bowe
b971bdedda
Rename divn/muln to shr/shl.
2018-02-13 17:07:10 -07:00
bmerge
7b6e13bcb9
Auto merge of #74 - plutomonkey:clippy, r=ebfull
...
Update clippy and fix code indentation.
(The code indentation issue was not caught by clippy -- I noticed it by chance!)
2018-02-14 00:03:26 +00:00