Commit graph

1305 commits

Author SHA1 Message Date
Sylvestre Ledru 8ad2fd3534 refactor(truncate): Move to clap 2020-10-23 00:40:46 +02:00
Roy Ivy III 79b054b016 update deps ~ Cargo.lock 2020-10-14 14:44:07 -05:00
nicoo 4f23767b85 factor::numeric::gcd: Add criterion-powered benchmark
The function had to be made `pub`, this is a [known limitation] of Criterion.

[known limitation]: https://bheisler.github.io/criterion.rs/book/user_guide/known_limitations.html
2020-07-24 22:58:26 +02:00
nicoo 1b593d94c9 factor: Update rand dependency to v0.7 2020-07-24 22:57:08 +02:00
nicoo 7a1b86c9c2 factor::numeric::tests: Use a macro to instantiate every test 2020-07-05 00:04:53 +02:00
nicoo 4f08e28167 factor::miller_rabin: Add property-based test 2020-07-05 00:04:08 +02:00
nicoo 43ee92c40f factor::numeric: Generalise modular inverse computation 2020-07-05 00:01:21 +02:00
Alex Lyon e02b8a60f7
hashsum: switch from getopts to clap (#1542)
* hashsum: switch from getopts to clap

Additionally, slightly refactor.  This commit will be the first of
a series of commits refactoring (at the very least) `hashsum`.
2020-06-18 11:46:00 +02:00
Sylvestre Ledru f17a112781
feature(ln): implement -r (#1540)
* bump the minimal version of rustc to 1.32

* feature(ln): implement -r

* fix two issues

* Use cow

* rustfmt the change

* with cargo.lock 1.31

* try to unbreak windows
2020-06-18 00:54:18 -07:00
Alex Lyon 5cea5faee0
Update Cargo.lock 2020-06-16 03:59:45 -05:00
Roy Ivy III 6d15599c37 update deps ~ Cargo.lock 2020-06-13 13:55:55 -05:00
Sylvestre Ledru ac34d136f2 refactor(global): Move from tempdir to tempfile:
* the crate has been deprecated
2020-06-09 11:30:19 +02:00
Alex Lyon 80987250d2
Merge pull request #1521 from sylvestre/nproc
Add tests for nproc + clap migration
2020-06-08 19:18:00 -07:00
Alex Lyon 49771d4fda
Merge pull request #1535 from sylvestre/1.32
Move to 1.32 as minimal supported version
2020-06-08 14:31:02 -07:00
Sylvestre Ledru 5926315507 bump the minimal version of rustc to 1.32 2020-06-08 22:54:28 +02:00
Sylvestre Ledru 5963b15746 refactor(nproc): fix some bugs and use clap 2020-06-02 23:29:21 +02:00
Sylvestre Ledru ed1ebe09ff refactor(groups): move to clap 2020-06-02 23:16:18 +02:00
Roy Ivy III 25d3cdb0e9 update deps ~ Cargo.lock 2020-05-31 15:48:54 -05:00
Roy Ivy III a6ff38cf22 update deps ~ Cargo.lock 2020-05-29 22:59:48 -05:00
Roy Ivy III ca90ce981f update deps ~ Cargo.lock 2020-05-29 22:59:47 -05:00
Sylvestre Ledru 75b7f768ea
fix(mv): Allow move across file systems (#1524)
Co-authored-by: Arni Dagur <arni@dagur.eu>
2020-05-24 12:49:56 +02:00
Sylvestre Ledru 272b66aac8
refactor(hostname): use clap instead of getopts for consistency (#1516)
* refactor(hostname): use clap instead of getopts for consistency

* deps ~ uucore/wide is required

Co-authored-by: Roy Ivy III <rivy.dev@gmail.com>
2020-05-22 17:27:03 +02:00
Sylvestre Ledru 817a237821
Merge pull request #1513 from sylvestre/uptime-since
feature(uptime): add option --since
2020-05-21 22:18:52 +02:00
Sylvestre Ledru 0a02aeda71
refactor(hostname): rely on the hostname crate (#1517) 2020-05-21 10:58:38 +02:00
Sylvestre Ledru 6bc9b38fa9 fix(cp): Remove an unused dep to the getops crate 2020-05-17 12:09:55 +02:00
Sylvestre Ledru 719f2bf8ae feature(uptime): add option --since
For this, I:
* moved from getops to clap
* remove the millisecond maths
2020-05-17 11:50:08 +02:00
Sylvestre Ledru fc83024ebe refactor(df): use number_prefix like 'ls' instead of doing the display by hand 2020-05-03 13:29:55 -05:00
Sylvestre Ledru d5228b5a64 feat(df) add 'df' uutil 2020-04-28 13:05:55 -05:00
Sylvestre Ledru fed240d817 Use uucore from uutils 2020-04-15 00:01:21 +02:00
Roy Ivy III f55fd8ab05 build/deps ~ checkpoint project dependencies 2020-04-14 13:52:08 -05:00
Roy Ivy III e89421419d fix forced MinSRV increase (using locked 'backtrace' version)
- hotfix transitive bug in 'failure' forcing MinSRV increase to rust v1.33.0 by pinning 'backtrace' to <= 0.3.31

.# [why]

'failure' was using 'backtrace' `version = "0.3.3"`, which by semantic version
auto-upgrade was pulling in 'backtrace' > v0.3.30 (specifically, v0.3.40 most
recently). 'backtrace' v0.3.31 introduces use of `#[cfg(target_vendor = ...)]`
which requires rust v1.33.0. So, 'backtrace' is forcing an upgrade of MinSRV
to rust v1.33.0 with the change from backtrace v0.3.30 to backtrace v0.3.31.

Technically, by being less than v1.0.0, 'backtrace' has no semantic version
requirement. And there is debate about whether increasing MinSRV is a semantic
change. But, in my strong opinion, breaking our MinSRV statement is definitely
a semantic change.

* ref: <https://github.com/rust-lang/rust/blob/master/RELEASES.md>
2020-04-11 18:50:10 -05:00
Roy Ivy III 3ae3d11a33 upgrade nix (0.13.0 => 0.13.1); fixes arm build failure 2020-04-11 18:50:09 -05:00
Xavier L'Heureux 63f3f78bda Update the dependencies for redox compilation 2019-09-28 09:29:22 -04:00
dependabot-preview[bot] 03e0bef9c2
build: [security] bump smallvec from 0.6.9 to 0.6.10
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.9 to 0.6.10. **This update includes security fixes.**
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 22:39:48 +00:00
dependabot-preview[bot] 427381fd87
build: bump aho-corasick from 0.6.10 to 0.7.3
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 0.6.10 to 0.7.3.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases)
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.6.10...0.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-21 07:17:27 +00:00
Alex Lyon 33a112d64b
Merge pull request #1400 from uutils/dependabot/cargo/num_cpus-1.10.1
build: bump num_cpus from 1.10.0 to 1.10.1
2019-06-18 09:25:35 -07:00
dependabot-preview[bot] 4b5dbcf995
build: bump num_cpus from 1.10.0 to 1.10.1
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.10.0...v1.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-18 13:21:47 +00:00
dependabot-preview[bot] 642a2a4ecb
build: bump memchr from 1.0.2 to 2.2.0
Bumps [memchr](https://github.com/BurntSushi/rust-memchr) from 1.0.2 to 2.2.0.
- [Release notes](https://github.com/BurntSushi/rust-memchr/releases)
- [Commits](https://github.com/BurntSushi/rust-memchr/compare/1.0.2...2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 16:21:06 +00:00
Alex Lyon 8575512895
Merge pull request #1389 from uutils/dependabot/cargo/glob-0.3.0
build: bump glob from 0.2.11 to 0.3.0
2019-06-17 09:18:43 -07:00
Alex Lyon 4151323830
Merge pull request #1385 from uutils/dependabot/cargo/libc-0.2.58
build: bump libc from 0.2.56 to 0.2.58
2019-06-17 08:27:50 -07:00
dependabot-preview[bot] 50aab8541d
build: bump glob from 0.2.11 to 0.3.0
Bumps [glob](https://github.com/rust-lang/glob) from 0.2.11 to 0.3.0.
- [Release notes](https://github.com/rust-lang/glob/releases)
- [Commits](https://github.com/rust-lang/glob/compare/0.2.11...0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-15 22:35:35 +00:00
Alex Lyon bc783edde7
Merge pull request #1388 from uutils/dependabot/cargo/byteorder-1.3.2
build: bump byteorder from 1.3.1 to 1.3.2
2019-06-15 15:34:20 -07:00
Alex Lyon f1a4d5d4f7
Merge pull request #1393 from uutils/dependabot/cargo/itertools-0.8.0
build: bump itertools from 0.7.11 to 0.8.0
2019-06-15 15:33:56 -07:00
Alex Lyon 16daa41f38
Merge pull request #1392 from uutils/dependabot/cargo/regex-syntax-0.6.7
build: bump regex-syntax from 0.6.6 to 0.6.7
2019-06-15 15:33:45 -07:00
dependabot-preview[bot] 7a24f5e517
build: bump walkdir from 2.2.7 to 2.2.8
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/BurntSushi/walkdir/releases)
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.2.7...2.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:59:42 +00:00
dependabot-preview[bot] e7c3d2e381
build: bump itertools from 0.7.11 to 0.8.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.7.11 to 0.8.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Commits](https://github.com/bluss/rust-itertools/compare/0.7.11...0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:59:16 +00:00
dependabot-preview[bot] a0ca860f93
build: bump regex-syntax from 0.6.6 to 0.6.7
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.6...regex-syntax-0.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:59:04 +00:00
dependabot-preview[bot] 688e08127b
build: bump byteorder from 1.3.1 to 1.3.2
Bumps [byteorder](https://github.com/BurntSushi/byteorder) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases)
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.1...1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 12:57:14 +00:00
dependabot-preview[bot] fa73fe1c64
build: bump libc from 0.2.56 to 0.2.58
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.56 to 0.2.58.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.56...0.2.58)
2019-06-03 13:29:25 +00:00
dependabot-preview[bot] 61a4846755
build: bump libc from 0.2.54 to 0.2.56
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.54 to 0.2.56.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.54...0.2.56)
2019-05-31 12:31:02 +00:00
Alex Lyon 18b19715f9 env: refactor and move away from pre-1.0 Rust conventions 2019-05-13 04:03:10 -07:00
Alex Lyon b73a664677 Split off uucore into its own repository 2019-05-12 22:42:20 -07:00
Alex Lyon b6cd8deb6f Switch users back to our rust-users fork to fix the build 2019-05-01 22:18:51 -07:00
Alex Lyon b46e2289d6 uucore, yes: add zero-copy on supported platforms (only Linux currently) 2019-05-01 21:15:00 -07:00
Alex Lyon db35eab23b Remove git dependencies 2019-05-01 21:14:39 -07:00
Alex Lyon 220e07dc95 Test on FreeBSD using Cirrus CI and link to the Discord in the README 2019-05-01 21:14:25 -07:00
dependabot[bot] 08ec78b634
build: bump libc from 0.2.51 to 0.2.53
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.51 to 0.2.53.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.51...0.2.53)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 21:06:56 +00:00
dependabot[bot] 2d55e5ca85
build: bump filetime from 0.2.4 to 0.2.5
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.4...0.2.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-24 07:26:10 +00:00
dependabot[bot] 32325da059
Bump rand from 0.5.5 to 0.6.5
Bumps [rand](https://github.com/rust-random/rand) from 0.5.5 to 0.6.5.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.5.5...0.6.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-23 17:39:22 +00:00
dependabot[bot] 9fc716d1b8
Bump lazy_static from 1.2.0 to 1.3.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.2.0...1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-06 01:59:58 +00:00
dependabot[bot] b23dab945c
Bump onig from 3.1.1 to 3.2.2
Bumps [onig](https://github.com/iwillspeak/rust-onig) from 3.1.1 to 3.2.2.
- [Release notes](https://github.com/iwillspeak/rust-onig/releases)
- [Commits](https://github.com/iwillspeak/rust-onig/compare/v3.1.1...v3.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 23:05:19 +00:00
dependabot[bot] b018cc45de
Bump libc from 0.2.42 to 0.2.51
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.42 to 0.2.51.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.42...0.2.51)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-29 07:30:02 +00:00
Alex Lyon 1dc7d8cb91
Merge pull request #1328 from uutils/dependabot/cargo/time-0.1.42
Bump time from 0.1.40 to 0.1.42
2019-02-08 11:31:07 -08:00
Alex Lyon 2fcb9e1126
Merge pull request #1329 from uutils/dependabot/cargo/lazy_static-1.2.0
Bump lazy_static from 1.0.1 to 1.2.0
2019-02-08 11:30:31 -08:00
Alex Lyon 502c2cda66
Merge pull request #1298 from uutils/dependabot/cargo/half-1.3.0
Bump half from 1.2.0 to 1.3.0
2019-02-08 11:30:08 -08:00
dependabot[bot] 31084f12c7
Bump time from 0.1.40 to 0.1.42
Bumps [time](https://github.com/rust-lang/time) from 0.1.40 to 0.1.42.
- [Release notes](https://github.com/rust-lang/time/releases)
- [Commits](https://github.com/rust-lang/time/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 08:45:35 +00:00
dependabot[bot] 6d208d26c5
Bump lazy_static from 1.0.1 to 1.2.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.0.1 to 1.2.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.0.1...1.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 08:45:28 +00:00
Alex Lyon 30ef9662b3
Merge pull request #1333 from uutils/dependabot/cargo/filetime-0.2.4
build(deps): bump filetime from 0.2.1 to 0.2.4
2019-02-08 00:43:48 -08:00
Alex Lyon c2fbdf60fb
Merge pull request #1301 from uutils/dependabot/cargo/rand-0.5.5
Bump rand from 0.4.2 to 0.5.5
2019-02-08 00:43:21 -08:00
dependabot[bot] 55c29c8a1d
build(deps): bump filetime from 0.2.1 to 0.2.4
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.1 to 0.2.4.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.1...0.2.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 07:21:13 +00:00
Alex Lyon f0aecf4134
Merge pull request #1300 from uutils/dependabot/cargo/aho-corasick-0.6.8
Bump aho-corasick from 0.6.5 to 0.6.8
2019-02-07 03:31:27 -08:00
dependabot[bot] a8c6264023
Bump rand from 0.4.2 to 0.5.5
Bumps [rand](https://github.com/rust-lang-nursery/rand) from 0.4.2 to 0.5.5.
- [Release notes](https://github.com/rust-lang-nursery/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rand/compare/0.4.2...0.5.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 08:45:30 +00:00
Alex Lyon 2d26f800de
Merge pull request #1302 from uutils/dependabot/cargo/regex-1.0.3
Bump regex from 1.0.1 to 1.0.3
2019-02-07 00:42:19 -08:00
Alex Lyon 313ad332fa
Merge pull request #1290 from ArniDagur/ls-formatting
Change `ls -l -h` formatting to match GNU ls
2019-02-07 00:12:43 -08:00
dependabot[bot] c1480472a3
Bump regex from 1.0.1 to 1.0.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.0.1...1.0.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-15 07:46:09 +00:00
dependabot[bot] 58fa48b619
Bump aho-corasick from 0.6.5 to 0.6.8
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 0.6.5 to 0.6.8.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases)
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.6.5...0.6.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-14 09:36:23 +00:00
dependabot[bot] a182d3d81d
Bump half from 1.2.0 to 1.3.0
Bumps [half](https://github.com/starkat99/half-rs) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/starkat99/half-rs/releases)
- [Changelog](https://github.com/starkat99/half-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/starkat99/half-rs/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-14 09:35:46 +00:00
Vinzent Steinberg fe21c4b7fd Update to Rand 0.5 (#1288)
* factor: Update to Rand 0.5

* shuf: Update to Rand 0.5

* shred: Update to Rand 0.5

* mktemp: Update to Rand 0.5
2018-10-14 13:33:44 +04:00
Árni Dagur 3367d3d979
Switch to using rust-number-prefix from pretty-bytes 2018-09-18 22:16:34 +00:00
dependabot[bot] 19aea56351
Bump clippy from 0.0.211 to 0.0.212
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy) from 0.0.211 to 0.0.212.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases)
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.211...v0.0.212)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-11 07:15:40 +00:00
Alex Lyon 65d3812311
Merge pull request #1262 from uutils/dependabot/cargo/cpp_build-0.4.0
Bump cpp_build from 0.3.2 to 0.4.0
2018-07-10 21:40:50 -07:00
Alex Lyon e528c38ac8
Merge pull request #1261 from uutils/dependabot/cargo/getopts-0.2.18
Bump getopts from 0.2.17 to 0.2.18
2018-07-10 21:40:38 -07:00
dependabot[bot] 20a236e39b
Bump cpp_build from 0.3.2 to 0.4.0
Bumps [cpp_build](https://github.com/mystor/rust-cpp) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/mystor/rust-cpp/releases)
- [Commits](https://github.com/mystor/rust-cpp/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-11 01:16:49 +00:00
dependabot[bot] 0b870c065f
Bump cpp from 0.3.2 to 0.4.0
Bumps [cpp](https://github.com/mystor/rust-cpp) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/mystor/rust-cpp/releases)
- [Commits](https://github.com/mystor/rust-cpp/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-09 07:50:33 +00:00
dependabot[bot] 2c796811ca
Bump getopts from 0.2.17 to 0.2.18
Bumps [getopts](https://github.com/rust-lang/getopts) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/rust-lang/getopts/releases)
- [Commits](https://github.com/rust-lang/getopts/compare/0.2.17...v0.2.18)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 07:17:46 +00:00
dependabot[bot] e7d8f6b2d7
Bump clippy from 0.0.209 to 0.0.211
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy) from 0.0.209 to 0.0.211.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases)
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.209...v0.0.211)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-01 19:17:17 +00:00
Alex Lyon 19253a066f
Merge pull request #1257 from uutils/dependabot/cargo/clap-2.32.0
Bump clap from 2.31.2 to 2.32.0
2018-07-01 12:13:52 -07:00
dependabot[bot] bd556d9ae2
Bump aho-corasick from 0.6.4 to 0.6.5
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 0.6.4 to 0.6.5.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases)
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.6.4...0.6.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-28 07:26:13 +00:00
dependabot[bot] 9883d82785
Bump clap from 2.31.2 to 2.32.0
Bumps [clap](https://github.com/kbknapp/clap-rs) from 2.31.2 to 2.32.0.
- [Release notes](https://github.com/kbknapp/clap-rs/releases)
- [Changelog](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kbknapp/clap-rs/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-27 07:27:24 +00:00
Alex Lyon d5e6259b4c
Merge pull request #1246 from uutils/dependabot/cargo/regex-1.0.1
Bump regex from 1.0.0 to 1.0.1
2018-06-25 09:24:46 -07:00
Alex Lyon 8c366cd4ea
Merge pull request #1251 from uutils/dependabot/cargo/half-1.1.1
Bump half from 1.1.0 to 1.1.1
2018-06-25 09:24:32 -07:00
dependabot[bot] 1ffebd1054
Bump chrono from 0.4.3 to 0.4.4
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.3...v0.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-25 07:25:17 +00:00
dependabot[bot] 1c38d5f97f
Bump half from 1.1.0 to 1.1.1
Bumps [half](https://github.com/starkat99/half-rs) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/starkat99/half-rs/releases)
- [Changelog](https://github.com/starkat99/half-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/starkat99/half-rs/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-25 07:25:13 +00:00
dependabot[bot] 3e907e2a10
Bump regex from 1.0.0 to 1.0.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.0.0...1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-20 15:39:26 +00:00
dependabot[bot] 378292cdbd
Bump clippy from 0.0.208 to 0.0.209
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy) from 0.0.208 to 0.0.209.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases)
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.208...v0.0.209)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-20 07:19:23 +00:00
dependabot[bot] 0cd807c404
Bump clippy from 0.0.207 to 0.0.208
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy) from 0.0.207 to 0.0.208.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases)
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.207...v0.0.208)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-19 07:25:24 +00:00
dependabot[bot] c3423cdeff
Bump chrono from 0.4.0 to 0.4.3
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.0 to 0.4.3.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.0...v0.4.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-18 07:40:46 +00:00
Alex Lyon f0859c8094
Merge pull request #1239 from uutils/dependabot/cargo/unicode-width-0.1.5
Bump unicode-width from 0.1.4 to 0.1.5
2018-06-15 09:19:39 -07:00
Alex Lyon cbc02b8a1a
Merge pull request #1238 from uutils/dependabot/cargo/clippy-0.0.207
Bump clippy from 0.0.206 to 0.0.207
2018-06-15 09:18:36 -07:00
Alex Lyon 5bea2624df
Merge pull request #1237 from uutils/dependabot/cargo/regex-1.0.0
Bump regex from 0.2.7 to 1.0.0
2018-06-15 09:18:15 -07:00
dependabot[bot] f007268c9c
Bump unicode-width from 0.1.4 to 0.1.5
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:50 +00:00
dependabot[bot] d5838b93dc
Bump clippy from 0.0.206 to 0.0.207
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy) from 0.0.206 to 0.0.207.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases)
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.206...v0.0.207)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:45 +00:00
dependabot[bot] be615fb7df
Bump regex from 0.2.7 to 1.0.0
Bumps [regex](https://github.com/rust-lang/regex) from 0.2.7 to 1.0.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/0.2.7...1.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:38 +00:00
dependabot[bot] 8ec1060de9
Bump itertools from 0.6.5 to 0.7.8
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.6.5 to 0.7.8.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Commits](https://github.com/bluss/rust-itertools/compare/0.6.5...0.7.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-15 07:24:33 +00:00
Alex Lyon aab9a8a028
Merge pull request #1216 from uutils/dependabot/cargo/bit-set-0.5.0
Bump bit-set from 0.4.0 to 0.5.0
2018-06-14 17:34:48 -07:00
Alex Lyon fe51245f54
Merge pull request #1232 from uutils/dependabot/cargo/regex-syntax-0.6.1
Bump regex-syntax from 0.6.0 to 0.6.1
2018-06-14 09:30:15 -07:00
dependabot[bot] 4a4877264c
Bump time from 0.1.39 to 0.1.40
Bumps [time](https://github.com/rust-lang/time) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/rust-lang/time/releases)
- [Commits](https://github.com/rust-lang/time/compare/0.1.39...0.1.40)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-14 07:22:03 +00:00
dependabot[bot] ede1aa9ece
Bump regex-syntax from 0.6.0 to 0.6.1
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.6.0...regex-syntax-0.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-14 07:21:55 +00:00
dependabot[bot] 374fb4d4f1
Bump filetime from 0.1.15 to 0.2.1
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.1.15 to 0.2.1.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.1.15...0.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 14:15:48 -07:00
dependabot[bot] 07cd07932d
Bump remove_dir_all from 0.2.0 to 0.5.1
Bumps [remove_dir_all](https://github.com/Aaronepower/remove_dir_all) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/Aaronepower/remove_dir_all/releases)
- [Changelog](https://github.com/Aaronepower/remove_dir_all/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Aaronepower/remove_dir_all/commits/v0.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 11:14:38 -07:00
Alex Lyon bb27d74021
Merge pull request #1223 from uutils/dependabot/cargo/semver-0.9.0
Bump semver from 0.7.0 to 0.9.0
2018-06-13 07:04:37 -07:00
dependabot[bot] 2e22cbae9a
Bump quick-error from 1.2.1 to 1.2.2
Bumps [quick-error](https://github.com/tailhook/quick-error) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/tailhook/quick-error/releases)
- [Commits](https://github.com/tailhook/quick-error/compare/v1.2.1...v1.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 03:25:46 +00:00
dependabot[bot] 34aeb45d22
Bump semver from 0.7.0 to 0.9.0
Bumps [semver](https://github.com/steveklabnik/semver) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/steveklabnik/semver/releases)
- [Commits](https://github.com/steveklabnik/semver/compare/v0.7.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-13 03:25:03 +00:00
Alex Lyon 443f600066
Merge pull request #1228 from uutils/dependabot/cargo/walkdir-2.1.4
Bump walkdir from 1.0.7 to 2.1.4
2018-06-12 20:22:54 -07:00
dependabot[bot] c985387f5f
Bump walkdir from 1.0.7 to 2.1.4
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 1.0.7 to 2.1.4.
- [Release notes](https://github.com/BurntSushi/walkdir/releases)
- [Commits](https://github.com/BurntSushi/walkdir/compare/1.0.7...2.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 23:59:05 +00:00
dependabot[bot] be6754b7a8
Bump tempdir from 0.3.6 to 0.3.7
Bumps [tempdir](https://github.com/rust-lang/tempdir) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/rust-lang/tempdir/releases)
- [Commits](https://github.com/rust-lang/tempdir/compare/v0.3.6...v0.3.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 16:41:14 +00:00
Alex Lyon f7d5858bdb
Merge pull request #1225 from uutils/dependabot/cargo/half-1.1.0
Bump half from 1.0.2 to 1.1.0
2018-06-12 09:38:55 -07:00
dependabot[bot] 9327f957bd
Bump rand from 0.3.22 to 0.4.2
Bumps [rand](https://github.com/rust-lang-nursery/rand) from 0.3.22 to 0.4.2.
- [Release notes](https://github.com/rust-lang-nursery/rand/releases)
- [Changelog](https://github.com/rust-lang-nursery/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rand/compare/0.3.22...0.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 07:26:39 +00:00
dependabot[bot] 485507be2b
Bump half from 1.0.2 to 1.1.0
Bumps [half](https://github.com/starkat99/half-rs) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/starkat99/half-rs/releases)
- [Changelog](https://github.com/starkat99/half-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/starkat99/half-rs/compare/v1.0.2...v1.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-12 07:26:12 +00:00
dependabot[bot] fce51cec0b
Bump bit-set from 0.4.0 to 0.5.0
Bumps [bit-set](https://github.com/contain-rs/bit-set) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/contain-rs/bit-set/releases)
- [Commits](https://github.com/contain-rs/bit-set/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 19:57:56 +00:00
dependabot[bot] 3eea5703bf
Bump regex-syntax from 0.5.0 to 0.6.0
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.5.0...regex-syntax-0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 17:51:25 +00:00
dependabot[bot] c66dd59489
Bump libc from 0.2.39 to 0.2.42
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.39 to 0.2.42.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.39...0.2.42)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 17:13:54 +00:00
dependabot[bot] 7cbe0d4ceb
Bump unindent from 0.1.2 to 0.1.3
Bumps [unindent](https://github.com/dtolnay/indoc) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/0.1.2...0.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-11 07:29:30 +00:00
Alex Lyon 2b063dd363
Merge pull request #1215 from uutils/dependabot/cargo/sha1-0.6.0
Bump sha1 from 0.2.0 to 0.6.0
2018-06-08 15:06:13 -07:00
dependabot[bot] 92727d3301
Bump sha1 from 0.2.0 to 0.6.0
Bumps [sha1](https://github.com/mitsuhiko/rust-sha1) from 0.2.0 to 0.6.0.
- [Release notes](https://github.com/mitsuhiko/rust-sha1/releases)
- [Commits](https://github.com/mitsuhiko/rust-sha1/compare/0.2.0...0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-08 07:30:51 +00:00
dependabot[bot] d1c18c01e9
Bump lazy_static from 1.0.0 to 1.0.1
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits/v1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-08 07:30:48 +00:00
Alex Lyon 9b28029982
Merge pull request #1211 from uutils/dependabot/cargo/lazy_static-1.0.0
Bump lazy_static from 0.2.11 to 1.0.0
2018-06-07 09:08:24 -07:00
Alex Lyon 4eec57646b
Merge pull request #1210 from uutils/dependabot/cargo/winapi-0.3.5
Bump winapi from 0.3.4 to 0.3.5
2018-06-07 08:47:03 -07:00
Alex Lyon 13aa3ede94
Merge pull request #1207 from uutils/dependabot/cargo/clippy-0.0.206
Bump clippy from 0.0.143 to 0.0.206
2018-06-07 08:45:23 -07:00
Alex Lyon c814445c38
Merge pull request #1204 from uutils/dependabot/cargo/regex-syntax-0.5.0
Bump regex-syntax from 0.4.2 to 0.5.0
2018-06-07 08:44:07 -07:00
dependabot[bot] c7fa56442a
Bump clippy from 0.0.143 to 0.0.206
Bumps [clippy](https://github.com/rust-lang-nursery/rust-clippy) from 0.0.143 to 0.0.206.
- [Release notes](https://github.com/rust-lang-nursery/rust-clippy/releases)
- [Changelog](https://github.com/rust-lang-nursery/rust-clippy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rust-clippy/compare/v0.0.143...v0.0.206)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 15:41:42 +00:00
dependabot[bot] 5b5aaa03c9
Bump lazy_static from 0.2.11 to 1.0.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 0.2.11 to 1.0.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 07:25:48 +00:00
dependabot[bot] 4effea388f
Bump winapi from 0.3.4 to 0.3.5
Bumps [winapi](https://github.com/retep998/winapi-rs) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/retep998/winapi-rs/releases)
- [Commits](https://github.com/retep998/winapi-rs/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 07:25:43 +00:00
dependabot[bot] d2aa1e30d2
Bump regex-syntax from 0.4.2 to 0.5.0
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.4.2...regex-syntax-0.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 01:34:32 +00:00
dependabot[bot] 516ee396de
Bump clap from 2.31.1 to 2.31.2
Bumps [clap](https://github.com/kbknapp/clap-rs) from 2.31.1 to 2.31.2.
- [Release notes](https://github.com/kbknapp/clap-rs/releases)
- [Changelog](https://github.com/kbknapp/clap-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kbknapp/clap-rs/commits/v2.31.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-07 01:34:24 +00:00
Alex Lyon f25d4e1114
uucore: update data_encoding and add wrap_write() 2018-05-22 09:55:05 -07:00
Alex Lyon 974f5def20 uptime: error when uptime cannot be found 2018-05-02 19:11:37 -07:00
Alex Lyon 4941604362 yes: use 16 KiB rather than 8 KiB for the buffer 2018-03-22 03:31:41 -07:00
Ian Douglas Scott 301b9002ce
Port test to Redox 2018-03-16 18:39:53 -07:00
Ian Douglas Scott 1471e95b22
Make the 'cat' utility build on Redox 2018-03-14 10:21:12 -07:00
Alex Lyon bd557c87fb uucore: make features opt-in rather than opt-out 2018-03-12 20:21:38 -07:00
Alex Lyon 155fea53b2 yes: switch to clap and try to decrease allocs 2018-03-12 16:27:21 -07:00
Alex Lyon 880a4973c1 Format everything using rustfmt 2018-03-12 01:20:58 -07:00
Alex Lyon 00a8b0b0f1 uucore: remove utsname.rs (and replace with platform-info) 2018-03-11 18:50:36 -07:00
Alex Lyon 0b70b151b8 hostname: refactor a bit 2018-03-07 03:34:04 -08:00
Alex Lyon 6330474b4f hostname: add support for Windows (and maybe other systems too) 2018-03-06 16:40:08 -08:00
Alex Lyon 8ba5fae6e3 cp, tail: update winapi 2018-03-04 18:38:33 -08:00
Alex Lyon d8e738c49b tests: disable some chgrp tests when part of the root group
Some tests failed when run using Docker because they assumed the
user would never be root.  This is more of a band-aid solution.
An actual fix would be to test see if something like these tests
were to succeed when the user is root.
2018-03-03 12:04:22 -08:00
Alex Lyon 79ae872b1e Fix broken lock file 2017-12-31 00:28:16 -08:00
Alex Lyon 3eee1b9ad6
Merge pull request #1074 from Heather/pwd_lp
pwd: add support for -L and -P options
2017-12-30 23:53:01 -08:00
Alex Lyon cf7582cbd2
stdbuf: make build more reliable and allow installation using Cargo 2017-12-29 23:25:51 -08:00
Alex Lyon feaae12d0a
cp: lock winapi to 0.2 for now 2017-12-29 03:31:13 -08:00
Alex Lyon 8ed383941d
Add Sphinx documentation to generate man pages 2017-12-28 22:02:58 -08:00
Sunrin SHIMURA (keen) ee34206520 install: allow to install a file to a file 2017-12-27 17:31:19 +09:00
Konstantin Pospelov b33ce67d91 join: implement basic functionality
The basic implementation of join with some tests. The supported
options: -1, -2, -j, -a, -i.
2017-12-14 00:02:42 +03:00
Cynede 6ef16b9221
pwd: fixes for UNC paths on Windows, match instead of plain unwrap 2017-12-11 14:49:20 +04:00
Alex Lyon de07c6218b
stdbuf: build the shared library again and fix the Makefile 2017-11-18 17:37:32 -08:00
Emiel Beinema 5d0c8895d9 hashsum: replace rustc_serialize with hex crate 2017-11-18 13:06:11 +01:00
Emiel Beinema ff1ef82d84 hashsum: clean up and lock new dependencies 2017-11-18 13:06:11 +01:00
Ian Douglas Scott 1a28a48ca3
Merge branch 'master' into expr-regex 2017-10-01 10:09:06 -07:00
Alex Lyon b39689ac37 rm: massive refactor 2017-07-26 23:21:23 -07:00
Joshua Miller 7dafb649d5 implement many copy flags
- Refactored towards extensibility
2017-07-16 19:20:07 -05:00
Joshua Miller e8073d2596 pin dependencies 2017-07-15 15:16:09 -05:00
Arcterus 9abc3208d3 expr: implement regular expressions 2017-06-29 20:58:16 -07:00
Hiroki Noda 3a4b5ff8ed nproc: counts CPU cores via affinity mask if available on Linux
* Upgrade num_cpus crate to 1.5.0.
* Use sysconf(_SC_NPROCESSORS_CONF) when `--all` query given.
2017-05-29 08:56:33 +09:00
Anthony Deschamps f4dc03a29c Update Cargo.lock so date will build. 2017-03-27 00:06:23 -04:00
Joshua Miller 133934f7cf add cat support for unix domain sockets
- adds conditional supports for unix domain sockets
   - adds unix domain socket test
   - adds Results to functions, removing unwraps
   - uutils `cat` used to panic on broken stdout pipes (e.g. `cat
     /dev/zero | head -c1`).  this is fixed in this PR
   - updated to exit 0 on success, and 1 if an error occurs.
   - adds docstrings
   - adds an error log on printing a directory
   - adds categorization of other filetypes for extensible
     differentiation of behaviors
   - adds OutputOptions struct to replace params for extensibility
   - adds correct status code on exit
2017-01-08 19:56:35 -06:00
Alexander Batischev f2166fed0a tail: implement --pid. Closes #846.
Kudos to zHz for helping out with Windows API part.
2016-12-22 01:32:09 +03:00
Alexander Batischev 655804cff4 tests/chmod: protect umask with a mutex
`test_chmod_ugoa` and `test_chmod_many_options` both change umask, which
is global state. Since tests run concurrently, this might lead to
a situation where one of the tests changes umask to a value that screws
another test's checks. To prevent this, we introduce a mutex that should
be held by any test that changes umask.

Unfortunately, there's no way to hide umask behind this mutex and
enforce its usage: programmers will have to maintain the discipline
themselves.
2016-12-19 13:14:38 +03:00
Lei Zhang c36917b35f Update dependencies.
libc v0.2.18 adds support for Fuchsia.
2016-12-14 23:29:40 -05:00
Lei Zhang a34cd30f54 Enable compilation of ls on Fuchsia.
This updates the dependency of pretty-bytes to v0.2.
2016-12-14 23:29:38 -05:00
Lei Zhang ba244794f0 Enable compilation of more on Fuchisa. 2016-12-08 13:08:17 -05:00
Lei Zhang 55470e17b5 cat no longer need extern crate libc anymore. 2016-11-30 10:57:47 -05:00
Lei Zhang 3b06a6e292 Update dependencies. 2016-11-29 12:56:30 -05:00
Lei Zhang a529bff697 Update Cargo.lock about dependencies. 2016-11-24 11:18:36 -05:00
Wim Hueskes 99f70ba648 od: implement 16-bit floating point type 2016-09-03 21:47:36 +02:00
Wim Hueskes d705dc46ce od: improve/extend --help text 2016-09-02 21:24:56 +02:00
Wim Hueskes 167d7d3ca9 od: implement -w (width) 2016-09-01 00:09:45 +02:00
Wim Hueskes 5c495359c1 od: refactor: convert bytes using byteorder crate 2016-09-01 00:08:00 +02:00
Wim Hueskes e0b7ff1953 od: implement --help and --version 2016-09-01 00:01:35 +02:00
Wim Hueskes a900b42a1f od: refactor: readability of expected output
use multiple lines in source too and use unindent crate to fix spacing
2016-09-01 00:00:52 +02:00
Alex Lyon 362cabe1a6 hashsum: implement SHAKE-128 and SHAKE-256 2016-08-30 17:33:18 -07:00
Nathan Ross a8f5b430df Merge pull request #935 from frewsxcv/refactor-time
Prefer handling `Duration` over `f32` when dealing with times.
2016-08-04 21:17:38 -04:00
Corey Farwell 3e6a560b9c Add missing pinky entry in Cargo.lock. 2016-08-04 19:47:50 -04:00
Corey Farwell 99fda0b716 Prefer handling Duration over f32 when dealing with times.
Also refactored out usage of the `time` crate in `uucore`.
2016-08-04 19:21:30 -04:00
Mark Karasek 900cd41eb6 ls improvments
* Add options -c, -F, -L, -l, -r, -R, -S, -t, -U, --color
* Fix options -a, -A
* Remove unused options
* Output in columns when not using -l
* Output date with -l
2016-07-28 17:41:52 -07:00
Ben Eills fa2145bb84 Allow specification of mode strings for install
We now accept symbolic and numeric mode strings using the
--mode or -m option for install.  This is used either when
moving files into a directory, or when creating component
directories with the -d option.  This feature was designed
to mirror the GNU implementation, including the possibly
quirky behaviour of `install --mode=u+wx file dir`
resulting in dir/file having exactly permissions 0300.

Extensive integration tests are included.

This chnage required a higher libc dependency.
2016-07-13 15:29:24 +02:00
Ben Eills e72ec4a5bb Implement skeleton install utility
Add install utility skeleton source, based on
mv, including the getopts setup mirroring
GNU's `man install` documentation.  Also
add a single test and build system code.
2016-07-12 20:56:21 +02:00
Smigle00 35fec95d60 arch: add new utility
Signed-off-by: Smigle00 <smigle00@gmail.com>
2016-07-10 00:48:10 +05:30
Joseph Crail d8d6f99dd1 cargo: update library dependencies 2016-05-24 22:08:03 -04:00
Joseph Crail b50fc88ead mktemp: use tempfile crate from crates.io 2016-05-22 16:41:36 -04:00
Heather bdc1ca7426 Merge pull request #882 from jbcrail/fix-windows-build
Improve Windows build
2016-05-22 16:02:03 +04:00
ibabushkin d504ae18c9 pathchk implemented (see #841) (#860)
* Added pathchk
2016-05-22 15:59:57 +04:00
Joseph Crail 7ef4bb37a8 tests: consolidate into one crate
The main motivation is to move toward running those tests for a specific
target, that is, if a test won't run on Windows, then we shouldn't build
it. This was previously the default behavior and prevented a successful
run on AppVeyor.

I borrowed this pattern from the tests in the Cargo project.
2016-05-22 03:46:54 -04:00
Joseph Crail cd89a6e5c7 tr: update vec_map to 0.6.0
Fixes #865
2016-05-14 22:56:24 -04:00
Heather 1fafde8c27 Merge pull request #845 from peschkaj/master
Basic implementation of ls
2016-05-01 00:56:11 +04:00
Heather f47fafb28d Merge pull request #830 from lucaotta/fix-788
Fix #788
2016-05-01 00:41:15 +04:00
Mike Swanson c946202094 hashsum: add support for SHA-3 functions
Only the fixed output-size functions are supported, SHAKE128 and
SHAKE256 are not included for now.
2016-04-16 06:17:15 -07:00
Luca Ottaviano 6ded76714b chmod: remove unused dependencies 2016-04-02 10:29:57 +02:00
Jeremiah Peschka 0bb0c40c36 Adding tests for ls. Corrected issue with ls on the present directory throwing panic!() 2016-03-25 14:25:52 -07:00
Nathan Ross 0892ad3cde printf: add (spare C99 hex floats) 2016-02-15 00:10:30 -05:00
Joseph Crail f75d58f1da Update bit-set to 0.3.0. 2016-01-22 22:40:44 -05:00
Arcterus ee669ab55b chmod: rewrite mode parser 2016-01-04 20:00:34 -08:00
Arcterus 96817dfbc5 Fix #784 2016-01-03 23:15:19 -08:00
Sunrin SHIMURA (keen) 1525c189ee add Cargo.lock 2015-12-29 23:31:34 +09:00