Skip to content

Commit 8f202c5

Browse files
committed
vendor/random-access-disk
1 parent 3c94e2d commit 8f202c5

File tree

16 files changed

+1915
-0
lines changed

16 files changed

+1915
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"files":{"CERTIFICATE":"53a0a460f8eccb279580aa16013c5f98936eba73554d267632f5ea83d8e890b1","CHANGELOG.md":"6f0b92fa275c7be51128871ac654117550d87bd22c1625d749615219f0a8001c","Cargo.toml":"149837e57a711a21d300309abc64a5facf48d40fc956e8fd0dbdd5787780103a","LICENSE-APACHE":"40b135370517318ee023f4553b49453ab716f4277ccc7801beb3a44ec481c9fb","LICENSE-MIT":"a06326997c80661a79a99f66af7417f3420640323952c92afae69d5a4b7537ee","README.md":"0217852c66807c2141f2edca78d85c3a813aa05d2d97617595f75d837b6daf81","benches/sync.rs":"acfd7eae0ca6fb9b112c54412bc39c3a0462c806bc1fe48d506d951135275398","rustfmt.toml":"bd5701c9a978dcf1d7663447ca8aca21019a06cfe21f67863f459f80b8136f1a","src/default.rs":"703e0143e6403d5ae5513970f6ec0679b1e5db456674039d1efc6bc610976daf","src/lib.rs":"d5d36cd73bb0446e808ab119cd62212944ff119ad9c5026da9de33586e964094","src/unix.rs":"6bfe9b49960ff19c68f1d6923cedc3fd1c77083a12ac00047ab36660c61f94fa","src/windows.rs":"f60506ace025fc9c9b5e5eefb312773b9e63787bad6c373b0cae3a9b433779a2","tests/model.rs":"fd477a10b10e54512de55423b5dc8cb3a89c2207f5caf3941e2597e3d336c348","tests/regression.rs":"4167225be4010b41548ce53ecb69e219b17b52139925ca07aa4e07b0f821babc","tests/test.rs":"13beba957755a55061b4296cd33140991dca15848bcc62aef19513c93010df01"},"package":"cafc2a3edd8ab8da5389cfdb3ffcf4e0b67c9a1dc8456ddb2511f4c848b524f5"}

