{"id":15031996,"url":"https://github.com/packtpublishing/rust-programming-cookbook","last_synced_at":"2025-04-03T03:12:18.955Z","repository":{"id":61791203,"uuid":"198804287","full_name":"PacktPublishing/Rust-Programming-Cookbook","owner":"PacktPublishing","description":"Rust Programming Cookbook, published by Packt","archived":false,"fork":false,"pushed_at":"2023-01-30T08:10:26.000Z","size":74213,"stargazers_count":72,"open_issues_count":0,"forks_count":32,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T03:12:14.931Z","etag":null,"topics":["rust","rust-language","rust-programming-cookbook"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PacktPublishing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-25T09:48:25.000Z","updated_at":"2025-03-28T21:31:24.000Z","dependencies_parsed_at":"2023-02-16T05:31:27.604Z","dependency_job_id":null,"html_url":"https://github.com/PacktPublishing/Rust-Programming-Cookbook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacktPublishing%2FRust-Programming-Cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacktPublishing%2FRust-Programming-Cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacktPublishing%2FRust-Programming-Cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacktPublishing%2FRust-Programming-Cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PacktPublishing","download_url":"https://codeload.github.com/PacktPublishing/Rust-Programming-Cookbook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927839,"owners_count":20856198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","rust-language","rust-programming-cookbook"],"created_at":"2024-09-24T20:17:05.046Z","updated_at":"2025-04-03T03:12:18.930Z","avatar_url":"https://github.com/PacktPublishing.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n# Rust Programming Cookbook \n\n\u003ca href=\"https://www.packtpub.com/programming/rust-programming-cookbook?utm_source=github\u0026utm_medium=repository\u0026utm_campaign=9781789530667\"\u003e\u003cimg src=\"https://www.packtpub.com/media/catalog/product/cache/e4d64343b1bc593f1c5348fe05efa4a6/9/7/9781789530667-original.jpeg\" alt=\"Rust Programming Cookbook \" height=\"256px\" align=\"right\"\u003e\u003c/a\u003e\n\nThis is the code repository for [Rust Programming Cookbook ](https://www.packtpub.com/programming/rust-programming-cookbook?utm_source=github\u0026utm_medium=repository\u0026utm_campaign=9781789530667), published by Packt.\n\n**Explore the latest features of Rust 2018 for building fast and secure apps**\n\n## What is this book about?\nRust 2018, Rust's first major milestone since version 1.0, brings more advancement in the Rust language. The Rust Programming Cookbook is a practical guide to help you overcome challenges when writing Rust code.\n\n\nThis book covers the following exciting features:\nUnderstand how Rust provides unique solutions to solve system programming language problems \nGrasp the core concepts of Rust to develop fast and safe applications \nExplore the possibility of integrating Rust units into existing applications for improved efficiency \nDiscover how to achieve better parallelism and security with Rust \nWrite Python extensions in Rust \nCompile external assembly files and use the Foreign Function Interface (FFI) \nBuild web applications and services using Rust for high performance \n\nIf you feel this book is for you, get your [copy](https://www.amazon.com/dp/1789530660) today!\n\n\u003ca href=\"https://www.packtpub.com/?utm_source=github\u0026utm_medium=banner\u0026utm_campaign=GitHubBanner\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/PacktPublishing/GitHub/master/GitHub.png\" \nalt=\"https://www.packtpub.com/\" border=\"5\" /\u003e\u003c/a\u003e\n\n## Instructions and Navigations\nAll of the code is organized into folders. For example, Chapter02.\n\nThe code will look like the following:\n```\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error + Send + Sync + 'static\u003e\u003e {\n   let mut ls_child = Command::new(\"ls\");\n   if !cfg!(target_os = \"windows\") {\n       ls_child.args(\u0026[\"-alh\"]);\n```\n\n**Following is what you need for this book:**\nThe Rust cookbook is for software developers looking to enhance their knowledge of Rust and leverage its features using modern programming practices. Familiarity with Rust language is expected to get the most out of this book.\n\n\nWith the following software and hardware list you can run all code files present in the book (Chapter 1-).\n### Software and Hardware List\n| No | Software required | OS required |\n| -------- | ------------------------------------ | ----------------------------------- |\n| 1 | Rust nightly \u003e 2019-10-10 | Windows/Linux/macOS |\n| 2 | Visual Studio Code | Windows/Linux/macOS |\n| 3 | Docker CE stable 19.03 | Windows/Linux/macOS |\n| 4 | Node.js 10.16.3 | Windows/Linux/macOS |\n| 5 | Python 3.6 or later | Windows/Linux/macOS |\n| 6 | gcc \u003e= 9.2 | Windows/Linux/macOS |\n| 7 | Rust stable \u003e 1.38.0 | Windows/Linux/macOS |\n\nWe also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it](https://static.packt-cdn.com/downloads/9781789530667_ColorImages.pdf).\n\n### Related products\n* Mastering Rust - Second Edition  [[Packt]](https://www.packtpub.com/application-development/mastering-rust-second-edition?utm_source=github\u0026utm_medium=repository\u0026utm_campaign=9781789346572) [[Amazon]](https://www.amazon.com/dp/B07GVNJ77X)\n\n* Hands-On Data Structures and Algorithms with Rust  [[Packt]](https://www.packtpub.com/application-development/hands-data-structures-and-algorithms-rust?utm_source=github\u0026utm_medium=repository\u0026utm_campaign=9781788995528) [[Amazon]](https://www.amazon.com/dp/178899552X)\n\n## Get to Know the Author\n**Claus Matzinger**\nis a software engineer with a very diverse background. After working in a small company maintaining code for embedded devices, he joined a large corporation to work on legacy Smalltalk applications. This led to a great interest in programming languages early on, and Claus became the CTO for a health games start-up based on Scala technology. Since then, Claus' roles have shifted toward customer-facing roles in the IoT database technology start-up, Crate IO (creators of CrateDB), and, most recently, Microsoft. There, he hosts a podcast, writes code together with customers, and blogs about the solutions arising from these engagements. For more than 5 years, Claus has been implementing software to help customers innovate, achieve, and maintain success.\n\n### Suggestions and Feedback\n[Click here](https://docs.google.com/forms/d/e/1FAIpQLSdy7dATC6QmEL81FIUuymZ0Wy9vH1jHkvpY57OiMeKGqib_Ow/viewform) if you have any feedback or suggestions.\n\n\n### Special thanks \n\nRust is an evolving language and we rely on you to point out anything that has changed since the book release. Open an issue if you find something won't compile and we'll gladly help out.\n\n@tomus85 - Thank you updating three recipes: static-web, json-handling, and legacy-c-code.### Download a free PDF\n\n \u003ci\u003eIf you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.\u003cbr\u003eSimply click on the link to claim your free PDF.\u003c/i\u003e\n\u003cp align=\"center\"\u003e \u003ca href=\"https://packt.link/free-ebook/9781789530667\"\u003ehttps://packt.link/free-ebook/9781789530667 \u003c/a\u003e \u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacktpublishing%2Frust-programming-cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacktpublishing%2Frust-programming-cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacktpublishing%2Frust-programming-cookbook/lists"}