Commit graph

109 commits

Author SHA1 Message Date
b12bbc45c8
Add a merged stream 2025-04-10 08:22:40 +02:00
0706bae9f7
Add a demo of the timeout method 2025-04-10 08:20:03 +02:00
bd4528edf0
Add an async stream demo 2025-04-10 08:18:53 +02:00
ea7aea8efc
Filter the stream 2025-04-10 08:15:39 +02:00
44a71c13e4
Create a project for demonstrating streams 2025-04-10 08:15:00 +02:00
c86f38aa32
Store Future values on the stack 2025-04-06 23:11:56 +02:00
b7ff776e06
Wait for the tasks using join_all 2025-04-06 23:04:29 +02:00
fdb0b43ce8
Join tasks using join! macro 2025-04-06 22:11:25 +02:00
519ce8dd85
Send messages from multiple tasks 2025-04-06 21:57:17 +02:00
510ecfec6d
Fix ownership of async tasks 2025-04-06 21:40:00 +02:00
82780c0009
Run sending and receiving parts separately 2025-04-06 21:30:07 +02:00
50dfffdb70
Introduce pauses between sending messages 2025-04-06 21:13:59 +02:00
7ecb5e30c5
Use trpl channel in an async task 2025-04-06 21:04:42 +02:00
3be0c34179
Run all asynchronous tasks at the same time 2025-04-06 00:53:50 +02:00
b5625b6c4c
Add code for demonstrating concurrency 2025-04-05 12:28:41 +02:00
e52278f0d3
Add a project for demonstrating concurrency using async 2025-04-05 12:27:06 +02:00
97ae7598ce
Allow racing two URL fetch tasks against each other 2025-04-05 11:55:22 +02:00
9e59d39384
Add code for running the async functions 2025-04-03 20:50:08 +02:00
6e852c6c60
Chain asynchronous calls 2025-04-03 08:23:48 +02:00
c3e466fc23
Add a function for fetching page titles 2025-04-03 08:23:47 +02:00
22c73843bc
Add a project for testing async feature 2025-04-03 08:09:47 +02:00
1acb5ee469
Add an add_two package 2025-03-28 21:50:04 +01:00
fbf552fb73
Add a test function 2025-03-28 21:41:04 +01:00
f444fc9406
Add dependency in multiple packages 2025-03-28 21:39:46 +01:00
7aae63f635
Add an external dependency 2025-03-28 21:28:59 +01:00
6a11ed67ad
Add a dependency within the workspace 2025-03-28 21:24:08 +01:00
3d6697820d
Add an add_one library 2025-03-28 21:08:43 +01:00
71709b5058
Initialize a new workspace 2025-03-28 21:05:44 +01:00
73426dd5e0
Search contents using iterators 2025-03-26 00:13:01 +01:00
cbca3bd0d8
Initialize configuration using iterators 2025-03-26 00:07:44 +01:00
9cd6c7bdef
Add a project for demonstrating closures 2025-03-21 21:55:29 +01:00
920dcf4ff7
Print errors to stderr 2025-03-21 21:38:34 +01:00
0c883413ce
Allow running case insensitive search using run 2025-03-21 21:22:40 +01:00
8bbd8391a0
Add an implementation for the case insensitive search 2025-03-21 07:49:58 +01:00
ba37e08a5d
Add a function for searching case insensitively 2025-03-21 07:41:16 +01:00
c27907555d
Run the logic for the minigrep command 2025-03-20 23:20:02 +01:00
e9e4c403e6
Add a code for performing the actual search 2025-03-20 23:10:31 +01:00
1a18cdbf52
Add a workspace for the exercises 2025-03-20 07:48:16 +01:00
9d8641043e
Add tests for minigrep 2025-03-20 07:40:13 +01:00
6af1aad588
Externalize logic into library crate 2025-03-20 00:32:18 +01:00
c68a76f2e8
Report application errors 2025-03-19 23:15:39 +01:00
6a8a5c234e
Allow returning errors 2025-03-19 08:20:48 +01:00
009bb0cb96
Extract the main logic 2025-03-19 08:12:38 +01:00
30bb1d6438
Handle Config::build errors properly 2025-03-19 00:48:24 +01:00
bb076d6cb6
Convey Config creation errors using a Result 2025-03-19 00:40:42 +01:00
dd00502383
Handle insufficient arguments using panic! 2025-03-19 00:17:59 +01:00
bc20afefa1
Create a Config constructor 2025-03-18 00:06:12 +01:00
7173962fe3 Store config in a struct 2025-03-05 08:20:57 +01:00
98ce496e78 Add a function for parsing arguments 2025-03-04 23:24:26 +01:00
c65f7203a1 Add logic for reading files 2025-03-04 23:23:23 +01:00