<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g" -->

---
title: Rust Dependencies Scare Me | daily.dev
description: The post expresses concerns about managing dependencies in Rust projects, emphasizing issues with unmaintained crates and the large amount of code introduced...
canonical: https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Rust Dependencies Scare Me | daily.dev
og:description: The post expresses concerns about managing dependencies in Rust projects, emphasizing issues with unmaintained crates and the large amount of code introduced...
og:url: https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g
og:image: https://api.daily.dev/og/posts/weYEohi8g.png
og:image:alt: Rust Dependencies Scare Me
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust Dependencies Scare Me

**[Lobsters](https://daily.dev/sources/lobsters)** · 4 min read · 15 upvotes · 2 comments

## Summary

The post expresses concerns about managing dependencies in Rust projects, emphasizing issues with unmaintained crates and the large amount of code introduced by dependencies. The author discusses their experience with Rust's ecosystem, including tools like Cargo for package management. They highlight the challenges of auditing extensive codebases that result from using numerous dependencies and suggest that while adding features to the Rust standard library might help, it carries its own challenges.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://vincents.dev/blog/rust-dependencies-scare-me/>

## Community discussion

Top comments from developers on daily.dev.

**@fidelski** · 2 upvotes

> Hm, consider the alternative - what about all that if it wouldn't be rust but c++ for example. You would also depend on other libraries that also depend on other libraries. Consider all the functionality of your project and the alternatives in the corresponding ecosystem - do you really think the amount of dependencies would drop and the corresponding risks of supply chain vulnerability would sink?
> Another thought - would it have been that easy to find this problem in another ecosystem, like c++? Or would you simply write more yourself? Then what about your own code? Is it always safer than...

**@justbrowsing** · 1 upvotes

> Yeah; that's the problem with a dependency tree. There are tools to audit dependency trees, and I think Rust crates can be more easily audited due to language design. That being said, it's an inescapable problem of any dependency tree. Unless all dependencies are internal, but that isn't the usual case.

---

Tags: [#security](https://daily.dev/tags/security), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Rust Dependencies Scare Me","url":"https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g"},"datePublished":"2025-05-08T22:58:49.053Z","dateModified":"2025-05-08T22:59:02.861Z","description":"The post expresses concerns about managing dependencies in Rust projects, emphasizing issues with unmaintained crates and the large amount of code introduced...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8d7364edd3119226eaca928ef472e674?_a=AQAEuj9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8d7364edd3119226eaca928ef472e674?_a=AQAEuj9","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"security,rust","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Rust Dependencies Scare Me"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/rust-dependencies-scare-me-weyeohi8g","comment":[{"@type":"Comment","text":"Hm, consider the alternative - what about all that if it wouldn’t be rust but c++ for example. You would also depend on other libraries that also depend on other libraries. Consider all the functionality of your project and the alternatives in the corresponding ecosystem - do you really think the amount of dependencies would drop and the corresponding risks of supply chain vulnerability would sink?\nAnother thought - would it have been that easy to find this problem in another ecosystem, like c++? Or would you simply write more yourself? Then what about your own code? Is it always safer than 3rd party code?\nVerbosity of dependencies is an advantage IMHO. And the fact you identified and solved the problem, shows things can work - without reiinventing the wheel, in an efficient and safe language.","datePublished":"2025-05-15T17:05:34.513Z","url":"https://daily.dev/posts/weYEohi8g#c-Rggjhk8j6","author":{"@type":"Person","name":"fidel","url":"https://daily.dev/fidelski","image":"https://media.daily.dev/image/upload/s--0ZsJYLqU--/f_auto/v1748613623/avatars/avatar_y8DJy71DgFOhtds2Iv5xP?_a=BAMClqUq0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Yeah; that’s the problem with a dependency tree. There are tools to audit dependency trees, and I think Rust crates can be more easily audited due to language design. That being said, it’s an inescapable problem of any dependency tree. Unless all dependencies are internal, but that isn’t the usual case.","datePublished":"2025-05-09T23:00:31.772Z","url":"https://daily.dev/posts/weYEohi8g#c-nxncNfcfq","author":{"@type":"Person","name":"JustBrowsing","url":"https://daily.dev/justbrowsing","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

