Commit 702a251
authored
Add initial version of Rust client for durable (#14)
* initial rust initialization
* added pre-commit
* set up sqlx and rust
* added license files and initial migration;
* added initial impl of client
* tests compile
* fixed bugs with sqlx types
* added documentation
* added tests
* updated tasks
* added a test that mocks the example in README
* removed todos
* added convenience methods for uuid, rand, now
* added handling for spawning and joining subtasks from workflows
* added missing sql and test files
* merged migrations
* cleaned up bad code
* cleaned up json handling
* made process exit optional on too-long tasks
* fixed semaphore ordering
* fixed issues with clock skew
* improved handling of leases
* added comments on sql schema
* enforced that claim timeouts must be set
* cleaned up and documented sql
* added support for transactions that enqueue tasks
* added a bunch of tests
* documented and tested event semantics
* added benchmarks
* removed queue name option
* oops forgot a comment
* handled open-sourcing
* changed language around absurd to be more clear1 parent 8fa9fc8 commit 702a251
File tree
40 files changed
+13052
-1
lines changed- benches
- common
- src
- postgres/migrations
- tests
- common
40 files changed
+13052
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments