Skip to content

feat: add lib.rs to expose modules as a library crate#68

Merged
sonesuke merged 1 commit intomainfrom
feat/add-lib-and-fix-rust-cache
Apr 12, 2026
Merged

feat: add lib.rs to expose modules as a library crate#68
sonesuke merged 1 commit intomainfrom
feat/add-lib-and-fix-rust-cache

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

Summary

  • Add src/lib.rs to expose core, cli, and mcp modules as a library crate, enabling external crates to use arxiv-cli as a dependency
  • Simplify src/main.rs to delegate to the library

Test plan

  • cargo build — both lib and bin compile
  • cargo test — all 37 tests pass (21 unit + 13 CLI e2e + 3 MCP e2e)
  • cargo clippy --all-targets -- -D warnings — clean
  • cargo fmt -- --check — clean

🤖 Generated with Claude Code

Split into lib + bin crate structure so core, cli, and mcp modules
are available as a library for external crates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonesuke sonesuke merged commit b5b26d8 into main Apr 12, 2026
4 checks passed
@sonesuke sonesuke deleted the feat/add-lib-and-fix-rust-cache branch April 12, 2026 03:51
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.

2 participants