baoyachi / shadow-rs

A build-time information stored in your rust project.(binary,lib,cdylib,dylib)
https://docs.rs/shadow-rs
MIT License
444 stars 40 forks source link

clippy issues in the generated shadow.rs file #151

Closed szabgab closed 1 week ago

szabgab commented 6 months ago

I have a project with lots of clippy lints enables. Adding shadow-rs I started to get lots of complaints from the out/shadow.rs that, as I understand it, is generated during the build step. Specifically I had to disable these.

[lints.clippy]
non_ascii_literal = "allow"
print_stdout = "allow"
needless_raw_strings = "allow"
needless_raw_string_hashes = "allow"

It would be nice if I could enable them again.

Using shadow-rs version 0.26.1

dsully commented 4 months ago

+1

baoyachi commented 1 week ago

Thank you for your feedback on this issue. Although the issue has been pending for a while, we still appreciate @thecaralice for resolving it.

Please use new publised version:

shadow-rs = "0.33.0"