mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 17:28:03 +00:00
Replace unstable VecMap w/ external crate.
This commit is contained in:
parent
9fcd6e617b
commit
4a331897cb
3 changed files with 5 additions and 3 deletions
1
deps/Cargo.toml
vendored
1
deps/Cargo.toml
vendored
|
@ -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"
|
||||
|
|
|
@ -1 +1 @@
|
|||
DEPLIBS += bit-vec bit-set
|
||||
DEPLIBS += bit-vec bit-set vec_map
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue