Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

rename crate to starknet_in_rust #696

Merged
merged 2 commits into from
Jun 27, 2023
Merged

rename crate to starknet_in_rust #696

merged 2 commits into from
Jun 27, 2023

Conversation

juanbono
Copy link
Collaborator

@juanbono juanbono commented Jun 27, 2023

Rename crate to starknet_in_rust

Description

This PR renames the crate name to starknet in rust.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.

Cargo.toml Outdated
Comment on lines 37 to 41
starknet-contract-class = { path = "crates/starknet-contract-class" }
starknet-contract-class = "0.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it better to keep a relative path, as it is a crate within the same workspace?. This would make sure all crates are up to date and no breaking changes pop up later

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can prevent issues such as this one: #590 (comment). Where code used by another crate was removed without any warning

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to publish it with a relative path and it asked me to change it to a pinned version

Copy link
Contributor

@MegaRedHand MegaRedHand Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In cairo-rs we have both a path and a version specified for the felt package. Maybe that way it works?

@juanbono juanbono merged commit 01010d5 into main Jun 27, 2023
@juanbono juanbono deleted the rename_to_starknet_in_rust branch June 27, 2023 17:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants