You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Thank you for your interest in contributing to LoamSpine! This document provides
15
15
### Code Quality
16
16
-**Zero Unsafe in Production**: `#![deny(unsafe_code)]` on production code; test modules prefer `temp-env` over raw `unsafe` env mutations, with `#[expect(unsafe_code, reason)]` where needed (migrated from `#[allow(unsafe_code)]`)
17
17
-**Pedantic Linting**: `clippy::pedantic` and `clippy::nursery` must pass
18
-
-**High Coverage**: Aim for 90%+ function coverage (current: 91.03%, 1,206 tests)
18
+
-**High Coverage**: Aim for 90%+ function coverage (current: 90.89%, 1,221 tests)
19
19
-**File Size**: Keep files under 1000 lines; refactor smartly, not just split
20
20
-**Modular Design**: Use domain-specific modules (see `service/` pattern)
21
21
-**Zero-Copy**: Use `bytes::Bytes` for network buffers when possible
@@ -43,7 +43,7 @@ Thank you for your interest in contributing to LoamSpine! This document provides
43
43
# Build
44
44
cargo build
45
45
46
-
# Test (1,206 tests)
46
+
# Test (1,221 tests)
47
47
cargo test --workspace
48
48
49
49
# Linting (must pass, zero warnings)
@@ -293,16 +293,16 @@ Look for issues labeled `good-first-issue`:
293
293
294
294
| Metric | Value |
295
295
|--------|-------|
296
-
| Version | 0.9.3|
296
+
| Version | 0.9.4|
297
297
| Edition | 2024 |
298
-
| Tests | 1,206|
299
-
| Coverage |91.03% function / 88.91% line (llvm-cov) |
298
+
| Tests | 1,221|
299
+
| Coverage |90.89% function / 88.74% line / 84.51% region (llvm-cov) |
300
300
| Max File Size | 955 lines (all < 1000) |
301
301
| Clippy | pedantic + nursery (0 warnings) |
302
302
| Unsafe Code | 0 in production (`#![deny(unsafe_code)]`) |
303
303
| Lint Exceptions | 0 `#[allow]` in production (all `#[expect(reason)]`) |
0 commit comments