feat: update version
This commit is contained in:
@@ -5,6 +5,7 @@ authors = ["Sebastian Gesemann <s.gesemann@gmail.com>"]
|
|||||||
description = "This is an implementation of Shamir's secret sharing scheme."
|
description = "This is an implementation of Shamir's secret sharing scheme."
|
||||||
license = "GPLv3"
|
license = "GPLv3"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "0.2"
|
getopts = "0.2"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//! This module provides the Gf256 type which is used to represent
|
//! This module provides the Gf256 type which is used to represent
|
||||||
//! elements of a finite field wich 256 elements.
|
//! elements of a finite field witch 256 elements.
|
||||||
|
|
||||||
use std::num::Wrapping;
|
use std::num::Wrapping;
|
||||||
use std::ops::{Add, Div, Mul, Sub};
|
use std::ops::{Add, Div, Mul, Sub};
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
extern crate rustc_serialize as serialize;
|
|
||||||
extern crate getopts;
|
|
||||||
extern crate crc24;
|
|
||||||
extern crate rand;
|
|
||||||
|
|
||||||
use std::convert;
|
use std::convert;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::error;
|
use std::error;
|
||||||
@@ -12,9 +7,9 @@ use std::io::prelude::*;
|
|||||||
use std::iter::repeat;
|
use std::iter::repeat;
|
||||||
use std::num;
|
use std::num;
|
||||||
|
|
||||||
use rand::{Rng, OsRng};
|
|
||||||
use getopts::Options;
|
use getopts::Options;
|
||||||
use serialize::base64::{self, FromBase64, ToBase64};
|
use rand::{OsRng, Rng};
|
||||||
|
use rustc_serialize::base64::{self, FromBase64, ToBase64};
|
||||||
|
|
||||||
use gf256::Gf256;
|
use gf256::Gf256;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user