refactor: rename package from tartarus to hyperswitch-card-vault#165
Merged
Conversation
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>
…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>
SanchithHegde
approved these changes
Jun 12, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
tartarusreferences for consistency.Changes
Functional (build-affecting):
Cargo.toml: packagenametartarus→hyperswitch-card-vault(lib crate is imported ashyperswitch_card_vault— Cargo normalizes hyphens to underscores)Cargo.lock: regeneratedsrc/bin/locker.rs,src/bin/utils.rs:use tartarus::→use hyperswitch_card_vault::benches/{luhn-test,hashing,encryption}.rs: bench imports updatedsrc/crypto/hash_manager/managers/sha.rs: rustdoc doctest imports updated.github/workflows/{CI-pr,CI-push}.yml:--package tartarus→--package hyperswitch-card-vaultCosmetic (docs):
README.md: product name updated to "Hyperswitch Card Vault"docs/openapi/spec.yml,docs/openapi-v2/spec.yml: OpenAPI titlesdocs/collection/Tartarus.postman_collection.json→hyperswitch-card-vault.postman_collection.json(renamed +namefield), reference updated indocs/guides/testing.mdDeployment impact
None. The binaries remain
locker/utils, and the Docker image and database names never referencedtartarus.Verification
cargo build --all-targets✅ (produceslockerandutilsbinaries)cargo test✅ (full suite, incl. doctests)rg -i tartarus(excl.target/) → no matches🤖 Generated with Claude Code