this post was submitted on 06 Aug 2023
16 points (94.4% liked)

Rust Lang

3 readers
1 users here now

Rules [Developing]

Observe our code of conduct

Constructive criticism only

No endless relitigation

No low-effort content

No memes or image macros

No NSFW Content

founded 1 year ago
MODERATORS
 

Cackle is a tool to analyse the transitive dependencies of your crate to see what kinds of APIs each crate uses.

The idea is look for crates that are using APIs that you don't think they should be using. For example a crate that from its description should just be doing some data processing, but is actually using network APIs.

you are viewing a single comment's thread
view the rest of the comments
[–] livingcoder@programming.dev 1 points 1 year ago

Is this a problem today? I'll scan through the code of less popular crates, looking for reasonable TCP std library usage and such, just to be sure, but I haven't found unusual networking crate usage (yet).

That said, the repository may not actually contain the code compiled in the crate. I've found situations where the source code is impossible to find.