<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse/tokenize.rs, branch arti-v1.8.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-10T19:30:48Z</updated>
<entry>
<title>tor-netdoc: Introduce "encode" feature for the like-named module</title>
<updated>2025-11-10T19:30:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T18:04:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31f1e62db6dea15bb325cb3d3477282ca8512829'/>
<id>urn:sha1:31f1e62db6dea15bb325cb3d3477282ca8512829</id>
<content type='text'>
We're going to introduce facilities for encoding more generally, and
we'll want a way to enable them.

Instead, have a separate feature for *encoding* documents.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-netdoc: Expose base64_decode_multiline to crate</title>
<updated>2025-08-14T10:54:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-08-06T13:27:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0373750831823e603b3ae35cf3ea64e68a95a61e'/>
<id>urn:sha1:0373750831823e603b3ae35cf3ea64e68a95a61e</id>
<content type='text'>
The new parser is going to reuse this.
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>Update code for Edition 2024</title>
<updated>2025-08-07T15:28:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-07T12:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0453fb4be8cf618b94230812957ce1db1afe74bd'/>
<id>urn:sha1:0453fb4be8cf618b94230812957ce1db1afe74bd</id>
<content type='text'>
1. Run cargo fix --edition

2. Selectively revert the "if let"-&gt;"match" changes.
   These changes are meant to protect us from the lifetime changes
   for "if let" bindings in Rust 2024.
   But we're not actually relying on the old lifetime rules
   anywhere, and the match syntax here is quite ugly.

3. Automatically revert `$pat:expr_2021` to `$pat:expr`.
   (We don't actually want to restrict the expression syntax
   that our macros accept).
   Done with
   `git grep -l expr_2021 | xargs perl -i -pe 's/expr_2021/expr/g;'`

4. Run cargo fmt.
</content>
</entry>
<entry>
<title>netdoc: disallow extraneous space within final signature item</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-18T14:03:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f088d8580833695ced0d61deedef75f82b53942'/>
<id>urn:sha1:3f088d8580833695ced0d61deedef75f82b53942</id>
<content type='text'>
Part of proposal 360.
</content>
</entry>
<entry>
<title>netdoc: Fix Item::end_pos() behavior, and add tests.</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-18T13:04:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f310d6e052ee695e32086000fccd8a31c8eaf3a'/>
<id>urn:sha1:6f310d6e052ee695e32086000fccd8a31c8eaf3a</id>
<content type='text'>
Previously it didn't include end-of-line space, even though the docs
said it did.
</content>
</entry>
<entry>
<title>Add test to enforce parser behavior wrt start-of-line space.</title>
<updated>2025-07-10T13:41:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-17T15:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5790730aae99a4d9836dc51ee67800d62b2f707'/>
<id>urn:sha1:a5790730aae99a4d9836dc51ee67800d62b2f707</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: use more idiomatic rust</title>
<updated>2025-04-03T17:36:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-03T17:36:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34b082ad55ae45d8ba9c96e3a255289b9ead0d57'/>
<id>urn:sha1:34b082ad55ae45d8ba9c96e3a255289b9ead0d57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: fix `clippy::len_zero`</title>
<updated>2025-04-03T17:32:58Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-03T17:24:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5e8d0021dc3fdecc20bfdd35cb64282dda58e261'/>
<id>urn:sha1:5e8d0021dc3fdecc20bfdd35cb64282dda58e261</id>
<content type='text'>
```text
warning: length comparison to one
   --&gt; crates/tor-netdoc/src/parse/tokenize.rs:470:12
    |
470 |         if args.len() &gt;= 1 {
    |            ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!args.is_empty()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
note: the lint level is defined here
   --&gt; crates/tor-netdoc/src/lib.rs:9:9
    |
9   | #![warn(clippy::all)]
    |         ^^^^^^^^^^^
    = note: `#[warn(clippy::len_zero)]` implied by `#[warn(clippy::all)]`
```
</content>
</entry>
</feed>
