mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 13:37:48 +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"
|
getopts = "0.2.11"
|
||||||
bit-vec = "0.4.0"
|
bit-vec = "0.4.0"
|
||||||
bit-set = "0.2.0"
|
bit-set = "0.2.0"
|
||||||
|
vec_map = "0.3.0"
|
||||||
num_cpus = "*"
|
num_cpus = "*"
|
||||||
rand = "0.3.8"
|
rand = "0.3.8"
|
||||||
regex = "0.1.38"
|
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"]
|
#![crate_name = "tr"]
|
||||||
#![feature(io, vecmap)]
|
#![feature(io)]
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the uutils coreutils package.
|
* This file is part of the uutils coreutils package.
|
||||||
|
@ -14,11 +14,12 @@
|
||||||
|
|
||||||
extern crate bit_set;
|
extern crate bit_set;
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
|
extern crate vec_map;
|
||||||
|
|
||||||
use bit_set::BitSet;
|
use bit_set::BitSet;
|
||||||
use getopts::Options;
|
use getopts::Options;
|
||||||
use std::collections::VecMap;
|
|
||||||
use std::io::{stdin, stdout, BufReader, Read, Write};
|
use std::io::{stdin, stdout, BufReader, Read, Write};
|
||||||
|
use vec_map::VecMap;
|
||||||
|
|
||||||
use expand::ExpandSet;
|
use expand::ExpandSet;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue