summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml1
-rw-r--r--src/main.rs3
2 files changed, 1 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c661230..4094381 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,6 +2,7 @@
name = "open-link"
version = "0.1.0"
authors = ["Jesse Luehrs <doy@tozt.net>"]
+edition = "2018"
[dependencies]
linkify = "0.3"
diff --git a/src/main.rs b/src/main.rs
index a329d16..2eac36a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,3 @@
-extern crate linkify;
-extern crate open;
-
use std::io::prelude::*;
fn read_stdin() -> String {