Skip to content

refactor: rename package from tartarus to hyperswitch-card-vault#165

Merged
ShankarSinghC merged 4 commits into
mainfrom
fix/doc
Jun 15, 2026
Merged

refactor: rename package from tartarus to hyperswitch-card-vault#165
ShankarSinghC merged 4 commits into
mainfrom
fix/doc

Conversation

@ShankarSinghC

@ShankarSinghC ShankarSinghC commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

The repository was originally named tartarus and later renamed to hyperswitch-card-vault, but the Cargo package name and several code/doc references still used the old name. This PR renames the package and updates all remaining tartarus references for consistency.

Changes

Functional (build-affecting):

  • Cargo.toml: package name tartarushyperswitch-card-vault (lib crate is imported as hyperswitch_card_vault — Cargo normalizes hyphens to underscores)
  • Cargo.lock: regenerated
  • src/bin/locker.rs, src/bin/utils.rs: use tartarus::use hyperswitch_card_vault::
  • benches/{luhn-test,hashing,encryption}.rs: bench imports updated
  • src/crypto/hash_manager/managers/sha.rs: rustdoc doctest imports updated
  • .github/workflows/{CI-pr,CI-push}.yml: --package tartarus--package hyperswitch-card-vault

Cosmetic (docs):

  • README.md: product name updated to "Hyperswitch Card Vault"
  • docs/openapi/spec.yml, docs/openapi-v2/spec.yml: OpenAPI titles
  • docs/collection/Tartarus.postman_collection.jsonhyperswitch-card-vault.postman_collection.json (renamed + name field), reference updated in docs/guides/testing.md

Deployment impact

None. The binaries remain locker/utils, and the Docker image and database names never referenced tartarus.

Verification

  • cargo build --all-targets ✅ (produces locker and utils binaries)
  • cargo test ✅ (full suite, incl. doctests)
  • rg -i tartarus (excl. target/) → no matches

🤖 Generated with Claude Code

The repository was originally named tartarus and later renamed to
hyperswitch-card-vault, but the Cargo package name and various code/doc
references still used the old name. This renames the package and updates
all references for consistency.

- Cargo package name `tartarus` -> `hyperswitch-card-vault` (lib crate
  imported as `hyperswitch_card_vault`)
- Update `use tartarus::` imports in bins, benches, and rustdoc examples
- Update `--package` references in CI workflows
- Update product name in README, OpenAPI spec titles, and Postman
  collection (file renamed accordingly)

Deployment is unaffected: binaries remain `locker`/`utils` and the
Docker image/database names never referenced tartarus.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ShankarSinghC ShankarSinghC self-assigned this Jun 11, 2026
@ShankarSinghC ShankarSinghC added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 11, 2026
hyperswitch-bot Bot and others added 3 commits June 11, 2026 16:18
…ate target

The console log filtering directive is built from the Cargo package name
via `build_info::cargo_workspace_members!()`, but `tracing` log targets
use the crate path (`hyperswitch_card_vault`, underscores). With the
hyphenated package name `hyperswitch-card-vault`, the directive entry
`hyperswitch-card-vault=DEBUG` never matched `hyperswitch_card_vault::*`
targets, so the crate's own logs were silently disabled.

Rename the package to `hyperswitch_card_vault` (underscores) so the
generated directive matches the tracing target. The `use
hyperswitch_card_vault::` imports already used underscores (lib crate
name), so no source changes are needed; CI `--package` flags updated.

Verified: startup directive now prints `hyperswitch_card_vault=DEBUG` and
DEBUG events from `hyperswitch_card_vault::app` are emitted.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ShankarSinghC ShankarSinghC merged commit ea99b64 into main Jun 15, 2026
10 checks passed
@ShankarSinghC ShankarSinghC deleted the fix/doc branch June 15, 2026 08:56
su-shivanshmathur pushed a commit that referenced this pull request Jun 16, 2026
…165)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants