Skip to content

refactor: extract NativeStr into standalone crate#338

Merged
branchseer merged 1 commit intomainfrom
extract-native-str-crate
Apr 16, 2026
Merged

refactor: extract NativeStr into standalone crate#338
branchseer merged 1 commit intomainfrom
extract-native-str-crate

Conversation

@branchseer
Copy link
Copy Markdown
Member

Summary

  • Extract NativeStr from fspy_shared::ipc::native_str into a new native_str crate
  • Re-exported from fspy_shared::ipc so all downstream crates are unaffected
  • New crate has minimal dependencies: allocator-api2, bytemuck, wincode
  • Includes README.md documenting the type's purpose and platform behavior

Test plan

  • cargo clippy passes
  • cargo test --workspace --exclude fspy passes
  • cargo shear reports no new unused deps

🤖 Generated with Claude Code

@branchseer branchseer force-pushed the extract-native-str-crate branch 3 times, most recently from ae41c52 to 922adb4 Compare April 16, 2026 13:34
Move `NativeStr` from `fspy_shared::ipc::native_str` into a new
`native_str` crate with its own README. The type is re-exported from
`fspy_shared::ipc` so downstream crates are unaffected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@branchseer branchseer force-pushed the extract-native-str-crate branch from 922adb4 to 25f8e5d Compare April 16, 2026 13:43
@branchseer branchseer merged commit b2e2e2c into main Apr 16, 2026
9 checks passed
@branchseer branchseer deleted the extract-native-str-crate branch April 16, 2026 13:49
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