Closed Teufelchen1 closed 1 year ago
Thanks for reporting!
Due to a bug in serde_yaml
the parsing fails. I improved the test as you suggested and rolled back to serde_yaml
0.8
in 6cb2a6d.
Once the bug is fixed serde_yaml
can be upgraded again. The current website-stalker
0.19.0
version is still at serde_yaml
0.8
so it does not need a bugfix release.
Personally I am not that sure about the !Tag
syntax serde_yaml
0.9
introduced. It does not seem as beginner friendly as the 0.8
syntax. So staying with 0.8
is also another good idea for usability. (But its not for missing fixes only the latest version will get.)
As a test was added to prevent this in the future and the bug is already reported in the library I will close this issue. Thanks again for reporting!
[disclaimer: I'm inexperienced in rust]
The current main can not parse the config generated by the current main when using either
init
orexample-config
.Versions
To Reproduce Steps to reproduce the behavior:
cargo build
cargo run example-config > website-stalker.yaml
cargo run check
Expected behavior
Successful parsing of the config.
Additional information
Beside this, the real bug might be hidden in
config.rs
, where the unit tests are inadequate. For example this:would have spotted this issue immediately.