diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 985e271..349b762 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,6 @@ jobs: - name: Setup Rust cache uses: Swatinem/rust-cache@v2 - with: - workspaces: google-patent-cli - name: Check formatting run: cargo fmt -- --check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c4db27..6617945 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,8 +23,6 @@ jobs: - name: Setup Rust cache uses: Swatinem/rust-cache@v2 - with: - workspaces: google-patent-cli - name: Setup Chrome configuration run: | @@ -116,8 +114,6 @@ jobs: - name: Setup Rust cache uses: Swatinem/rust-cache@v2 - with: - workspaces: google-patent-cli - name: Install cross if: matrix.use_cross == true diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..f83e98c --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,3 @@ +pub mod cli; +pub mod core; +pub mod mcp; diff --git a/src/main.rs b/src/main.rs index dafc35a..1e764cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,4 @@ -pub mod cli; -pub mod core; -pub mod mcp; - #[tokio::main] async fn main() -> anyhow::Result<()> { - cli::run().await + google_patent_cli::cli::run().await }