Commit Graph

3 Commits

Author SHA1 Message Date
Thibaut Schaeffer
2d6708bbc5 Add openvm crates (#2714)
Based on commit 1dbe4db
- Split into two crates, lib and cli
- upgrade stwo, marked one stwo test `should_panic` @ShuangWu121 
- various clippy and fmt fixes linked to the rust version update
- bring all rust versions to 2025-05-14. CI still installs other
versions for openvm which uses them internally. The stable rust version
we test on is bumped to 1.85
- remove `examples` and related tests, which test the powdr crate on the
previous version of powdr (since it uses another nightly). Happy to
discuss this if it's important @leonardoalt
2025-05-16 14:30:09 +00:00
chriseth
59bd7d2b69 Update nightly toolchains. (#2518)
I'm not really sure if this is the right fix. For the riscv targets, we
are using nightly-2024-08-01 - is that on purpose? Maybe we should keep
the examples on 2024-08-01 as well?
2025-03-05 11:56:41 +00:00
Leo
8acfa6ba2c cargo powdr (#1969)
cargo CLI tool to generate powdr host/guest templates, install tooling,
etc. Currently only does the former.

The template was copied from the latest version of
https://github.com/powdr-labs/powdr-template . Should we also copy
README?

It can be installed via the cmd below, and it's quite quick:
```console
cargo install --git https://github.com/powdr-labs/powdr --branch cargo-powdr cargo-powdr
```
(without the branch after it's merged)

It can be used via any of these options:
```console
$ cargo-powdr new # creates project 'my-powdr-host' with guest dir 'guest' and guest name 'my-powdr-guest'
$ cargo-powdr new host # creates project 'host' with guest dir 'guest' and guest name 'my-powdr-guest'
$ cargo-powdr new host111 --guest-name guest222 # creates project 'host111' with guest dir 'guest' and guest name 'guest222'
```
2024-10-29 12:21:38 +00:00