Replace unstable VecMap w/ external crate.

This commit is contained in:
Joseph Crail 2015-07-31 17:05:22 -04:00
parent 9fcd6e617b
commit 4a331897cb
3 changed files with 5 additions and 3 deletions

1
deps/Cargo.toml vendored
View file

@ -10,6 +10,7 @@ libc = "0.1.8"
getopts = "0.2.11"
bit-vec = "0.4.0"
bit-set = "0.2.0"
vec_map = "0.3.0"
num_cpus = "*"
rand = "0.3.8"
regex = "0.1.38"

View file

@ -1 +1 @@
DEPLIBS += bit-vec bit-set
DEPLIBS += bit-vec bit-set vec_map

View file

@ -1,5 +1,5 @@
#![crate_name = "tr"]
#![feature(io, vecmap)]
#![feature(io)]
/*
* This file is part of the uutils coreutils package.
@ -14,11 +14,12 @@
extern crate bit_set;
extern crate getopts;
extern crate vec_map;
use bit_set::BitSet;
use getopts::Options;
use std::collections::VecMap;
use std::io::{stdin, stdout, BufReader, Read, Write};
use vec_map::VecMap;
use expand::ExpandSet;