Skip to content

chore(deps): depend on klidara instead of arca - #85

Open
MethodWhite wants to merge 3 commits into
mainfrom
chore/klidara-dependency
Open

MethodWhite wants to merge 3 commits into
mainfrom
chore/klidara-dependency

Conversation

@MethodWhite

Copy link
Copy Markdown
Owner

Follow-up to MethodWhite/Arca#14, which renames the wallet crate and binary.

Change

-arca = ["dep:arca"]
+klidara = ["dep:klidara"]
+arca = ["dep:klidara"]   # deprecated alias
-arca = { git = ".../Arca", rev = "d1bf113", optional = true }
+klidara = { git = ".../Arca", rev = "320573c", optional = true }

The alias exists so an existing --features arca invocation does not fail the day this
merges. It can be removed in the following release.

Worth knowing before merging

Nothing in src/ uses this crate. Verified: zero arca:: imports, zero
cfg(feature = "arca"). It is an optional git dependency that a clone is performed for on
every build and that no code consumes. If the wallet integration is not landing soon, deleting
the dependency is cheaper than renaming it; that is your call, not mine, so this PR keeps it.

Verification

  • Cargo.toml parses; features.klidara, features.arca and the dependency resolved
  • rev points at the follow-up PR head, not at a branch name
  • not compiled: no Rust toolchain here
  • no test run

Merge order: Arca#14 first, then this.

The wallet crate is renamed (MethodWhite/klidara#14), so this dependency
must follow or the build breaks at fetch time.

- klidara = { git = ..., rev = 320573c }
- feature klidara = ["dep:klidara"]
- feature arca = ["dep:klidara"] kept as a deprecated alias so existing
  --features arca invocations keep working for one release

Note: nothing in src/ uses this crate today. No arca:: import, no
cfg(feature = "arca"). It is an optional git dependency that costs a
clone on every build and buys nothing yet. If the integration is not
landing this quarter, deleting it is cheaper than renaming it.
MethodWhite/Arca is now MethodWhite/klidara. GitHub redirects the old
path, so the previous URL would have kept working, but a dependency that
relies on a redirect is a dependency that breaks the day the redirect is
dropped. The rev is unchanged: renaming a repository does not change a
commit SHA.
…build it

The Cargo.toml-only rename could not be built as merged:

- pin klidara to 8e75089 on klidara main (2026-11-28) instead of 320573c, which
  lives only on the chore/rename-to-klidara branch and predates the Argon2id KDF
  fix (klidara#20) plus the accounts, audit and export modules
- regenerate Cargo.lock, which still named `arca` at the old URL and made every
  --locked build fail with exit 101
- point dev-setup.sh's sibling patch at the klidara checkout, and strip the
  klidara [patch] section in CI, where the old pattern matched `Arca`
- raise rust-toolchain.toml from 1.95.0 to 1.98.1: klidara declares
  rust-version = 1.98, so anyone building with the repository's own declared
  toolchain could not enable the feature at all
- say klidara in AGENTS.md; `arca` stays as a deprecated feature alias so
  existing --features arca builds keep working

Verified on rustc 1.98.1 with --locked: default, --features klidara and
--features arca all finish cleanly.
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