Michal Budzynski
6a031649b9
Added categories to Cargo.toml
2017-06-26 19:29:57 -04:00
Michal Budzynski
8d2b9840b4
Renamed Iter to IntoIter
2017-06-26 19:29:19 -04:00
mcharsley
c43a71f536
Added contents_first option ( #19 )
...
Added contents_first option
Added ability to yield the contents of the directory before the
directory itself
Fixes #18
2017-05-08 19:03:58 -04:00
Petr Zemek
9f25bb2ec7
Fix typos in comments.
...
"ergnomics" -> "ergonomics"
2017-03-20 15:02:07 -04:00
Andrew Gallant
81438507f0
1.0.7
1.0.7
2017-01-08 21:40:26 -05:00
Andrew Gallant
d25d673a0a
bump same-file dep to 0.1.1
2017-01-08 21:40:24 -05:00
Andrew Gallant
98859917e2
1.0.6
1.0.6
2017-01-08 20:39:53 -05:00
Andrew Gallant
6a49e22bd2
Expose inode number on DirEntry.
...
This passes through the inode number from fs::DirEntry.
2017-01-08 20:39:36 -05:00
Andrew Gallant
9695bbc3e0
1.0.5
1.0.5
2017-01-08 19:12:55 -05:00
Andrew Gallant
88566c4eb4
Use new same-file crate.
...
This replaces the homegrown `is_same_file` implementation with a
reusable implementation from an external crate.
2017-01-08 19:12:48 -05:00
Andrew Gallant
c2bbd8e796
tweak when CI runs
2017-01-08 18:03:20 -05:00
Andrew Gallant
0cff94002b
Fix minimum Rust version.
...
Standard practice is to support two previous Rust releases. When walkdir
1.0.0 was released, Rust 1.12 had just come out. So support back to
1.10.
2017-01-08 16:20:43 -05:00
Andrew Gallant
dd51eec35c
1.0.4
1.0.4
2017-01-08 12:42:03 -05:00
Andrew Gallant
e9b3c586e2
Merge pull request #17 from BurntSushi/cleanup
...
Various Windows related cleanups.
2017-01-08 12:41:46 -05:00
Andrew Gallant
6bc65dd367
Various Windows related cleanups.
...
This modifies some of the test infrastructure so that more tests can
work on Windows. Specifically, we can now write tests that use symlinks
and still run on Windows.
We also clean up the implementation of `is_same_file` by reusing
types/functions from the kernel32 and winapi crates. Also, add a few
tests for this function.
2017-01-08 12:33:16 -05:00
Andrew Gallant
77fcf15126
1.0.3
1.0.3
2016-12-05 20:02:47 -05:00
Andrew Gallant
658f4148a7
Merge pull request #15 from BurntSushi/fix-root-symlink
...
Fix bug reading root symlink.
2016-12-05 20:02:27 -05:00
Andrew Gallant
373278952f
Fix bug reading root symlink.
...
When given a root like `foo` where `foo` is a symlink, it should always
be followed. This behavior is consistent with `foo/`, which will also be
followed.
See also: https://github.com/BurntSushi/ripgrep/issues/256
2016-12-05 19:53:43 -05:00
Andrew Gallant
a36d60f423
1.0.2
1.0.2
2016-11-24 10:15:15 -05:00
Andrew Gallant
c40025c5f3
Use docs.rs in documentation link.
...
Fixes #14
2016-11-24 10:14:59 -05:00
Andrew Gallant
6ed0173e51
Merge pull request #12 from Ryman/old-bugref
...
Remove reference to a bug which has been fixed
2016-10-31 19:12:59 -04:00
Kevin Butler
da8c02d4d5
Remove reference to a bug which has been fixed
...
Since the minimum supported rustc version has this fix[1] we can
remove the reference.
[1] https://github.com/rust-lang/rust/pull/31630
2016-10-31 22:52:13 +00:00
Andrew Gallant
f03bbd3254
1.0.1
1.0.1
2016-10-29 12:32:39 -04:00
Andrew Gallant
15e2fb761e
update Cargo.toml directions
2016-10-29 12:32:38 -04:00
Andrew Gallant
29c86b2fd5
1.0.0
1.0.0
2016-10-29 12:31:58 -04:00
Andrew Gallant
5ecbde1679
update readme
2016-10-29 12:30:11 -04:00
Andrew Gallant
442cc23183
Bump minimum Rust version.
2016-10-29 12:28:31 -04:00
Andrew Gallant
737af4f2d5
Expose is_same_file
function.
...
A case could be made for splitting this out into a separate crate,
but I'm fine with keeping it part of walkdir for now.
2016-10-29 12:28:02 -04:00
Andrew Gallant
47271fba42
Merge pull request #7 from azdle/master
...
only depend on windows deps on windows
2016-10-29 12:27:46 -04:00
Andrew Gallant
790b7a5fe2
0.1.8
0.1.8
2016-09-16 17:54:53 -04:00
Andrew Gallant
7b73fde972
Stop storing the underlying fs::DirEntry.
...
An fs::DirEntry is in fact quite large---over 256 bytes. This results in
a lot of time spent memmoving it around.
This does result in a small performance regression on Windows for callers
that ask for the `metadata` of a directory entry.
2016-09-16 17:54:43 -04:00
Andrew Gallant
66e9c057b5
0.1.7
0.1.7
2016-09-16 10:32:43 -04:00
Andrew Gallant
9360266301
Force internal iterator to inline.
2016-09-16 10:32:25 -04:00
Andrew Gallant
585ef59ab0
0.1.6
0.1.6
2016-08-30 20:18:47 -04:00
Andrew Gallant
2a77048838
When was #![no_std] stabilized?
2016-08-30 20:16:43 -04:00
Andrew Gallant
e7f94359c3
Bump Rust version.
...
walkdir should in theory still work on Rust 1.3, but lazy_static
doesn't, and it's used transitively in tests.
2016-08-30 20:11:18 -04:00
Andrew Gallant
3fa7b1b2f0
Fix bug with sort_by.
...
The bug was an over-eager `panic!` to catch a case that shouldn't happen.
In fact, it's OK if it does happen. Add a regression test.
2016-08-30 20:07:56 -04:00
Andrew Gallant
0b829d7160
Merge pull request #6 from vandenoever/sort
...
Add ability to sort the walked entries
2016-08-02 16:59:32 -04:00
Jos van den Oever
28c1fc7207
Add ability to sort the walked entries
...
This adds a test and extends the walkdir example with --sort.
A simple benchmark on a directory with one million files (warm cache) shows:
walkdir ~ 2.0s
walkdir --sort ~ 2.8s
walkdir ~ | sort 19.5s
2016-08-02 22:44:05 +02:00
Patrick Barrett
7fc4ba589e
only depend on windows deps on windows
2016-06-13 22:09:13 -05:00
Andrew Gallant
29d4ea950b
0.1.5
0.1.5
2015-11-07 21:02:59 -05:00
Andrew Gallant
b110cd8454
bump kernel32-sys
2015-11-07 21:02:58 -05:00
Andrew Gallant
6d98d0be72
0.1.4
0.1.4
2015-11-05 18:24:02 -05:00
Andrew Gallant
bdd4893e65
Remove libc in favor of winapi.
2015-11-05 18:23:58 -05:00
Andrew Gallant
69cb16c7fa
s/$HOME/$DIR/ in most places
2015-09-27 09:19:41 -04:00
Andrew Gallant
457ed4ee8d
0.1.3
0.1.3
2015-09-27 01:47:12 -04:00
Andrew Gallant
4c44dae474
use svg
2015-09-27 01:45:48 -04:00
Andrew Gallant
cbc03fb7d9
add appveyor badge
2015-09-27 01:44:56 -04:00
Andrew Gallant
9eb2abd4bb
update docs
2015-09-27 01:41:58 -04:00
Andrew Gallant
b5c643ae36
0.1.2
0.1.2
2015-09-27 01:27:24 -04:00