v0.1.0 skel
This commit is contained in:
16
docs/coding_rules.md
Normal file
16
docs/coding_rules.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Coding Rules
|
||||
|
||||
## Hard Constraints
|
||||
- No `?`
|
||||
- No `unwrap` / `expect`
|
||||
- Explicit error handling only
|
||||
- No `mod.rs`
|
||||
- tracing obligatoire
|
||||
- banned: anyhow, thiserror
|
||||
|
||||
## Example
|
||||
|
||||
match do_work() {
|
||||
Ok(v) => v,
|
||||
Err(e) => return Err(MyError::from(e)),
|
||||
}
|
||||
Reference in New Issue
Block a user