diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..2efda0d --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,8 @@ +# Local development override: use the path dependency instead of the git tag. +# This file is gitignored — CI uses the git dependency from Cargo.toml. +# +# To use: uncomment the section below. Requires the core repo checked out +# at ../core/ relative to this directory. +# +# [patch."https://github.com/BitVanes/core.git"] +# bitvanes-core = { path = "../core/crates/core" } diff --git a/AGENTS.md b/AGENTS.md index 97d23a4..9a629ac 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,7 +21,7 @@ cat /tmp/out.json ## Architecture Headless CLI that links `bitvanes-core` via path dependency (local dev) or -git tag `v0.3.0` (release). +git tag `v0.4.0` (release). Entry point: `src/main.rs` (clap arg parsing → dispatch to headless or TUI). Headless: `src/headless.rs` (directory scan → rayon parallel → output). @@ -36,7 +36,7 @@ Output formats: Arrow IPC, CSV, JSON (all from `bitvanes-core`'s `arrow_io`). ```toml bitvanes-core = { path = "../core/crates/core", features = ["ipc", "csv", "cli-pdf", "parallel"] } -# For release: git = "https://github.com/BitVanes/core.git", tag = "v0.3.0" +# For release: git = "https://github.com/BitVanes/core.git", tag = "v0.4.0" ``` The CLI is distributed as a prebuilt binary via GitHub Releases (not published @@ -54,8 +54,8 @@ prebuilt `ort` static lib needs glibc ≥ 2.38, which the Linux release runner ## Release ```bash -git tag v0.3.0 -git push origin v0.3.0 +git tag v0.4.0 +git push origin v0.4.0 ``` The release workflow (.github/workflows/release.yml) builds binaries for: diff --git a/Cargo.lock b/Cargo.lock index 92829de..75ab447 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -422,6 +422,7 @@ dependencies = [ [[package]] name = "bitvanes-core" version = "0.4.0" +source = "git+https://github.com/BitVanes/core.git?tag=v0.4.0#ffb491eb857eb424846ed986fdb98f3787c2b756" dependencies = [ "arrow", "blake3", diff --git a/Cargo.toml b/Cargo.toml index aa06683..df57c75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ default = [] embed = ["bitvanes-core/embeddings"] [dependencies] -bitvanes-core = { path = "../core/crates/core", features = ["ipc", "csv", "cli-pdf", "parallel", "office", "mmap"] } +bitvanes-core = { git = "https://github.com/BitVanes/core.git", tag = "v0.4.0", features = ["ipc", "csv", "cli-pdf", "parallel", "office", "mmap"] } blake3 = "1" clap = { version = "4", features = ["derive"] } crossterm = "0.28" diff --git a/README.md b/README.md index 351a904..3d2eb7a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Download the latest binary from ```bash # Linux/macOS -curl -L https://github.com/BitVanes/cli/releases/latest/download/bitvanes-v0.1.0-x86_64-linux.tar.gz | tar xz +curl -L https://github.com/BitVanes/cli/releases/latest/download/bitvanes-v0.4.0-x86_64-linux.tar.gz | tar xz sudo mv bitvanes /usr/local/bin/ # Verify