Files
powdr/Cargo.toml
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

81 lines
2.4 KiB
TOML

[workspace]
resolver = "2"
members = [
"powdr",
"powdr-test",
"number",
"parser",
"cargo-powdr",
"cli",
"cli-rs",
"executor",
"jit-compiler",
"riscv",
"parser-util",
"pil-analyzer",
"pipeline",
"pilopt",
"plonky3",
"asm-to-pil",
"backend",
"ast",
"analysis",
"linker",
"isa-utils",
"airgen",
"riscv-executor",
"riscv-syscalls",
"schemas",
"backend-utils",
]
exclude = [ "riscv-runtime" ]
[workspace.package]
version = "0.1.0-alpha.2"
edition = "2021"
license = "MIT"
homepage = "https://powdr.org"
repository = "https://github.com/powdr-labs/powdr"
[workspace.dependencies]
# workspace crates
powdr = { path = "./powdr", version = "0.1.0-alpha.2" }
powdr-airgen = { path = "./airgen", version = "0.1.0-alpha.2" }
powdr-ast = { path = "./ast", version = "0.1.0-alpha.2" }
powdr-asm-to-pil = { path = "./asm-to-pil", version = "0.1.0-alpha.2" }
powdr-isa-utils = { path = "./isa-utils", version = "0.1.0-alpha.2" }
powdr-analysis = { path = "./analysis", version = "0.1.0-alpha.2" }
powdr-backend = { path = "./backend", version = "0.1.0-alpha.2" }
powdr-backend-utils = { path = "./backend-utils", version = "0.1.0-alpha.2" }
powdr-executor = { path = "./executor", version = "0.1.0-alpha.2" }
powdr-importer = { path = "./importer", version = "0.1.0-alpha.2" }
powdr-jit-compiler = { path = "./jit-compiler", version = "0.1.0-alpha.2" }
powdr-linker = { path = "./linker", version = "0.1.0-alpha.2" }
powdr-number = { path = "./number", version = "0.1.0-alpha.2" }
powdr-parser = { path = "./parser", version = "0.1.0-alpha.2" }
powdr-parser-util = { path = "./parser-util", version = "0.1.0-alpha.2" }
powdr-pil-analyzer = { path = "./pil-analyzer", version = "0.1.0-alpha.2" }
powdr-pilopt = { path = "./pilopt", version = "0.1.0-alpha.2" }
powdr-pipeline = { path = "./pipeline", version = "0.1.0-alpha.2" }
powdr-riscv = { path = "./riscv", version = "0.1.0-alpha.2" }
powdr-riscv-executor = { path = "./riscv-executor", version = "0.1.0-alpha.2" }
powdr-riscv-syscalls = { path = "./riscv-syscalls", version = "0.1.0-alpha.2" }
powdr-schemas = { path = "./schemas", version = "0.1.0-alpha.2" }
[profile.pr-tests]
inherits = "dev"
opt-level = 3
debug = "line-tables-only"
debug-assertions = true
overflow-checks = true
panic = 'unwind'
incremental = true # This is true because target is cached
codegen-units = 256
[profile.release-with-debug]
inherits = "release"
debug = true