created rust task manager
This commit is contained in:
commit
cd8bd851ab
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
task_manager_v2
|
||||||
|
task_manager_v2_test
|
||||||
|
.env.local
|
||||||
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Rust Task Manager CLI
|
||||||
|
=============================================
|
||||||
|
|
||||||
|
this is a simple task manager written in rust
|
||||||
|
|
||||||
|
to compile: `rustc task_manager_v2.rs`
|
||||||
|
to run: `./task_manager_v2`
|
||||||
|
|
||||||
|
thats it, thats the killer app.
|
||||||
45
rustfmt.toml
Normal file
45
rustfmt.toml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Rust formatting configuration
|
||||||
|
# Following universal coding standards (Section 8.1)
|
||||||
|
|
||||||
|
# Maximum line width (Section 1.2: 80-120 chars)
|
||||||
|
max_width = 100
|
||||||
|
|
||||||
|
# Use spaces for Rust (ecosystem convention)
|
||||||
|
hard_tabs = false
|
||||||
|
tab_spaces = 4
|
||||||
|
|
||||||
|
# Edition
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
# Imports
|
||||||
|
imports_granularity = "Module"
|
||||||
|
group_imports = "StdExternalCrate"
|
||||||
|
reorder_imports = true
|
||||||
|
|
||||||
|
# Comments
|
||||||
|
wrap_comments = true
|
||||||
|
comment_width = 80
|
||||||
|
normalize_comments = true
|
||||||
|
|
||||||
|
# Formatting
|
||||||
|
newline_style = "Unix"
|
||||||
|
use_small_heuristics = "Default"
|
||||||
|
|
||||||
|
# Function formatting
|
||||||
|
fn_params_layout = "Tall"
|
||||||
|
fn_single_line = false
|
||||||
|
|
||||||
|
# Struct/enum formatting
|
||||||
|
struct_lit_single_line = true
|
||||||
|
enum_discrim_align_threshold = 20
|
||||||
|
|
||||||
|
# Match formatting
|
||||||
|
match_block_trailing_comma = true
|
||||||
|
match_arm_blocks = true
|
||||||
|
|
||||||
|
# Control flow
|
||||||
|
control_brace_style = "AlwaysSameLine"
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
use_field_init_shorthand = true
|
||||||
|
use_try_shorthand = true
|
||||||
1209
task_manager_v2.rs
Normal file
1209
task_manager_v2.rs
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user