- Creative Projects for Rust Programmers
- Carlo Milanesi
- 192字
- 2021-06-18 19:01:57
Storing and Retrieving Data
A typical need of any software application is to input/output data by reading/writing data files or data streams or by querying/manipulating a database. Regarding files and streams, unstructured data, or even binary data, is hard to manipulate, and so they are not recommended.
Also, proprietary data formats are not recommended because of the vendor lock-in risk, and so only standard data formats should be used. Fortunately, there are free Rust libraries that come to the rescue in these situations. There are Rust crates available to manipulate some of the most popular file formats, such as TOML, JSON, and XML.
In terms of databases, there are Rust crates to manipulate data using some of the most popular databases, such as SQLite, PostgreSQL, and Redis.
In this chapter, you will learn about the following:
- How to read configuration data from a TOML file
- How to read or write a JSON data file
- How to read an XML data file
- How to query or manipulate data in a SQLite database
- How to query or manipulate data in a PostgreSQL database
- How to query or manipulate data in a Redis database
- Advanced Machine Learning with Python
- Software Defined Networking with OpenFlow
- Docker進階與實戰
- LabVIEW入門與實戰開發100例
- SQL Server 2012數據庫技術及應用(微課版·第5版)
- 算法精粹:經典計算機科學問題的Java實現
- Java持續交付
- Practical Game Design
- Interactive Applications Using Matplotlib
- Lighttpd源碼分析
- 深度學習原理與PyTorch實戰(第2版)
- Mastering Elixir
- JSP程序設計與案例實戰(慕課版)
- Learning D3.js 5 Mapping(Second Edition)
- 區塊鏈:技術與場景