Sylvestre Ledru
d5228b5a64
feat(df) add 'df' uutil
2020-04-28 13:05:55 -05:00
Roy Ivy III
5aa2b039a5
change ~ fixup paths (within workspace packages) to common code
2020-04-14 13:46:19 -05:00
Roy Ivy III
78c362c8b5
change ~ fixup paths (within workspace packages)
2020-04-14 13:46:18 -05:00
Roy Ivy III
f0b0e3b867
change ~ reorganize code files
2020-04-14 13:46:18 -05:00
Sylvestre Ledru
cf35d75491
rustfmt the tests
2020-04-13 20:36:03 +02:00
Roy Ivy III
08a2cd0fc8
Merge pull request #1449 from rivy/add.cicd
...
Improves build and maint; fixes all testing issues; adds GHA CICD; fixes a long list of lints
2020-04-13 10:12:24 -05:00
Roy Ivy III
6a18d7f7be
update ~ (maint!) use fixed/patched uucore (v0.0.2); await upgrade upstream
...
- fixes musl (no-utmpx) build bug
- fixes failing windows real{link,path} tests
2020-04-12 22:39:55 -05:00
Roy Ivy III
b8da0d7a8c
maint/docs ~ add license notation to all workspace packages
2020-04-12 16:57:11 -05:00
Roy Ivy III
d704fb2b61
printf: refactor ~ remove redundant string allocation
2020-04-12 16:56:05 -05:00
Roy Ivy III
3e3dff3a57
ls: refactor ~ improve line bundling of imports
2020-04-12 16:56:05 -05:00
Roy Ivy III
84f05f209c
expand: refactor/polish ~ simplify if condition
2020-04-12 16:56:04 -05:00
Roy Ivy III
ecb8f2873a
refactor ~ change repair of 'fix cargo clippy
complaints (fatal/same if clause)'
...
.# [why]
The initial refactoring/repair led to comments within if conditions which is
objectionable to some of the devs. So, this changes the refactor to completely split
the if clauses into separate if statements (with corresponding commentary).
Note: this refactor is "less mechanical" and does increase the risk of changing the
actual effect of the code. But the change is small and the tests are passing.
2020-04-12 16:56:04 -05:00
Roy Ivy III
156502a332
refactor ~ reduce excessive use of scope prefixes
2020-04-12 16:56:04 -05:00
Roy Ivy III
78d55f0e32
refactor/polish ~ fix cargo clippy
complaints (fix/remove allow range_plus_one)
2020-04-12 16:56:04 -05:00
Roy Ivy III
1c97a29a56
maint/build ~ refactor dependency specifications (sorted, single lines) of 'Cargo.toml'
2020-04-12 16:56:04 -05:00
Roy Ivy III
7e15375d82
refactor ~ clean up main directory (move '{mk,uu}main.rs' into src/#common)
2020-04-11 18:50:12 -05:00
Roy Ivy III
9675addc50
refactor/polish ~ fix cargo clippy
complaints (skip_while_next)
2020-04-11 18:50:11 -05:00
Roy Ivy III
0cf704a1bf
refactor/polish ~ fix cargo clippy
complaints (wildcard_in_or_patt)
2020-04-11 18:50:11 -05:00
Roy Ivy III
5224c3cd49
refactor/polish ~ fix rustc
complaints (unused_parens)
2020-04-11 18:50:11 -05:00
Roy Ivy III
ecc895e7a1
refactor/polish ~ fix cargo clippy
complaints (iter_nth_zero)
2020-04-11 18:50:11 -05:00
Roy Ivy III
ce0bb218a7
refactor/polish ~ fix cargo clippy
complaints (deprecated std::error::Error::description)
2020-04-11 18:50:11 -05:00
Roy Ivy III
0635c5fe93
refactor/polish ~ fix cargo clippy
complaints (unused_parens)
2020-04-11 18:50:11 -05:00
Roy Ivy III
c484fb8065
refactor/polish ~ fix cargo clippy
complaints (missing_safety_doc; with ToDO for safety note)
2020-04-11 18:50:10 -05:00
Roy Ivy III
0fdf27c5c2
refactor/polish ~ fix cargo clippy
complaints (iter_skip_next)
2020-04-11 18:50:10 -05:00
Roy Ivy III
84e26b3d0b
refactor/polish ~ fix cargo clippy
complaints (or_fun_call)
2020-04-11 18:50:10 -05:00
Roy Ivy III
9b145bb6c4
refactor/polish ~ fix cargo clippy
complaints (unreadable_literal)
2020-04-11 18:50:10 -05:00
Roy Ivy III
75f05df119
refactor/polish ~ fix cargo clippy
complaints (redundant_static_lifetimes)
2020-04-11 18:50:10 -05:00
Roy Ivy III
c4a69f2f4e
refactor/polish ~ fix cargo clippy
complaints (allow trivially_copy_pass_by_ref)
2020-04-11 18:50:10 -05:00
Roy Ivy III
1d26e901f9
fix 32-bit/i686 target builds
2020-04-11 18:50:09 -05:00
Sylvestre Ledru
deda30e3f5
Merge pull request #1421 from felixonmars/patch-1
...
Correct some typos in printf.rs
2020-04-08 19:03:57 +02:00
Roy Ivy III
5af8503a5e
cargo fmt
2020-01-28 00:05:06 -06:00
Roy Ivy III
15722e3ace
refactor/polish ~ fix cargo clippy
complaints (unused imports)
2020-01-28 00:04:41 -06:00
Roy Ivy III
daecc56d47
refactor/polish ~ fix cargo clippy
complaints (unwrap_or_else)
2020-01-27 22:35:28 -06:00
Roy Ivy III
b4866afb9a
refactor/polish ~ fix cargo clippy
complaints (deprecated uint64_t)
2020-01-27 22:35:28 -06:00
Roy Ivy III
a6bdad314d
refactor/polish ~ fix cargo clippy
complaints (allow deprecated mem::uninitialized)
...
.# [why]
`std::mem::MaybeUninit` is likely preffered. But `MaybeUninit` was not
stabilized until rust v1.36.0 and conversion from `mem::uninitialized` is
not obviously straight-forward at the moment.
So, 'std::mem::uninitialized' is allowed instead of increasing MinSRV to v1.36.0.
* ref: https://github.com/rust-lang/rust/blob/master/RELEASES.md
2020-01-27 22:35:28 -06:00
Roy Ivy III
082f9520b2
refactor/polish ~ fix cargo clippy
complaints (allow useless_let_if_seq)
2020-01-27 22:35:28 -06:00
Roy Ivy III
d82a170351
refactor/polish ~ fix cargo clippy
complaints (allow unreadable_literal {for dynamic code})
2020-01-27 22:35:28 -06:00
Roy Ivy III
372ddf9222
refactor/polish ~ fix cargo clippy
complaints (allow too_many_args)
2020-01-27 22:35:28 -06:00
Roy Ivy III
6c7c4788d8
refactor/polish ~ fix cargo clippy
complaints (allow single_match)
2020-01-27 22:35:28 -06:00
Roy Ivy III
6230ab302a
refactor/polish ~ fix cargo clippy
complaints (allow range_plus_one; clippy
bug workaround)
...
* ref: <https://github.com/rust-lang/rust-clippy/issues/4898 >
2020-01-27 22:35:28 -06:00
Roy Ivy III
522d3ae1b6
refactor/polish ~ fix cargo clippy
complaints (allow ptr_arg)
2020-01-27 22:35:27 -06:00
Roy Ivy III
b8c0711273
refactor/polish ~ fix cargo clippy
complaints (allow ptr_arg)
2020-01-27 22:35:27 -06:00
Roy Ivy III
e80970cb92
refactor/polish ~ fix cargo clippy
complaints (allow module_inception)
2020-01-27 22:35:27 -06:00
Roy Ivy III
cc49983314
refactor/polish ~ fix cargo clippy
complaints (allow missing_safety_doc)
2020-01-27 22:35:27 -06:00
Roy Ivy III
df68c396c4
refactor/polish ~ fix cargo clippy
complaints (allow map_clone)
...
.# [why]
Although `copied()` is preffered, it was not stabilized until rust v1.35.0.
So, 'map_clone' is allowed instead of increasing MinSRV to v1.35.0.
* ref: https://github.com/rust-lang/rust/blob/master/RELEASES.md
2020-01-27 22:35:27 -06:00
Roy Ivy III
99ce03f259
refactor/polish ~ fix cargo clippy
complaints (allow many_single_char_names)
2020-01-27 22:35:27 -06:00
Roy Ivy III
44a60f773f
refactor/polish ~ fix cargo clippy
complaints (allow 'let_and_return')
2020-01-27 22:35:27 -06:00
Roy Ivy III
a90e1abbd8
refactor/polish ~ fix cargo clippy
complaints (allow enum_variant_names)
2020-01-27 22:35:27 -06:00
Roy Ivy III
5241eca084
refactor/polish ~ fix cargo clippy
complaints (allow comparison_chain {for f64 comparisons})
2020-01-27 22:35:27 -06:00
Roy Ivy III
784887cc84
refactor/polish ~ fix cargo clippy
complaints (allow comparison_chain)
2020-01-27 22:35:27 -06:00