terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

Support Rust #278

Closed marco-c closed 4 years ago

marco-c commented 4 years ago

It would be nice if lizard supported Rust.

terryyin commented 4 years ago

Yeah, I’m looking forward to adding support fr Rust and ES6 this holiday.

On 19 Dec 2019, at 7:25 PM, Marco Castelluccio notifications@github.com wrote:

It would be nice if lizard supported Rust.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/terryyin/lizard/issues/278?email_source=notifications&email_token=AAGASYTRICBCB6SEGDG2NFLQZNK3NA5CNFSM4J5DQZN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IBTTZ6Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGASYQQINPRRSUMUYZCWS3QZNK3NANCNFSM4J5DQZNQ.

terryyin commented 4 years ago

I've added support for Rust. Could you please try it a bit? Or can you give me a few example projects to test?

marco-c commented 4 years ago

Here are a few example projects: https://github.com/mozilla/grcov https://github.com/mozilla/rust-parsepatch https://github.com/mozilla/dump_syms https://github.com/serde-rs/serde https://github.com/rust-lang-nursery/lazy-static.rs https://github.com/dtolnay/syn https://github.com/rust-random/rand https://github.com/rust-lang/libc

terryyin commented 4 years ago

ok. I've tested a couple from your list. Looks fine to me. Thanks!