Skip to content

[WIP] Clippy to disallow std types#4627

Draft
AhmedSoliman wants to merge 2 commits intomainfrom
pr4627
Draft

[WIP] Clippy to disallow std types#4627
AhmedSoliman wants to merge 2 commits intomainfrom
pr4627

Conversation

@AhmedSoliman
Copy link
Copy Markdown
Contributor

@AhmedSoliman AhmedSoliman commented Apr 22, 2026

Part of the effort to decompose the restate-types monolith into focused,
composable utility crates.

Add `restate-platform` as a low-dependency foundation crate that provides
key type aliases, traits, and essential types the rest of the project can
reliably depend upon. It sits at the bottom of the dependency graph with
minimal transitive dependencies.

Moves the following into restate-platform:
- Error traits (GenericError, CodedError) from restate-types
- Storage traits (StorageEncode, StorageDecode) from restate-types
- Network marker trait (NetSerde) from restate-encoding
- Memory estimation trait (EstimatedMemorySize) from restate-memory
- Hash re-exports (HashMap, HashSet) for consistent hashing
- Sync utilities (OwnedSemaphorePermit)
@AhmedSoliman AhmedSoliman changed the title Clippy to disallow std types [WIP] Clippy to disallow std types Apr 22, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

Test Results

 5 files  ± 0   5 suites  ±0   4m 10s ⏱️ +35s
43 tests +16  43 ✅ +16  0 💤 ±0  0 ❌ ±0 
70 runs  +16  70 ✅ +16  0 💤 ±0  0 ❌ ±0 

Results for commit 36fec4d. ± Comparison against base commit 6d70da2.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant