summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-12-23 02:50:54 -0500
committerJesse Luehrs <doy@tozt.net>2018-12-23 02:50:54 -0500
commitb041d821bb3ecd06ae067092f7bb8fc88cadc130 (patch)
tree2539a55e7d44614ad154ccf4dba49f265aa1d522
parent4263c4e0adf4cf3d13a0246ba0bb9cf773cd784b (diff)
downloadopen-link-b041d821bb3ecd06ae067092f7bb8fc88cadc130.tar.gz
open-link-b041d821bb3ecd06ae067092f7bb8fc88cadc130.zip
rust 2018
-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 {