<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fslock-guard/Cargo.toml, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-08-03T19:48:24Z</updated>
<entry>
<title>Bump versions for crates with non-functional changes</title>
<updated>2026-08-03T19:48:24Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-08-03T19:48:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6b9ec7ca47501c26a7974e050b81d9ae4f49cb1d'/>
<id>urn:sha1:6b9ec7ca47501c26a7974e050b81d9ae4f49cb1d</id>
<content type='text'>
```bash
bump=(caret equix fs-mistrust fslock-guard futures-copy oneshot-fused-workaround retry-error safelog slotmap-careful test-temp-dir web-time-compat)
./maint/bump-nodep "${bump[@]}"
```
</content>
</entry>
<entry>
<title>Version bumps for 2.5.0</title>
<updated>2026-06-30T13:42:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-06-30T13:42:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=245b03f5a48b4e58f8c84f072920160fc87be500'/>
<id>urn:sha1:245b03f5a48b4e58f8c84f072920160fc87be500</id>
<content type='text'>
Closes #2617.

We've lucked out this time, and it turns out that every one of our
published crates gets a minor bump.  So this was generated with:

```
for cr in $(./maint/list-crates); do
   cargo set-version -p $cr --bump minor
done
```
</content>
</entry>
<entry>
<title>Bump MSRV to 1.91</title>
<updated>2026-06-15T13:18:11Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-15T12:59:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e93e0e2f9f42f526a8e1aa64e6ea659ef31dd800'/>
<id>urn:sha1:e93e0e2f9f42f526a8e1aa64e6ea659ef31dd800</id>
<content type='text'>
This commit bumps the MSRV to 1.91 which was released on 2025-10-30.

The Cargo.toml files were updated as follows:
```sh
git ls-files | \
    grep ".*Cargo\.toml$" | \
    xargs sed -i '' 's/^rust-version = "1\.89"$/rust-version = "1\.91"/g'
```

The following files were updated manually:
```
	modified:   .gitlab-ci.yml
	modified:   README.md
	modified:   flake.nix
	modified:   maint/docker-android/Dockerfile
```
</content>
</entry>
<entry>
<title>Bump the versions of the non-{arti-,tor-} crates</title>
<updated>2026-06-01T16:30:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-06-01T16:30:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d480c7653c219e019ad3f2387dfdce7f6d85e4d3'/>
<id>urn:sha1:d480c7653c219e019ad3f2387dfdce7f6d85e4d3</id>
<content type='text'>
The non-{arti-,tor-} crates are:
```
./maint/list-crates  | rg -v '^(tor|arti)'
oneshot-fused-workaround
web-time-compat
slotmap-careful
test-temp-dir
fslock-guard
hashx
equix
caret
fs-mistrust
safelog
retry-error
futures-copy
```

We split them in the following categories:
  * crates with no changes (no version bumps):

    ```
     oneshot-fused-workaround: No change.
     web-time-compat: No change.
     slotmap-careful: No change.
     test-temp-dir: No change.
     caret: No change.
     safelog: No change.
     retry-error: No change.
     futures-copy: No change.
    ```

    Obtained with:
    ```
    maint/changed-crates -v "arti-v$LAST_VERSION" 2&gt;&amp;1 &gt;/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-'
    ```

  * crates that only have non-functional changes (bump the patch version,
    but not the dependend-on version):
    - equix

  * crates where functional changes were made, but no APIs were broken
    (bump patch):
    - fs-mistrust

  * crates where APIs were broken (bump minor):
    - hashx
    - fslock-guard

The bumps from this commit were created using this script:

