JT
6cc4ef6c70
bump to 0.71, use 1.63 toolchain ( #7061 )
2022-11-09 06:54:00 +13:00
Alex Saveau
be5d71ea47
Run a round of clippy --fix to fix a ton of lints ( #7006 )
...
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
2022-11-04 15:11:17 -05:00
Stefan Holderbach
6a7a60429f
Remove unnecessary #[allow(...)]
annotations ( #6870 )
...
* Remove unnecessary `#[allow]` annots
Reduce the number of lint exceptions that are not necessary with the
current state of the code (or more recent toolchain)
* Remove dead code from `FileStructure` in nu-command
* Replace `allow(unused)` with relevant feature switch
* Deal with `needless_collect` with annotations
* Change hack for needless_collect in `from json`
This change obviates the need for `allow(needless_collect)`
Removes a pessimistic allocation for empty strings, but increases
allocation size to `Value`
Probably not really worth it.
* Revert "Deal with `needless_collect` with annotations"
This reverts commit 05aca98445
.
The previous state seems to better from a performance perspective as a
`Vec<String>` is lighter weight than `Vec<Value>`
2022-10-24 20:12:16 +02:00
Darren Schroeder
a724a8fe7d
bump to dev version 0.70.1 ( #6814 )
2022-10-20 18:04:10 +13:00
JT
9ef65dcd69
Bump to 0.70 ( #6800 )
2022-10-19 07:13:36 +13:00
Darren Schroeder
23bba9935f
bump to dev version 0.69.2 ( #6635 )
2022-09-28 17:06:21 -05:00
JT
8a5abc7afc
bump to 0.69.1 ( #6631 )
2022-09-28 15:48:01 +13:00
JT
3beaca0d06
bump to 0.69 ( #6623 )
2022-09-28 07:14:31 +13:00
Stefan Holderbach
f7647584a3
Clippy with the current stable toolchain ( #6615 )
...
Fix lints that are coming with rust 1.64
Passes with the earlier toolchain from `rust-toolchain.toml` as well.
2022-09-26 19:29:25 +02:00
Justin Ma
4490e97a13
Bump dev version to v0.68.2 ( #6538 )
2022-09-12 08:29:39 +12:00
Justin Ma
c902d8bc0c
bump dev version to v0.68.1 ( #6504 )
2022-09-07 14:27:33 +12:00
JT
9273bb3f72
bump to 0.68 ( #6501 )
2022-09-07 06:29:01 +12:00
Justin Ma
4bbdb73668
Bump dev version ( #6350 )
2022-08-18 21:14:17 +12:00
JT
33674d3a98
bump to 0.67 ( #6336 )
2022-08-17 05:47:47 +12:00
Richard Braakman
6145f734b7
Add repository info to all workspace crates ( #6320 )
...
This helps people who find these crates on crates.io
2022-08-14 07:21:20 -05:00
Stefan Holderbach
c2f4969d4f
Clippy fix for Rust 1.63 ( #6299 )
...
Take more sensitive lints into account
Somewhat ugly in some cases is the replacement of `.get(0)` with
`.first()`
2022-08-11 11:54:54 -05:00
JT
121b801baa
bump dev version ahead of language changes ( #6267 )
2022-08-09 08:15:41 +12:00
Justin Ma
767201c40d
bump to 0.66.3 dev version ( #6183 )
2022-07-30 05:48:10 +12:00
JT
e049ca8ebf
bump to 0.66.2 dev version ( #6157 )
2022-07-28 11:38:52 +12:00
JT
d42cfab6ef
bump to 0.66.1 dev version ( #6140 )
2022-07-27 13:15:04 +12:00
JT
c6cb491e77
bump to 0.66 ( #6137 )
2022-07-27 07:56:14 +12:00
Justin Ma
de162c9aea
Bump to 0.65.1 dev version ( #5962 )
2022-07-06 16:25:09 +12:00
JT
0d40d0438f
bump to 0.65 ( #5952 )
2022-07-05 17:54:16 +12:00
JT
533e04a60a
Bump to 0.64.1 dev version ( #5865 )
2022-06-24 16:47:00 +12:00
JT
d1c719a8cc
bump to 0.64 ( #5777 )
...
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-06-15 14:39:17 +12:00
WindSoilder
8c74b1e437
print warning message if meet non utf-8 path ( #5731 )
2022-06-07 08:22:52 -05:00
Stefan Holderbach
e5d38dcff6
Address lints from clippy for beta/nightly ( #5709 )
...
* Fix clippy lints in tests
* Replace `format!` in `.push_str()` with `write!`
Stylistically that might be a bit rough but elides an allocation.
Fallibility of allocation is more explicit, but ignored with `let _ =`
like in the clippy example:
https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
* Remove unused lifetime
* Fix macro crate relative import
* Derive `Eq` for `PartialEq` with `Eq` members
https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
* Remove unnnecessary `.to_string()` for Cow<str>
* Remove `.to_string()` for `tendril::Tendril`
Implements `Deref<Target = str>`
2022-06-04 18:47:36 +12:00
WindSoilder
0769e9b750
make ls works better with glob ( #5691 )
...
* fix glob behavior
* fix doc
2022-05-30 19:13:27 -05:00
JT
8e98df8b28
bump to dev version ( #5635 )
2022-05-25 19:09:44 -05:00
JT
06cf3fa5ad
Bump to 0.63 ( #5627 )
2022-05-25 11:33:28 +12:00
pwygab
5bc9246f0f
Allow for test_iteration_errors to work when run as root ( #5609 )
...
* allow for test_iteration_errors to work when run as root
* Add comment to skip condition
Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2022-05-22 11:47:03 +02:00
Herlon Aguiar
3cef94ba39
nu-glob: add fs::symlink_metadata to detect broken symlinks ( #5537 )
...
* nu-glob: add fs::symlink_metadata to detect broken symlinks
* fix join result
2022-05-13 17:56:26 -07:00
JT
3a35bf7d4e
Add hooks to cli/repl ( #5479 )
...
* Add hooks to cli/repl
* Clippy
* Clippy
2022-05-09 07:28:39 +12:00
JT
374757f286
Bump to the 0.62.1 dev version ( #5473 )
2022-05-08 08:38:12 +12:00
JT
d306b834ca
Bump to 0.62 ( #5422 )
2022-05-04 09:01:27 +12:00
JT
5bf1c98a39
Move to dev version 0.61.1 ( #5206 )
2022-04-16 09:29:30 +12:00
JT
4566c904d0
Bump 0.61 ( #5166 )
2022-04-13 05:42:26 +12:00
JT
3a0eded0b8
Delete LICENSE
...
this is dual-licensed, there can't be just one LICENSE file
2022-04-08 21:51:25 +12:00
Michel Alexandre Salim
6ed033737d
Include license text in all crates ( #5094 )
...
* Include license text in all crates
Three crates already have license texts, so I'm keeping them, but
symlinking the `LICENSE` from the top level to the rest of the crate
directories. This works as long as `cargo publish` is done on a Unix-y
system and not Windows.
Also bump the copyright year to end in 2022.
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
* Replace symlinks
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-04-08 10:47:13 +02:00
Michael Angerman
82633e2df7
update nu-glob README ( #5037 )
2022-03-30 10:44:23 -07:00
JT
82e3bb0f38
Bump nushell to 0.60.1 ( #4987 )
2022-03-27 16:18:47 +13:00
Scott Boggs
71dd857926
Termux/Android target support for v0.60.0 ( #4956 )
...
* Add android as target os for procfs-based ps
* Turn off code for dealing with trash on platforms which are known to not support a standard trash protocol
* Update lib.rs
* Update lib.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-27 07:21:19 +13:00
JT
1c964cdfe7
Bump to 0.60 ( #4892 )
...
* WIP
* semi-revert metadata change
2022-03-23 07:32:03 +13:00
Darren Schroeder
18067138aa
created an alternate way to determine line count ( #4887 )
2022-03-21 11:56:14 -05:00
JT
ff3dffd813
Nu glob ( #4818 )
...
* Fork glob. Normalise license holder
* Fix more licenses
* unwraps
* bad doc test
2022-03-13 11:30:27 -07:00