├── .gitignore ├── Chapter01 ├── use_env_logger │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── use_lazy_static │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── use_rand │ ├── Cargo.toml │ └── src │ │ └── main.rs └── use_structopt │ ├── Cargo.toml │ ├── README.md │ └── src │ └── main.rs ├── Chapter02 ├── data │ ├── config.toml │ ├── sales.json │ └── sales.xml ├── json_dynamic │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── json_static │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── postgresql_example │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── redis_example │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── sqlite_example │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── toml_dynamic │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── toml_static │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── transformer │ ├── Cargo.toml │ └── src │ │ └── main.rs └── xml_example │ ├── Cargo.toml │ └── src │ └── main.rs ├── Chapter03 ├── file_transfer │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── file_transfer_stub │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── json_db │ ├── Cargo.toml │ └── src │ │ ├── db_access.rs │ │ └── main.rs └── memory_db │ ├── Cargo.toml │ └── src │ ├── db_access.rs │ └── main.rs ├── Chapter04 ├── auth │ ├── Cargo.toml │ ├── src │ │ ├── db_access.rs │ │ ├── favicon.ico │ │ └── main.rs │ └── templates │ │ ├── login.html │ │ ├── main.html │ │ ├── main.js │ │ ├── one_person.html │ │ └── persons.html ├── crud │ ├── Cargo.toml │ ├── src │ │ ├── db_access.rs │ │ ├── favicon.ico │ │ └── main.rs │ └── templates │ │ ├── main.html │ │ ├── main.js │ │ ├── one_person.html │ │ └── persons.html ├── list │ ├── Cargo.toml │ ├── src │ │ ├── db_access.rs │ │ ├── favicon.ico │ │ └── main.rs │ └── templates │ │ ├── main.html │ │ ├── main.js │ │ └── persons.html └── templ │ ├── Cargo.toml │ ├── src │ └── main.rs │ └── templates │ ├── footer.txt │ ├── templ_id.txt │ └── templ_names.txt ├── Chapter05 ├── README.md ├── adder │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── static │ │ └── index.html ├── incr │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── static │ │ └── index.html ├── login │ ├── Cargo.toml │ ├── src │ │ ├── db_access.rs │ │ ├── lib.rs │ │ └── login.rs │ └── static │ │ └── index.html ├── persons_db │ ├── Cargo.toml │ └── src │ │ ├── db_access.rs │ │ └── main.rs ├── yauth │ ├── Cargo.toml │ ├── src │ │ ├── db_access.rs │ │ ├── lib.rs │ │ ├── login.rs │ │ ├── one_person.rs │ │ └── persons_list.rs │ └── static │ │ └── index.html └── yclient │ ├── Cargo.toml │ ├── src │ ├── common.rs │ ├── lib.rs │ ├── login.rs │ ├── one_person.rs │ └── persons_list.rs │ └── static │ └── index.html ├── Chapter06 ├── assets_slalom │ ├── Cargo.toml │ ├── src │ │ └── main.rs │ └── static │ │ ├── bump.ogg │ │ ├── click.ogg │ │ ├── font.ttf │ │ ├── two_notes.ogg │ │ └── whoosh.ogg ├── silent_slalom │ ├── Cargo.toml │ └── src │ │ └── main.rs └── ski │ ├── Cargo.toml │ └── src │ └── main.rs ├── Chapter07 ├── gg_assets_slalom │ ├── Cargo.toml │ ├── src │ │ └── main.rs │ └── static │ │ ├── bump.ogg │ │ ├── click.ogg │ │ ├── font.ttf │ │ ├── two_notes.ogg │ │ └── whoosh.ogg ├── gg_silent_slalom │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── gg_ski │ ├── Cargo.toml │ └── src │ │ └── main.rs └── gg_whac │ ├── Cargo.toml │ ├── assets │ ├── bump.ogg │ ├── button.png │ ├── click.ogg │ ├── cry.ogg │ ├── font.ttf │ ├── lawn.jpg │ ├── mallet.png │ ├── mole.png │ └── two_notes.ogg │ └── src │ └── main.rs ├── Chapter08 ├── calc_analyzer │ ├── Cargo.toml │ ├── data │ │ ├── bad_sum.calc │ │ └── sum.calc │ └── src │ │ ├── analyzer.rs │ │ ├── main.rs │ │ ├── parser.rs │ │ └── symbol_table.rs ├── calc_compiler │ ├── Cargo.toml │ ├── data │ │ ├── bad_sum.calc │ │ └── sum.calc │ └── src │ │ ├── analyzer.rs │ │ ├── compiler.rs │ │ ├── executor.rs │ │ ├── main.rs │ │ ├── parser.rs │ │ └── symbol_table.rs ├── calc_interpreter │ ├── Cargo.toml │ └── src │ │ ├── analyzer.rs │ │ ├── executor.rs │ │ ├── main.rs │ │ ├── parser.rs │ │ └── symbol_table.rs └── calc_parser │ ├── Cargo.toml │ ├── data │ ├── bad_sum.calc │ └── sum.calc │ └── src │ ├── main.rs │ └── parser.rs ├── Chapter09 ├── nom_byte_machine │ ├── Cargo.toml │ └── src │ │ ├── emulator.rs │ │ ├── instructions.rs │ │ ├── main.rs │ │ ├── parsing_interpreter.rs │ │ └── translator.rs ├── nom_disassembler │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── word_machine_convert │ ├── Cargo.toml │ └── src │ │ └── main.rs └── word_machine_sieve │ ├── Cargo.toml │ └── src │ └── main.rs ├── Chapter10 ├── allocating │ ├── Cargo.toml │ ├── Makefile │ ├── bd │ ├── br │ └── src │ │ └── lib.rs ├── boilerplate │ ├── Cargo.toml │ ├── Makefile │ ├── bd │ ├── br │ └── src │ │ └── lib.rs ├── dots │ ├── Cargo.toml │ ├── Makefile │ ├── bd │ ├── br │ └── src │ │ └── lib.rs ├── linux-fw │ ├── .gitignore │ ├── .travis.yml │ ├── Cargo.toml │ ├── LICENSE │ ├── README.md │ ├── armv7l-linux-kernel-module.json │ ├── build.rs │ ├── kernel-cflags-finder │ │ └── Makefile │ ├── src │ │ ├── allocator.rs │ │ ├── bindgen_helper.h │ │ ├── bindings.rs │ │ ├── c_types.rs │ │ ├── c_wrapper.c │ │ ├── kernel.rs │ │ ├── kernel_module.rs │ │ ├── kernel_result.rs │ │ ├── lib.rs │ │ ├── panic.rs │ │ ├── printk.rs │ │ └── sync.rs │ └── x86_64-linux-kernel-module.json └── state │ ├── Cargo.toml │ ├── Makefile │ ├── bd │ ├── br │ └── src │ └── lib.rs ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /Chapter01/use_env_logger/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_env_logger/Cargo.toml -------------------------------------------------------------------------------- /Chapter01/use_env_logger/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_env_logger/src/main.rs -------------------------------------------------------------------------------- /Chapter01/use_lazy_static/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_lazy_static/Cargo.toml -------------------------------------------------------------------------------- /Chapter01/use_lazy_static/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_lazy_static/src/main.rs -------------------------------------------------------------------------------- /Chapter01/use_rand/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_rand/Cargo.toml -------------------------------------------------------------------------------- /Chapter01/use_rand/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_rand/src/main.rs -------------------------------------------------------------------------------- /Chapter01/use_structopt/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_structopt/Cargo.toml -------------------------------------------------------------------------------- /Chapter01/use_structopt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_structopt/README.md -------------------------------------------------------------------------------- /Chapter01/use_structopt/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter01/use_structopt/src/main.rs -------------------------------------------------------------------------------- /Chapter02/data/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/data/config.toml -------------------------------------------------------------------------------- /Chapter02/data/sales.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/data/sales.json -------------------------------------------------------------------------------- /Chapter02/data/sales.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/data/sales.xml -------------------------------------------------------------------------------- /Chapter02/json_dynamic/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/json_dynamic/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/json_dynamic/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/json_dynamic/src/main.rs -------------------------------------------------------------------------------- /Chapter02/json_static/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/json_static/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/json_static/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/json_static/src/main.rs -------------------------------------------------------------------------------- /Chapter02/postgresql_example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/postgresql_example/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/postgresql_example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/postgresql_example/src/main.rs -------------------------------------------------------------------------------- /Chapter02/redis_example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/redis_example/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/redis_example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/redis_example/src/main.rs -------------------------------------------------------------------------------- /Chapter02/sqlite_example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/sqlite_example/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/sqlite_example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/sqlite_example/src/main.rs -------------------------------------------------------------------------------- /Chapter02/toml_dynamic/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/toml_dynamic/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/toml_dynamic/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/toml_dynamic/src/main.rs -------------------------------------------------------------------------------- /Chapter02/toml_static/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/toml_static/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/toml_static/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/toml_static/src/main.rs -------------------------------------------------------------------------------- /Chapter02/transformer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/transformer/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/transformer/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/transformer/src/main.rs -------------------------------------------------------------------------------- /Chapter02/xml_example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/xml_example/Cargo.toml -------------------------------------------------------------------------------- /Chapter02/xml_example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter02/xml_example/src/main.rs -------------------------------------------------------------------------------- /Chapter03/file_transfer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/file_transfer/Cargo.toml -------------------------------------------------------------------------------- /Chapter03/file_transfer/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/file_transfer/src/main.rs -------------------------------------------------------------------------------- /Chapter03/file_transfer_stub/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/file_transfer_stub/Cargo.toml -------------------------------------------------------------------------------- /Chapter03/file_transfer_stub/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/file_transfer_stub/src/main.rs -------------------------------------------------------------------------------- /Chapter03/json_db/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/json_db/Cargo.toml -------------------------------------------------------------------------------- /Chapter03/json_db/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/json_db/src/db_access.rs -------------------------------------------------------------------------------- /Chapter03/json_db/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/json_db/src/main.rs -------------------------------------------------------------------------------- /Chapter03/memory_db/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/memory_db/Cargo.toml -------------------------------------------------------------------------------- /Chapter03/memory_db/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/memory_db/src/db_access.rs -------------------------------------------------------------------------------- /Chapter03/memory_db/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter03/memory_db/src/main.rs -------------------------------------------------------------------------------- /Chapter04/auth/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/Cargo.toml -------------------------------------------------------------------------------- /Chapter04/auth/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/src/db_access.rs -------------------------------------------------------------------------------- /Chapter04/auth/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/src/favicon.ico -------------------------------------------------------------------------------- /Chapter04/auth/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/src/main.rs -------------------------------------------------------------------------------- /Chapter04/auth/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/templates/login.html -------------------------------------------------------------------------------- /Chapter04/auth/templates/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/templates/main.html -------------------------------------------------------------------------------- /Chapter04/auth/templates/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/templates/main.js -------------------------------------------------------------------------------- /Chapter04/auth/templates/one_person.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/templates/one_person.html -------------------------------------------------------------------------------- /Chapter04/auth/templates/persons.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/auth/templates/persons.html -------------------------------------------------------------------------------- /Chapter04/crud/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/Cargo.toml -------------------------------------------------------------------------------- /Chapter04/crud/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/src/db_access.rs -------------------------------------------------------------------------------- /Chapter04/crud/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/src/favicon.ico -------------------------------------------------------------------------------- /Chapter04/crud/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/src/main.rs -------------------------------------------------------------------------------- /Chapter04/crud/templates/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/templates/main.html -------------------------------------------------------------------------------- /Chapter04/crud/templates/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/templates/main.js -------------------------------------------------------------------------------- /Chapter04/crud/templates/one_person.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/templates/one_person.html -------------------------------------------------------------------------------- /Chapter04/crud/templates/persons.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/crud/templates/persons.html -------------------------------------------------------------------------------- /Chapter04/list/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/Cargo.toml -------------------------------------------------------------------------------- /Chapter04/list/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/src/db_access.rs -------------------------------------------------------------------------------- /Chapter04/list/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/src/favicon.ico -------------------------------------------------------------------------------- /Chapter04/list/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/src/main.rs -------------------------------------------------------------------------------- /Chapter04/list/templates/main.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/templates/main.html -------------------------------------------------------------------------------- /Chapter04/list/templates/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/templates/main.js -------------------------------------------------------------------------------- /Chapter04/list/templates/persons.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/list/templates/persons.html -------------------------------------------------------------------------------- /Chapter04/templ/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/templ/Cargo.toml -------------------------------------------------------------------------------- /Chapter04/templ/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/templ/src/main.rs -------------------------------------------------------------------------------- /Chapter04/templ/templates/footer.txt: -------------------------------------------------------------------------------- 1 | This is the footer. -------------------------------------------------------------------------------- /Chapter04/templ/templates/templ_id.txt: -------------------------------------------------------------------------------- 1 | This file contains one id: {{id}}. -------------------------------------------------------------------------------- /Chapter04/templ/templates/templ_names.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter04/templ/templates/templ_names.txt -------------------------------------------------------------------------------- /Chapter05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/README.md -------------------------------------------------------------------------------- /Chapter05/adder/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/adder/Cargo.toml -------------------------------------------------------------------------------- /Chapter05/adder/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/adder/src/lib.rs -------------------------------------------------------------------------------- /Chapter05/adder/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/adder/static/index.html -------------------------------------------------------------------------------- /Chapter05/incr/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/incr/Cargo.toml -------------------------------------------------------------------------------- /Chapter05/incr/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/incr/src/lib.rs -------------------------------------------------------------------------------- /Chapter05/incr/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/incr/static/index.html -------------------------------------------------------------------------------- /Chapter05/login/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/login/Cargo.toml -------------------------------------------------------------------------------- /Chapter05/login/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/login/src/db_access.rs -------------------------------------------------------------------------------- /Chapter05/login/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/login/src/lib.rs -------------------------------------------------------------------------------- /Chapter05/login/src/login.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/login/src/login.rs -------------------------------------------------------------------------------- /Chapter05/login/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/login/static/index.html -------------------------------------------------------------------------------- /Chapter05/persons_db/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/persons_db/Cargo.toml -------------------------------------------------------------------------------- /Chapter05/persons_db/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/persons_db/src/db_access.rs -------------------------------------------------------------------------------- /Chapter05/persons_db/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/persons_db/src/main.rs -------------------------------------------------------------------------------- /Chapter05/yauth/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/Cargo.toml -------------------------------------------------------------------------------- /Chapter05/yauth/src/db_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/src/db_access.rs -------------------------------------------------------------------------------- /Chapter05/yauth/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/src/lib.rs -------------------------------------------------------------------------------- /Chapter05/yauth/src/login.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/src/login.rs -------------------------------------------------------------------------------- /Chapter05/yauth/src/one_person.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/src/one_person.rs -------------------------------------------------------------------------------- /Chapter05/yauth/src/persons_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/src/persons_list.rs -------------------------------------------------------------------------------- /Chapter05/yauth/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yauth/static/index.html -------------------------------------------------------------------------------- /Chapter05/yclient/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/Cargo.toml -------------------------------------------------------------------------------- /Chapter05/yclient/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/src/common.rs -------------------------------------------------------------------------------- /Chapter05/yclient/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/src/lib.rs -------------------------------------------------------------------------------- /Chapter05/yclient/src/login.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/src/login.rs -------------------------------------------------------------------------------- /Chapter05/yclient/src/one_person.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/src/one_person.rs -------------------------------------------------------------------------------- /Chapter05/yclient/src/persons_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/src/persons_list.rs -------------------------------------------------------------------------------- /Chapter05/yclient/static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter05/yclient/static/index.html -------------------------------------------------------------------------------- /Chapter06/assets_slalom/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/Cargo.toml -------------------------------------------------------------------------------- /Chapter06/assets_slalom/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/src/main.rs -------------------------------------------------------------------------------- /Chapter06/assets_slalom/static/bump.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/static/bump.ogg -------------------------------------------------------------------------------- /Chapter06/assets_slalom/static/click.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/static/click.ogg -------------------------------------------------------------------------------- /Chapter06/assets_slalom/static/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/static/font.ttf -------------------------------------------------------------------------------- /Chapter06/assets_slalom/static/two_notes.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/static/two_notes.ogg -------------------------------------------------------------------------------- /Chapter06/assets_slalom/static/whoosh.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/assets_slalom/static/whoosh.ogg -------------------------------------------------------------------------------- /Chapter06/silent_slalom/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/silent_slalom/Cargo.toml -------------------------------------------------------------------------------- /Chapter06/silent_slalom/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/silent_slalom/src/main.rs -------------------------------------------------------------------------------- /Chapter06/ski/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/ski/Cargo.toml -------------------------------------------------------------------------------- /Chapter06/ski/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter06/ski/src/main.rs -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/Cargo.toml -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/src/main.rs -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/static/bump.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/static/bump.ogg -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/static/click.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/static/click.ogg -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/static/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/static/font.ttf -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/static/two_notes.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/static/two_notes.ogg -------------------------------------------------------------------------------- /Chapter07/gg_assets_slalom/static/whoosh.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_assets_slalom/static/whoosh.ogg -------------------------------------------------------------------------------- /Chapter07/gg_silent_slalom/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_silent_slalom/Cargo.toml -------------------------------------------------------------------------------- /Chapter07/gg_silent_slalom/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_silent_slalom/src/main.rs -------------------------------------------------------------------------------- /Chapter07/gg_ski/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_ski/Cargo.toml -------------------------------------------------------------------------------- /Chapter07/gg_ski/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_ski/src/main.rs -------------------------------------------------------------------------------- /Chapter07/gg_whac/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/Cargo.toml -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/bump.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/bump.ogg -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/button.png -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/click.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/click.ogg -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/cry.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/cry.ogg -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/font.ttf -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/lawn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/lawn.jpg -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/mallet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/mallet.png -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/mole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/mole.png -------------------------------------------------------------------------------- /Chapter07/gg_whac/assets/two_notes.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/assets/two_notes.ogg -------------------------------------------------------------------------------- /Chapter07/gg_whac/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter07/gg_whac/src/main.rs -------------------------------------------------------------------------------- /Chapter08/calc_analyzer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Creative-Projects-for-Rust-Programmers/HEAD/Chapter08/calc_analyzer/Cargo.toml -------------------------------------------------------------------------------- /Chapter08/calc_analyzer/data/bad_sum.calc: -------------------------------------------------------------------------------- 1 | @a 2 | @d 3 | >a 4 | >b 5 | a 4 | >b 5 | a 4 | >b 5 | a 4 | >b 5 | a 4 | >b 5 | a 4 | >b 5 |