Skip to content

Commit b5b26d8

Browse files
sonesukeclaude
andauthored
feat: add lib.rs to expose modules as a library crate (#68)
Split into lib + bin crate structure so core, cli, and mcp modules are available as a library for external crates. Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3a44619 commit b5b26d8

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub mod cli;
2+
pub mod core;
3+
pub mod mcp;

src/main.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
mod cli;
2-
mod core;
3-
mod mcp;
4-
51
#[tokio::main]
62
async fn main() -> anyhow::Result<()> {
7-
cli::run().await
3+
arxiv_cli::cli::run().await
84
}

0 commit comments

Comments
 (0)