# Rust

**URL:** https://discourse.chef.io/c/core-development/rust/22.md

[Latest](https://discourse.chef.io/latest.md) · [Categories](https://discourse.chef.io/categories.md)

---

## [About the Rust category](https://discourse.chef.io/t/about-the-rust-category/18619)

<div class="topic-metadata">

**Author:** [@eeyun1](https://discourse.chef.io/u/eeyun1)\
**Replies:** 0\
**Last updated:** [February 14, 2018, 11:09pm UTC](https://discourse.chef.io/t/about-the-rust-category/18619 "2018-02-14T23:09:52Z")

</div>

---

## [Patching a cargo file](https://discourse.chef.io/t/patching-a-cargo-file/18809)

<div class="topic-metadata">

**Author:** [@elliott-davis](https://discourse.chef.io/u/elliott-davis)\
**Replies:** 0\
**Last updated:** [August 13, 2018, 3:08pm UTC](https://discourse.chef.io/t/patching-a-cargo-file/18809 "2018-08-13T15:08:02Z")

</div>

Useful cargo.toml patch to point toward a local repo to build dependent packages from: \[patch."https://github.com/habitat-sh/core.git"\] habitat\_core = {path = "/src/core/components/core"} habitat\_win\_users = {path = "/s…

---

## [String vs. &str](https://discourse.chef.io/t/string-vs-str/18205)

<div class="topic-metadata">

**Author:** [@Matt\_Wrock](https://discourse.chef.io/u/Matt_Wrock)\
**Replies:** 0\
**Last updated:** [November 15, 2016, 8:27pm UTC](https://discourse.chef.io/t/string-vs-str/18205 "2016-11-15T20:27:09Z")

</div>

Like many here, I am new to rust and just learning my way around the basics. One friction point I have hit is having personal debates over whether to use a String or &str in function signatures. I ran into this post whic…