vendor/random-access-disk/CERTIFICATE

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Developer Certificate of Origin
2+
Version 1.1
3+
4+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
5+
1 Letterman Drive
6+
Suite D4700
7+
San Francisco, CA, 94129
8+
9+
Everyone is permitted to copy and distribute verbatim copies of this
10+
license document, but changing it is not allowed.
11+
12+
13+
Developer's Certificate of Origin 1.1
14+
15+
By making a contribution to this project, I certify that:
16+
17+
(a) The contribution was created in whole or in part by me and I
18+
have the right to submit it under the open source license
19+
indicated in the file; or
20+
21+
(b) The contribution is based upon previous work that, to the best
22+
of my knowledge, is covered under an appropriate open source
23+
license and I have the right under that license to submit that
24+
work with modifications, whether created in whole or in part
25+
by me, under the same open source license (unless I am
26+
permitted to submit under a different license), as indicated
27+
in the file; or
28+
29+
(c) The contribution was provided directly to me by some other
30+
person who certified (a), (b) or (c) and I have not modified
31+
it.
32+
33+
(d) I understand and agree that this project and the contribution
34+
are public and that a record of the contribution (including all
35+
personal information I submit with it, including my sign-off) is
36+
maintained indefinitely and may be redistributed consistent with
37+
this project or the open source license(s) involved.
Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
## 2020-03-03, Version 2.0.0
2+
### Commits
3+
- [[`e480856d06`](https://github.com/datrs/random-access-disk/commit/e480856d06af1357f33ef7bf826373c169df83d2)] (cargo-release) version 2.0.0 (Bruno Tavares)
4+
- [[`b0f1507868`](https://github.com/datrs/random-access-disk/commit/b0f15078689fbfd379aa249ff45bf28be54f2249)] Implement async API for random-access-storage (#37) (Bruno Tavares)
5+
- [[`4eb18f5045`](https://github.com/datrs/random-access-disk/commit/4eb18f50458df30da747cbef7380704d2c7791d1)] Update changelog (Bruno Tavares)
6+
7+
### Stats
8+
```diff
9+
CHANGELOG.md | 16 ++++-
10+
Cargo.toml | 7 +-
11+
README.md | 9 +--
12+
benches/sync.rs | 81 ++++++++++++---------
13+
src/lib.rs | 74 ++++++++++++-------
14+
tests/model.rs | 54 +++++++-------
15+
tests/regression.rs | 20 ++---
16+
tests/test.rs | 203 +++++++++++++++++++++++++++++------------------------
17+
8 files changed, 271 insertions(+), 193 deletions(-)
18+
```
19+
20+
21+
## 2020-03-03, Version 1.1.0
22+
### Commits
23+
- [[`7063f6fa47`](https://github.com/datrs/random-access-disk/commit/7063f6fa47dc7689e1d44055aa594845345f890f)] (cargo-release) version 1.1.0 (Bruno Tavares)
24+
- [[`218aab2629`](https://github.com/datrs/random-access-disk/commit/218aab2629ce76308c946c62b61078b749100c53)] From Failure into std::error::Error (#36) (Bruno Tavares)
25+
- [[`a8bfebeeb7`](https://github.com/datrs/random-access-disk/commit/a8bfebeeb7edda672783aeb9ab5fa9f9555e4b74)] Bump dependencies and fix travis (#35) (Bruno Tavares)
26+
27+
### Stats
28+
```diff
29+
.travis.yml | 8 +++++---
30+
CHANGELOG.md | 26 ++++++++++++++++++++++++++
31+
Cargo.toml | 8 ++++----
32+
src/lib.rs | 24 +++++++++++++-----------
33+
4 files changed, 48 insertions(+), 18 deletions(-)
34+
```
35+
36+
37+
## 2020-02-02, Version 1.0.0
38+
### Commits
39+
- [[`3de8d37a0c`](https://github.com/datrs/random-access-disk/commit/3de8d37a0c33bc15874de8870734bbdd07a8b24c)] 1.0.0 (substack)
40+
- [[`2fca3428a6`](https://github.com/datrs/random-access-disk/commit/2fca3428a6ca6e484c5b31c8b62422553641731e)] Merge pull request #28 from bltavares/bump-deps (Szabolcs Berecz)
41+
- [[`bebe8b4a2c`](https://github.com/datrs/random-access-disk/commit/bebe8b4a2c95dcd6d19c54ceb2fe854799af4ea4)] Update code to editio 2018 (Bruno Tavares)
42+
- [[`310dd8a5d7`](https://github.com/datrs/random-access-disk/commit/310dd8a5d79e2edcfbded8cb48a17c5949c6b276)] Bump random-access-storage to 3.0.0 (Bruno Tavares)
43+
- [[`95c3dad271`](https://github.com/datrs/random-access-disk/commit/95c3dad2715ade75c18337bb72f109573c9c08e3)] updated to use u64 (substack)
44+
- [[`1d884a4432`](https://github.com/datrs/random-access-disk/commit/1d884a443232528c2a0a9e03901cb12eca137ac1)] sync_all implementation (substack)
45+
- [[`bd9d0f6a86`](https://github.com/datrs/random-access-disk/commit/bd9d0f6a869d9f8225ae8582a5bfe5db6ca52578)] Update mkdirp requirement from 0.1.0 to 1.0.0 (dependabot-preview[bot])
46+
- [[`f9b34735e7`](https://github.com/datrs/random-access-disk/commit/f9b34735e79020ff2f39bef510026f5cf8bf02b3)] Update quickcheck requirement from 0.7.2 to 0.8.0 (dependabot[bot])
47+
- [[`4785a3dfa5`](https://github.com/datrs/random-access-disk/commit/4785a3dfa5aed164df833eafaeef4edda0dfd2c4)] Update changelog (Yoshua Wuyts)
48+
49+
### Stats
50+
```diff
51+
CHANGELOG.md | 16 ++++++-
52+
Cargo.toml | 25 ++++-----
53+
fuzz/Cargo.toml | 1 +-
54+
fuzz/fuzz_targets/fuzz_target_1.rs | 6 +--
55+
src/lib.rs | 109 ++++++++++++++++++++++++--------------
56+
tests/model.rs | 34 ++++--------
57+
tests/regression.rs | 5 +--
58+
tests/test.rs | 82 +++++++++++++++++++++++++++--
59+
8 files changed, 194 insertions(+), 84 deletions(-)
60+
```
61+
62+
63+
## 2018-12-20, Version 0.8.0
64+
### Commits
65+
- [[`c7cdc2d39a`](https://github.com/datrs/random-access-disk/commit/c7cdc2d39a7d92103f7125c28d2451ecf6272578)] (cargo-release) version 0.8.0 (Yoshua Wuyts)
66+
- [[`65bffdf0b8`](https://github.com/datrs/random-access-disk/commit/65bffdf0b8ef6d7b37a89b9ef498fb62a24a2e25)] len() and is_empty() implementation (#21) (James Halliday)
67+
- [[`e6733d9273`](https://github.com/datrs/random-access-disk/commit/e6733d92734e42881ca5f90228eef96883b005a7)] Update changelog (Yoshua Wuyts)
68+
69+
### Stats
70+
```diff
71+
CHANGELOG.md | 22 ++++++++++++++++++++++
72+
Cargo.toml | 4 ++--
73+
src/lib.rs | 8 ++++++++
74+
tests/test.rs | 38 ++++++++++++++++++++++++++++++++++++++
75+
4 files changed, 70 insertions(+), 2 deletions(-)
76+
```
77+
78+
79+
## 2018-11-21, Version 0.7.0
80+
### Commits
81+
- [[`9059d4f552`](https://github.com/datrs/random-access-disk/commit/9059d4f5524f16f52badff98a92e4b7db308a2d0)] (cargo-release) version 0.7.0 (Yoshua Wuyts)
82+
- [[`791e3fd8ee`](https://github.com/datrs/random-access-disk/commit/791e3fd8ee1fd7af387119e734fd498074fc8c33)] update travis (Yoshua Wuyts)
83+
- [[`4e33df9813`](https://github.com/datrs/random-access-disk/commit/4e33df981357474f1e986e3fef63f5b4397efad0)] truncate implementation with tests (#18) (James Halliday)
84+
- [[`4098c2d35d`](https://github.com/datrs/random-access-disk/commit/4098c2d35dd570d635a890656925ae898e8e9e05)] Update rand requirement from 0.5.5 to 0.6.0 (#17) (dependabot[bot])
85+
- [[`9083d3cfb0`](https://github.com/datrs/random-access-disk/commit/9083d3cfb08069541a146f7e12e6af06c97354c0)] Update quickcheck requirement from 0.6.2 to 0.7.1 (#15) (dependabot[bot])
86+
- [[`928fe1afaf`](https://github.com/datrs/random-access-disk/commit/928fe1afaf95453a00bb7754bb7ff91e08fe5689)] Run clippy on travis (#14) (Szabolcs Berecz)
87+
- [[`07fa83dd28`](https://github.com/datrs/random-access-disk/commit/07fa83dd2882d0b6868378e7a9599572693e035e)] update changelog (Yoshua Wuyts)
88+
89+
### Stats
90+
```diff
91+
.travis.yml | 23 ++++++++++---------
92+
CHANGELOG.md | 21 ++++++++++++++++++-
93+
Cargo.toml | 11 ++++-----
94+
src/lib.rs | 10 +++++++-
95+
tests/model.rs | 2 ++-
96+
tests/test.rs | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
97+
6 files changed, 121 insertions(+), 16 deletions(-)
98+
```
99+
100+
101+
## 2018-08-30, Version 0.6.0
102+
### Commits
103+
- [[`1070eb3166`](https://github.com/datrs/random-access-disk/commits/1070eb31665c3578842997557af292a9e702a033)] (cargo-release) version 0.6.0 (Yoshua Wuyts)
104+
- [[`fb9ee81c81`](https://github.com/datrs/random-access-disk/commits/fb9ee81c81043619ecf6ea3a5d670373248cd677)] Random access always open (#13) (Szabolcs Berecz)
105+
- [[`0a18b10972`](https://github.com/datrs/random-access-disk/commits/0a18b109722c73f7385f77fe7fb7c2d118f7bcae)] replace tempdir crate (deprecated) with tempfile crate, using tempfile::Builder to create a tempdir (#12) (Jacob Burden)
106+
- [[`254d3ccf77`](https://github.com/datrs/random-access-disk/commits/254d3ccf7789e615a46815c0e43f0892aab96eff)] update changelog (Yoshua Wuyts)
107+
108+
### Stats
109+
```diff
110+
.travis.yml | 1 +-
111+
CHANGELOG.md | 26 ++++++++++++++++++++++++-
112+
Cargo.toml | 6 ++---
113+
benches/sync.rs | 29 +++++++++++++++++++--------
114+
src/lib.rs | 59 +++++++++++++++++++++++++-----------------------------
115+
tests/model.rs | 10 +++++----
116+
tests/regression.rs | 16 ++++++++++-----
117+
tests/test.rs | 35 +++++++++++++++++++++-----------
118+
8 files changed, 120 insertions(+), 62 deletions(-)
119+
```
120+
121+
122+
## 2018-08-23, Version 0.5.0
123+
### Commits
124+
- [[`647536ba06`](https://github.com/datrs/random-access-disk/commits/647536ba06ab55f810c7981e60d68481ec55044c)] (cargo-release) version 0.5.0 (Yoshua Wuyts)
125+
- [[`556d70f09a`](https://github.com/datrs/random-access-disk/commits/556d70f09a0b23cf15107442f9cefec7669ad463)] upgrade random-access-storage (#9)
126+
- [[`61af2acc13`](https://github.com/datrs/random-access-disk/commits/61af2acc135456d39eb05b92e1ad3a20e790e53c)] Fix typo in crates.io link (#10)
127+
(tomasol)
128+
- [[`64f674e8e9`](https://github.com/datrs/random-access-disk/commits/64f674e8e9b7377b209775e5bf31238f6be213cb)] Rename Sync -> RandomAccessDisk in README.md (#11)
129+
(tomasol)
130+
- [[`1860e0ce4d`](https://github.com/datrs/random-access-disk/commits/1860e0ce4d8b0de8fce189beaaad549d79b3d40f)] rm unused src/syc file (Yoshua Wuyts)
131+
- [[`e5089b73ff`](https://github.com/datrs/random-access-disk/commits/e5089b73ffc2a75210fa2c2fab52ee0050486ec6)] fix rustfmt in travis.yml (Yoshua Wuyts)
132+
- [[`7a4448f454`](https://github.com/datrs/random-access-disk/commits/7a4448f454bcc57f158d6c360a5d82727a6a74e9)] remove &* calls (Yoshua Wuyts)
133+
- [[`522cd4219e`](https://github.com/datrs/random-access-disk/commits/522cd4219e8bfd37cb3403f1100d6024f5367f2b)] (cargo-release) start next development iteration 0.4.1-alpha.0 (Yoshua Wuyts)
134+
135+
### Stats
136+
```diff
137+
.travis.yml | 2 +-
138+
Cargo.toml | 4 +-
139+
README.md | 4 +-
140+
src/lib.rs | 26 +++++++++-----
141+
src/sync.rs | 105 +----------------------------------------------------------
142+
tests/model.rs | 5 +--
143+
tests/test.rs | 5 +---
144+
7 files changed, 26 insertions(+), 125 deletions(-)
145+
```
146+
147+

vendor/random-access-disk/Cargo.toml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2+
#
3+
# When uploading crates to the registry Cargo will automatically
4+
# "normalize" Cargo.toml files for maximal compatibility
5+
# with all versions of Cargo and also rewrite `path` dependencies
6+
# to registry (e.g., crates.io) dependencies.
7+
#
8+
# If you are reading this file be aware that the original Cargo.toml
9+
# will likely look very different (and much more reasonable).
10+
# See Cargo.toml.orig for the original contents.
11+
12+
[package]
13+
edition = "2021"
14+
name = "random-access-disk"
15+
version = "3.0.0"
16+
authors = [
17+
"Yoshua Wuyts <[email protected]>",
18+
"Timo Tiuraniemi <[email protected]>",
19+
]
20+
description = "Continuously read and write to disk, using random offsets and lengths"
21+
documentation = "https://docs.rs/random-access-disk"
22+
readme = "README.md"
23+
license = "MIT OR Apache-2.0"
24+
repository = "https://github.com/datrs/random-access-disk"
25+
26+
[[bench]]
27+
name = "sync"
28+
harness = false
29+
30+
[dependencies.async-std]
31+
version = "1.12.0"
32+
optional = true
33+
34+
[dependencies.async-trait]
35+
version = "0.1"
36+
37+
[dependencies.libc]
38+
version = "0.2"
39+
optional = true
40+
41+
[dependencies.mkdirp]
42+
version = "1.0.0"
43+
44+
[dependencies.random-access-storage]
45+
version = "5.0.0"
46+
47+
[dependencies.tokio]
48+
version = "1.27.0"
49+
features = [
50+
"fs",
51+
"io-util",
52+
]
53+
optional = true
54+
55+
[dev-dependencies.async-std]
56+
version = "1.12.0"
57+
features = ["attributes"]
58+
59+
[dev-dependencies.criterion]
60+
version = "0.4"
61+
features = [
62+
"async_std",
63+
"async_tokio",
64+
]
65+
66+
[dev-dependencies.proptest]
67+
version = "1.1.0"
68+
69+
[dev-dependencies.proptest-derive]
70+
version = "0.2.0"
71+
72+
[dev-dependencies.tempfile]
73+
version = "3.1.0"
74+
75+
[dev-dependencies.tokio]
76+
version = "1.25.0"
77+
features = [
78+
"macros",
79+
"rt",
80+
"rt-multi-thread",
81+
]
82+
83+
[dev-dependencies.tokio-test]
84+
version = "0.4"
85+
86+
[features]
87+
default = [
88+
"sparse",
89+
"async-std",
90+
]
91+
sparse = ["libc"]
92+
93+
[target."cfg(windows)".dependencies.winapi]
94+
version = "0.3.9"
95+
features = [
96+
"ioapiset",
97+
"winioctl",
98+
]

0 commit comments

Comments
 (0)