Skip to content

Use package in manifest and shorten import#1742

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:03-24-package
Apr 5, 2023
Merged

Use package in manifest and shorten import#1742
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:03-24-package

Conversation

@tcharding
Copy link
Copy Markdown
Member

@tcharding tcharding commented Mar 23, 2023

We can use package to rename bitcoin_hashes to hashes and bitcoin_internals to internals. This makes imports more terse with no loss of meaning.

@tcharding tcharding force-pushed the 03-24-package branch 4 times, most recently from bdcd10d to a69f701 Compare March 23, 2023 23:52
sanket1729
sanket1729 previously approved these changes Mar 24, 2023
Copy link
Copy Markdown
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

ACK a69f70162230d3343294db9ad61380169ed2ec13

Kixunil
Kixunil previously approved these changes Mar 24, 2023
Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK a69f70162230d3343294db9ad61380169ed2ec13

@tcharding
Copy link
Copy Markdown
Member Author

Fixed schemars test by not changing the bitcoin_hashes import.

apoelstra
apoelstra previously approved these changes Mar 28, 2023
Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 6f905fc4a8178ba7c6dc1c07efbb1eb60cd51a11

We can use `package` to rename `bitcoin_hashes` to `hashes` and
`bitcoin_internals` to `internals`. This makes imports more terse with
no loss of meaning.
Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK fabcde0

@tcharding
Copy link
Copy Markdown
Member Author

@Kixunil and @sanket1729 you guys have ack'd but not approved, could you hit that button please.

Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK fabcde0

@apoelstra apoelstra merged commit e83a2d3 into rust-bitcoin:master Apr 5, 2023
@tcharding tcharding deleted the 03-24-package branch April 9, 2023 02:33
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.

4 participants