Move to 2018 edition.

This commit is contained in:
2019-04-04 11:21:57 +02:00
parent 4f12df5849
commit 449259c809
3 changed files with 1 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
name = "genetisk"
version = "0.1.0"
authors = ["logaritmisk <anders.e.olsson@gmail.com>"]
edition = "2018"
[dependencies]
rayon = "1.0"

View File

@@ -1,7 +1,3 @@
extern crate genetisk;
extern crate rand;
extern crate rayon;
use std::cmp::Ordering;
use rand::distributions::{IndependentSample, Range};

View File

@@ -1,7 +1,4 @@
extern crate rayon;
use rayon::prelude::*;
pub trait Individual: Send {
type Fitness: Send + Ord;