mirror of
https://github.com/JakeStanger/universal-config-rs.git
synced 2026-07-11 12:15:59 +01:00
[GH-ISSUE #10] no method name save found for struct ConfigLoader #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/universal-config-rs#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wonderbrian on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/JakeStanger/universal-config-rs/issues/10
When running
cargo install mpd-discord-rpcI get the following errorerror[E0599]: no method namedsavefound for structConfigLoaderin the current scope --> /home/wonderbrian/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mpd-discord-rpc-1.8.0/src/config.rs:79:18 | 78 | / loader 79 | | .save(&cfg, &universal_config::Format::Toml) | | -^^^^ method not found inConfigLoader<'_>| |_________________| |It looks like this is coming from your universal-config repository. It's finding the latest version and compiling without issues:
Compiling tracing-subscriber v0.3.19 Compiling universal-config v0.5.1 Compiling mpd-utils v0.2.1 Compiling regex v1.11.1 Compiling mpd-discord-rpc v1.8.0This is on a Raspberry Pi 4
`cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"