feat: update version

This commit is contained in:
2023-08-26 01:01:50 +08:00
parent a26e3e1ffe
commit 49c352e84c
3 changed files with 4 additions and 8 deletions

View File

@@ -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"

View File

@@ -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};

View File

@@ -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;