Commit graph

18 commits

Author SHA1 Message Date
Michael Gehring
a2944e06db Fix clippy warnings 2016-01-06 09:36:20 +01:00
Michael Gehring
bcaa859ca7 fmt: fix warnings 2015-12-21 20:23:55 +01:00
kwantam
d4f39e1638 dependency builds use Cargo
With this change, individual submodules can specify their dependencies with
an additional file called "deps.mk" in the subdir. When building, only
the dependencies that are necessary are built, using cargo, and then linked.

This greatly simplifies adding new dependencies: add the package in
deps/Cargo.toml, and add the appropriate line in "deps.mk" in the
src/utilname/ directory, and the dependency will be built automatically
as needed.

This also removes the need to use git submodules.
2015-04-25 22:18:03 -04:00
kwantam
ecf248c5e3 fix build infrastructure ; modernize library use
This patch begins the work of modernizing uutils to work with 1.0-ish
Rust. In particular, it

1. Updates to the latest submodules.

2. Convert mkmain.rs, mkuutils.rs, and src/uutils/uutils.rs
   to new slice syntax and use of new io, fs, and path APIs.

3. Convert src/common/util.rs to new io, fs, and path APIs.

4. Convert fmt to use new APIs.
2015-04-18 19:55:32 -04:00
Michael Gehring
906d3e4ec5 write -> write_all 2015-01-29 08:47:43 +01:00
Michael Gehring
fbdf04c072 Replace deprecated slice_{to,from} with slicing syntax 2015-01-24 10:46:28 +01:00
Arcterus
e142b4f23e env, expand, fmt: fix build 2015-01-10 20:40:38 +01:00
Michael Gehring
782fad4667 int/uint -> isize/usize 2015-01-10 20:40:37 +01:00
Michael Gehring
842cc8b14c Fix build with rust master 2014-12-11 07:51:37 +01:00
Arcterus
31111ac199 Fix most deprecation warnings and remove hacky nohup code 2014-11-28 14:49:22 -08:00
Michael Gehring
e874d09216 std:num::pow -> std::num::Int::pow 2014-11-19 21:58:16 +01:00
Michael Gehring
d675ec75af du, fmt: fix build 2014-11-16 16:12:01 +01:00
Michael Gehring
71c9797bd7 Fix get_mut deprecation warnings 2014-11-02 17:10:35 +01:00
Michael Gehring
e482abb630 static -> const 2014-10-10 18:36:35 +02:00
Arcterus
01c2a0b9ff Remove all warnings (at least on Linux) 2014-09-16 20:08:40 -07:00
Arcterus
01c681ecb3 Update for latest Rust 2014-09-16 19:10:27 -07:00
Michael Gehring
6b9831a091 Update for rust master 2014-09-16 16:59:00 +02:00
Arcterus
b7f4bd01bc Move all of the utils into src 2014-07-20 20:20:55 -07:00
Renamed from fmt/linebreak.rs (Browse further)