Skip to content

Commit

Permalink
doc: Crate name as README title + add reexport (#199)
Browse files Browse the repository at this point in the history
* doc: Crate name as README title

* Add usage section for package vs crate name
  • Loading branch information
aborgna-q authored Jun 22, 2023
1 parent 1d5288f commit 1ba14b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
hugr
====
quantinuum-hugr
===============

[![build_status][]](https://github.com/CQCL/hugr/actions)
[![msrv][]](https://github.com/CQCL/hugr)
Expand All @@ -17,6 +17,17 @@ The HUGR specification (still in draft) is [here](specification/hugr.md).

- `pyo3`: Enable Python bindings via pyo3.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
quantinuum-hugr = "0.1"
```

The library crate is called `hugr`.

## License

This project is licensed under Apache License, Version 2.0 ([LICENSE][] or http://www.apache.org/licenses/LICENSE-2.0).
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ pub mod types;
mod utils;

pub use crate::hugr::{
Direction, Hugr, Node, Port, Replace, ReplaceError, SimpleReplacement, Wire,
Direction, Hugr, HugrView, Node, Port, Replace, ReplaceError, SimpleReplacement, Wire,
};
pub use crate::resource::Resource;

0 comments on commit 1ba14b0

Please sign in to comment.