- Learning Rust
- Paul Johnson Vesa Kaihlavirta
- 110字
- 2021-07-02 23:07:13
Structure of a Rust project
A Rust project (irrespective of the platform you are developing on) will have the following structure:

The preceding screenshot shows the structure of the simplest Rust project, and as such can be replicated using the following commands:

The echo $null >> filename command creates an empty file without the need to start Notepad; save the file and exit.
The Cargo.toml file is the Rust equivalent of a Makefile. When the .toml file is created by hand, it should be edited to contain something like this:

The structure of a Rust project can expand to include documentation as well as the build structure, as follows:

推薦閱讀
- Vue.js快跑:構建觸手可及的高性能Web應用
- Neo4j Essentials
- Julia機器學習核心編程:人人可用的高性能科學計算
- JavaScript前端開發與實例教程(微課視頻版)
- PostgreSQL 11從入門到精通(視頻教學版)
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(高級進階篇)
- 持續輕量級Java EE開發:編寫可測試的代碼
- Mastering Python Design Patterns
- 網絡數據采集技術:Java網絡爬蟲實戰
- Getting Started with JUCE
- 軟硬件綜合系統軟件需求建模及可靠性綜合試驗、分析、評價技術
- Enterprise Application Architecture with .NET Core
- Practical Responsive Typography
- SQL Server 2008數據庫應用技術(第2版)
- 軟件定義存儲:原理、實踐與生態