Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

cargo-count doesn't find any code #36

@ghost

Description

I cannot get cargo-count to find any code. I have tried it in both Rust and C++ repositories, and it always outputs "No source files were found matching the specified criteria". Example:

bram@falafel% mkdir testrepo
bram@falafel% cd testrepo
bram@falafel% cargo init --bin
     Created binary (application) project
bram@falafel% cat src/main.rs
fn main() {
    println!("Hello, world!");
}
bram@falafel% cargo count
Gathering information...

	No source files were found matching the specified criteria

Edit: additional info:

bram@falafel% cargo count -v
Gathering information...
Excluding: ["/home/bram/tmp/testrepo/.git"]
Displaying the results:

	No source files were found matching the specified criteria
bram@falafel% cargo count -V
cargo-count v0.2.2

I installed cargo-count from crates.io.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions