Skip to content

Centralized dependencies#66

Open
gloskull wants to merge 2 commits into
ApexChainx:mainfrom
gloskull:centralized-dependencies
Open

Centralized dependencies#66
gloskull wants to merge 2 commits into
ApexChainx:mainfrom
gloskull:centralized-dependencies

Conversation

@gloskull

Copy link
Copy Markdown

Description

Centralizes shared package metadata and the soroban-sdk dependency in the root Cargo.toml to eliminate duplication, prevent version drift across workspace members, and simplify the addition and maintenance of future crates.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Related Issues

Fixes #41

Changes Made

  • Added [workspace.package] to the root Cargo.toml with shared edition, license, and repository metadata.
  • Added [workspace.dependencies] to the root Cargo.toml with soroban-sdk = "21.1.0" for centralized dependency management.
  • Updated apexchainx_calculator/Cargo.toml to inherit edition, license, and repository from the workspace.
  • Updated apexchainx_calculator/Cargo.toml to inherit soroban-sdk from the workspace while preserving crate-specific feature flags.

Testing

Describe the testing performed to validate these changes:

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

Manual verification included:

  • Confirmed the workspace builds successfully after centralizing metadata and dependencies.
  • Verified apexchainx_calculator correctly inherits workspace metadata and the shared soroban-sdk dependency while retaining its required feature flags.

Checklist

My code follows the project's style guidelines
I have performed a self-review of my own code
I have commented complex logic (where applicable)
I have updated relevant documentation
I have added tests that prove my fix is effective or that my feature works
New and existing unit tests pass locally with my changes
My changes do not introduce new warnings

Closes #41

google-labs-jules Bot and others added 2 commits June 26, 2026 11:42
Centralized common package metadata (edition, license, repository) and
the soroban-sdk dependency in the root Cargo.toml workspace configuration.
Updated apexchainx_calculator to inherit these properties.

Co-authored-by: gloskull <189399494+gloskull@users.noreply.github.com>
…9613984904

infra: centralize shared dependencies in [workspace.dependencies]
@gloskull

Copy link
Copy Markdown
Author

Done with this issue.
Please merge and give and high review.
Please if there are any more tasks, assign them to me, i'd make sure to get them done quickly and submit my PR's in under 5 hours

@Icahbod

Icahbod commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

@gloskull resolve conflicts.

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.

infra: centralize shared dependencies in [workspace.dependencies]

2 participants