Closed v0-e closed 2 weeks ago
The changes in this pull request involve renaming the Rust crate from "dydx-proto-rust"
to "dydx-proto"
across several files. The modifications are primarily found in Cargo.toml
, README.md
, and deny.toml
, where the package name and dependency references have been updated to reflect this new name. No other attributes or settings in these files have been altered.
File | Change Summary |
---|---|
v4-proto-rs/Cargo.toml | Package name updated from "dydx-proto-rust" to "dydx-proto" |
v4-proto-rs/README.md | Dependency name updated from dydx-proto-rust to dydx-proto |
v4-proto-rs/deny.toml | License clarification updated from "dydx-proto-rust" to "dydx-proto" |
Cargo.toml
file, specifically updating it to dydx-proto-rust
, which is directly related to the changes made in the main PR where the package name was changed to dydx-proto
.In a meadow where the bunnies play,
A name was changed, hip-hip-hooray!
From "rust" to "proto," a leap so spry,
Hopping along, we reach for the sky!
With every change, we dance and cheer,
For a brighter name, we hold so dear! 🐇✨
v4-proto-rs/deny.toml (1)
`34-34`: **LGTM! Crate name update aligns with PR objectives.** The change correctly updates the crate name in the license clarification section while maintaining the same license expression and file hash. Let's verify consistency with Cargo.toml:✅ Verification successful
**Crate name update is consistent across files** ✅ The verification confirms: - Cargo.toml correctly uses the new name `dydx-proto` - No remaining references to the old name `dydx-proto-rust` were found - The change in deny.toml is properly aligned with the package name🏁 Scripts executed
The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Description: Verify that the crate name in Cargo.toml matches the one in deny.toml # Test: Search for package name in Cargo.toml. Expect: name = "dydx-proto" rg -A 1 'name\s*=' v4-proto-rs/Cargo.toml # Test: Search for any remaining references to old crate name. Expect: No matches rg 'dydx-proto-rust' v4-proto-rs/ ``` Length of output: 115v4-proto-rs/README.md (2)
`9-9`: **LGTM! Dependency name updated correctly.** The dependency declaration has been updated from `dydx-proto-rust` to `dydx-proto` as intended. --- Line range hint `1-100`: **Verify no remaining references to old crate name.** Let's verify that no other mentions of the old crate name `dydx-proto-rust` remain in the README.✅ Verification successful
**No references to old crate name found** The search results confirm that only the new crate name `dydx-proto` is used in the README.md and Cargo.toml files. There are no remaining references to the old crate name `dydx-proto-rust`.🏁 Scripts executed
The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Search for any remaining references to the old crate name rg "dydx-proto-rust" "v4-proto-rs/README.md" # Also check other potential documentation files that might need updates fd -t f "README|\.md$" -X rg "dydx-proto-rust" ``` Length of output: 89 --- Script: ```shell #!/bin/bash # Let's verify by searching for both the old and new crate names to ensure we have context rg -i "dydx.?proto" "v4-proto-rs/README.md" # Also check Cargo.toml for the crate name cat "v4-proto-rs/Cargo.toml" # Check other potential documentation files fd -t f "README|\.md$" -X rg -i "dydx.?proto" ``` Length of output: 8817
Changelist
Changes Rust protocol buffers crate name to
dydx-proto
, removing the-rust
, since the crate name is available and using-rust
is redundant in Rust code.Test Plan
[Describe how this PR was tested (if applicable)]
Author/Reviewer Checklist
state-breaking
label.indexer-postgres-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.Summary by CodeRabbit
New Features
dydx-proto-rust
todydx-proto
, simplifying the package name for better clarity.Documentation
Configuration