Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: move cli in to hugr-cli sub-crate #1107

Merged
merged 4 commits into from
May 28, 2024
Merged

feat!: move cli in to hugr-cli sub-crate #1107

merged 4 commits into from
May 28, 2024

Conversation

ss2165
Copy link
Member

@ss2165 ss2165 commented May 24, 2024

BREAKING CHANGE: cli library no longer available from hugr::cli

@ss2165 ss2165 requested a review from aborgna-q May 24, 2024 10:48
@CQCL CQCL deleted a comment from github-actions bot May 28, 2024
@ss2165 ss2165 force-pushed the ss/hugr-cli branch 2 times, most recently from ee3315b to c21e0b0 Compare May 28, 2024 14:12
Comment on lines 17 to 18
clap = {workspace = true, features = ["derive"]}
clap-stdin = "0.4.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Define the versions in the workspace's Cargo.toml.
Same for the dev-dependencies.

You can use cargo-autoinherit to automate it.

hugr-cli/Cargo.toml Outdated Show resolved Hide resolved
hugr/Cargo.toml Outdated Show resolved Hide resolved
release-plz.toml Outdated Show resolved Hide resolved
@ss2165 ss2165 marked this pull request as ready for review May 28, 2024 14:24
@ss2165 ss2165 requested review from cqc-alec and a team as code owners May 28, 2024 14:24
ss2165 and others added 4 commits May 28, 2024 15:35
Copy link
Collaborator

@aborgna-q aborgna-q left a comment

Choose a reason for hiding this comment

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

LGTM

@ss2165 ss2165 added this pull request to the merge queue May 28, 2024
Merged via the queue into main with commit 766e5c3 May 28, 2024
13 of 16 checks passed
@ss2165 ss2165 deleted the ss/hugr-cli branch May 28, 2024 14:47
This was referenced May 28, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 29, 2024
## 🤖 New release
* `hugr`: 0.4.0 -> 0.5.0
* `hugr-cli`: 0.1.0
* `hugr-core`: 0.1.0
* `hugr-passes`: 0.1.0

<details><summary><i><b>Changelog</b></i></summary><p>

## `hugr`
<blockquote>

## 0.5.0 (2024-05-29)

### Bug Fixes

- Missing re-exports in `hugr::hugr`
([#1127](#1127))
- Set initial version of hugr-core to 0.1.0
([#1129](#1129))

### Features

- [**breaking**] Remove `PartialEq` impl for `ConstF64`
([#1079](#1079))
- [**breaking**] Allow "Row Variables" declared as List<Type>
([#804](#804))
- Hugr binary cli tool ([#1096](#1096))
- [**breaking**] Move passes from `algorithms` into a separate crate
([#1100](#1100))
- [**breaking**] Disallow nonlocal value edges into FuncDefn's
([#1061](#1061))
- [**breaking**] Move cli in to hugr-cli sub-crate
([#1107](#1107))
- Add verbosity, return `Hugr` from `run`.
([#1116](#1116))
- Unseal and make public the traits `HugrInternals` and
`HugrMutInternals` ([#1122](#1122))

### Refactor

- [**breaking**] No Ports in TypeRow
([#1087](#1087))
- Add a `hugr-core` crate
([#1108](#1108))
</blockquote>

## `hugr-core`
<blockquote>

## 0.1.0 (2024-05-29)

### Bug Fixes

- Set initial version of hugr-core to 0.1.0
([#1129](#1129))

### Features

- [**breaking**] Move cli in to hugr-cli sub-crate
([#1107](#1107))
- Make internals of int ops and the "int" CustomType more public.
([#1114](#1114))
- Unseal and make public the traits `HugrInternals` and
`HugrMutInternals` ([#1122](#1122))

### Refactor

- Add a `hugr-core` crate
([#1108](#1108))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Co-authored-by: Agustin Borgna <[email protected]>
@hugrbot hugrbot mentioned this pull request May 30, 2024
This was referenced Jun 3, 2024
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.

2 participants