<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lan-mouse/src/config.rs, branch lan-mouse-cli-v0.3.0</title>
<subtitle>a fork</subtitle>
<id>https://git.nsrddyn.com/lan-mouse/atom/src/config.rs?h=lan-mouse-cli-v0.3.0</id>
<link rel='self' href='https://git.nsrddyn.com/lan-mouse/atom/src/config.rs?h=lan-mouse-cli-v0.3.0'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/'/>
<updated>2026-06-08T12:38:24Z</updated>
<entry>
<title>remaining feature flags (#444)</title>
<updated>2026-06-08T12:38:24Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2026-06-08T12:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=1b53e58ba969c03e985ff2d7144eab1698bb9d47'/>
<id>urn:sha1:1b53e58ba969c03e985ff2d7144eab1698bb9d47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: write a default config.toml on every Config::new()</title>
<updated>2026-04-29T20:59:43Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-04-24T07:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=cbdb86ce0568eec65c480345c3098dd7c65cbd1d'/>
<id>urn:sha1:cbdb86ce0568eec65c480345c3098dd7c65cbd1d</id>
<content type='text'>
The previous fix created the config directory but left config.toml
absent on a first launch, which surfaced as two "No such file or
directory (os error 2)" warnings (one from the main process, one
from the spawned daemon child) and left the app starting up with
config_toml=None until the GUI persisted something.

Write ConfigToml::default() to the path if it doesn't exist, so
every entry point — GUI main, spawned daemon, CLI, test commands
— gets a concrete file to read, and first-launch logs stay clean.

Also reorders Config::new() so both the directory creation and the
file bootstrap run before the first read attempt, eliminating the
warning at the source rather than hiding it.

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>fix: create ~/.config/lan-mouse/ on first launch</title>
<updated>2026-04-29T20:59:43Z</updated>
<author>
<name>Jon Kinney</name>
<email>jonkinney@gmail.com</email>
</author>
<published>2026-04-24T07:08:59Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=c40e10505bad296b5e69a65334a3a81c587c0a4b'/>
<id>urn:sha1:c40e10505bad296b5e69a65334a3a81c587c0a4b</id>
<content type='text'>
notify::Watcher fails on macOS if the config directory doesn't
exist. Create it with create_dir_all before calling config.watch().

Co-Authored-By: Claude Opus 4.7 (1M context) &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>automatically update config when changed (#402)</title>
<updated>2026-04-09T10:04:21Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2026-04-09T10:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=a878c985f0633a12b00a363883fd56385c2368e7'/>
<id>urn:sha1:a878c985f0633a12b00a363883fd56385c2368e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: config initialization in authorize</title>
<updated>2026-04-08T15:43:25Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinand.schober@fau.de</email>
</author>
<published>2026-04-08T15:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=aef05f386f5dd4d7e5c4fd0fb4e25477cef0613a'/>
<id>urn:sha1:aef05f386f5dd4d7e5c4fd0fb4e25477cef0613a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clear config, when unable to parse</title>
<updated>2026-02-08T12:27:38Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2026-02-08T12:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=8e96025f124ef161eb4b1dba402727c7f9c96868'/>
<id>urn:sha1:8e96025f124ef161eb4b1dba402727c7f9c96868</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix crash when config file does not exist</title>
<updated>2026-02-08T12:23:29Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2026-02-08T12:23:29Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=f01459b2a830282023fb10eee40b475297bf130d'/>
<id>urn:sha1:f01459b2a830282023fb10eee40b475297bf130d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Save config (#345)</title>
<updated>2026-02-07T17:36:07Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2026-02-07T17:36:07Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=648b2b58a4209a67e1542b700a0b2330660db87e'/>
<id>urn:sha1:648b2b58a4209a67e1542b700a0b2330660db87e</id>
<content type='text'>
* add setters for clients and authorized keys

* impl change config request

* basic saving functionality

* save config automatically

* add TODO comment</content>
</entry>
<entry>
<title>Add rustfmt.toml for explicit styling (#348)</title>
<updated>2025-11-02T10:52:01Z</updated>
<author>
<name>NeoTheFox</name>
<email>soniczerops@gmail.com</email>
</author>
<published>2025-11-02T10:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=3f13714d8a68e5600cf2c82977f6ce358d60ba42'/>
<id>urn:sha1:3f13714d8a68e5600cf2c82977f6ce358d60ba42</id>
<content type='text'>
* Propose an explicit .rustfnt.toml
Use 2024 style, 4 spaces for tabs and epand the default width a tad

* Auto-format the existing code with new rules</content>
</entry>
<entry>
<title>clients should not be mandatory in configuration (#285)</title>
<updated>2025-04-01T11:22:08Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2025-04-01T11:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=5a3a21c2c02df1af3722a4148c0dcd776aa8a411'/>
<id>urn:sha1:5a3a21c2c02df1af3722a4148c0dcd776aa8a411</id>
<content type='text'>
closes #284</content>
</entry>
</feed>