```
PATCH_NF=(
equix
)

PATCH="
fs-mistrust
"

MINOR="
hashx
fslock-guard
"

./maint/bump-nodep "${PATCH_NF[@]}"

for crate in $PATCH; do
    cargo set-version --bump patch -p $crate;
done

for crate in $MINOR; do
    cargo set-version --bump minor -p $crate;
done
```
</content>
</entry>
<entry>
<title>fslock-guard: Provide specialized android impls.</title>
<updated>2026-05-28T14:47:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-27T18:39:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=826ab5ec80f82326dc75979db3b0654bdb137d79'/>
<id>urn:sha1:826ab5ec80f82326dc75979db3b0654bdb137d79</id>
<content type='text'>
We need these because `File::lock()` and `File::try_lock()`
claim not to work on Android, and have to be emulated with flock.
For more information, see
&lt;https://github.com/rust-lang/rust/issues/148325&gt;.

Closes #2544.

Based on code by @syphyr.

Co-Authored-By: syphyr &lt;syphyr@gmail.com&gt;
</content>
</entry>
<entry>
<title>fslock-guard: Use windows-sys and GetFileInformationByHandleEx.</title>
<updated>2026-05-12T17:23:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-06T17:41:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39ba5597344f687ad5d7a98222a77f7e73dbce96'/>
<id>urn:sha1:39ba5597344f687ad5d7a98222a77f7e73dbce96</id>
<content type='text'>
Unlike winapi, windows-sys is maintained (by microsoft),
and supports more APIs.  We use it elsewhere in our tree,
but this was our largest usae of winapi.

The GetFileInformationByHandleEx variant includes an
explicit buffer size to make errors harder,
and enables us to get a 128-bit file identifier,
which is (supposedly) even more unique than the 64-bit
identifiers we were looking at before.
</content>
</entry>
<entry>
<title>fslock-guard: add a fileapi feature dep for winapi</title>
<updated>2026-05-11T13:10:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-11T13:10:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=534f3df9f9659d3881ec09f9d438aa8a85f9eab0'/>
<id>urn:sha1:534f3df9f9659d3881ec09f9d438aa8a85f9eab0</id>
<content type='text'>
With dropping the fslock crate, we lost this feature flag from _its_
use of winapi.
</content>
</entry>
<entry>
<title>fslock-guard: Remove fslock dependency.</title>
<updated>2026-05-06T19:28:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-06T16:57:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ce78b7ab7032345d8b3dac2f723a8faa4e9ad66a'/>
<id>urn:sha1:ce78b7ab7032345d8b3dac2f723a8faa4e9ad66a</id>
<content type='text'>
We can do this since our msrv is now 1.89.0, where
File::lock is supported.
</content>
</entry>
<entry>
<title>Bump the versions of the non-{arti-,tor-} crates</title>
<updated>2026-03-02T17:36:23Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-02T17:36:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d45c09c8e808c90c4fcb5416fd52c3c138b4871a'/>
<id>urn:sha1:d45c09c8e808c90c4fcb5416fd52c3c138b4871a</id>
<content type='text'>
The non-{arti-,tor-} crates are:
```
./maint/list-crates  | rg -v '^(tor|arti)'
oneshot-fused-workaround
slotmap-careful
test-temp-dir
fslock-guard
hashx
equix
caret
fs-mistrust
safelog
retry-error
futures-copy
```

Because this release bumps the MSRV, I am bumping the minor version of all of
them.

MINOR="
oneshot-fused-workaround
slotmap-careful
test-temp-dir
fslock-guard
hashx
equix
caret
fs-mistrust
safelog
retry-error
futures-copy
"

for crate in $MINOR; do
    cargo set-version --bump minor -p $crate;
done
```
</content>
</entry>
<entry>
<title>Bump MSRV from 1.86 to 1.89</title>
<updated>2026-02-16T15:22:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-09T11:29:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c48a2ba6771016e7c57f02cfb99d62c3e5b34bc4'/>
<id>urn:sha1:c48a2ba6771016e7c57f02cfb99d62c3e5b34bc4</id>
<content type='text'>
As agreed at our last team meeting.

See
https://gitlab.torproject.org/tpo/core/arti/#minimum-supported-rust-version
</content>
</entry>
</feed>
