Move to 2018 edition.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
name = "genetisk"
|
name = "genetisk"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["logaritmisk <anders.e.olsson@gmail.com>"]
|
authors = ["logaritmisk <anders.e.olsson@gmail.com>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rayon = "1.0"
|
rayon = "1.0"
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
extern crate genetisk;
|
|
||||||
extern crate rand;
|
|
||||||
extern crate rayon;
|
|
||||||
|
|
||||||
use std::cmp::Ordering;
|
use std::cmp::Ordering;
|
||||||
|
|
||||||
use rand::distributions::{IndependentSample, Range};
|
use rand::distributions::{IndependentSample, Range};
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
extern crate rayon;
|
|
||||||
|
|
||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
|
|
||||||
pub trait Individual: Send {
|
pub trait Individual: Send {
|
||||||
type Fitness: Send + Ord;
|
type Fitness: Send + Ord;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user