-
I'd like to use fd's features in a program I am writing. Is it possible to use a crate with a main.rs and no lib.rs as a library? Is there some trick I can do to make that work?
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Crates like bindgen work around #1982 still being unsolved by making the feature for the CLI a default feature and expecting things which depend on the library to opt out of default features.
-
As it would be a change to Cargo.toml, it requires an RFC and there's currently one under discussion so the first thing you'd want to do is look through what's been said there.