Skip to content

Commit 4b0d338

Browse files
authored
Merge pull request #6 from tyrchen/feature/upgrade-tonic-mock-with-ai
Feature/upgrade tonic mock with ai
2 parents d64d73c + 1890109 commit 4b0d338

File tree

113 files changed

+24333
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+24333
-155
lines changed

.clippy.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Clippy configuration for tonic-mock
2+
disallowed-methods = []
3+
cognitive-complexity-threshold = 100
4+
too-many-arguments-threshold = 10

.cursor/memory/activeContext.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Active Context
2+
3+
## Current Project State
4+
- Version: 0.3.0
5+
- Stable release with core functionality implemented
6+
- Small, focused library with clear purpose
7+
8+
## API Stability
9+
- Public API is stable and documented
10+
- Core functions:
11+
- `streaming_request<T>`
12+
- `process_streaming_response<T, F>`
13+
- `stream_to_vec<T>`
14+
- Public types:
15+
- `StreamResponseInner<T>`
16+
- `StreamResponse<T>`
17+
- `MockBody`
18+
- `ProstDecoder<U>`
19+
20+
## Documentation Status
21+
- README.md provides usage examples and overview
22+
- Doc comments include examples for all public functions
23+
- API documentation available on docs.rs
24+
25+
## Testing Status
26+
- Core functionality demonstrated through doc tests
27+
- No dedicated test files found in the codebase
28+
29+
## Current Focus Areas
30+
- Maintaining compatibility with tonic 0.13.x
31+
- Supporting Protocol Buffers through prost 0.13.x
32+
33+
## Potential Improvements
34+
- Add more comprehensive test coverage
35+
- Support for additional tonic features
36+
- Enhanced error handling and diagnostics
37+
- Performance optimizations for large message volumes
38+
39+
## Integration Points
40+
- Works with any gRPC service built with tonic
41+
- Compatible with Protocol Buffer messages defined with prost
42+
- Designed to be used in test code, not production

0 commit comments

Comments
 (0)