cargo-specification
cargo-specification copied to clipboard
support different languages comments
First, I think we should have some good defaults when parsing files based on the file extension. Perhaps we can use this: https://docs.rs/comment-parser/latest/comment_parser/
Second, I think you should still be able to customize how the spec comment looks like:
[config]
custom_comments = [[".ml", "(*!", "*)"], [".py", "#!"]]