Skip to content

Commit

Permalink
clean up cargo.tomls
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 29, 2024
1 parent 301512e commit 740d334
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 20 deletions.
34 changes: 19 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
[workspace]
resolver = "2"

members = ["ast", "host", "runtime", "transform", "util"]

[workspace.lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
absolute_paths = "warn"
field_reassign_with_default = "allow"
missing_safety_doc = "allow"
new_ret_no_self = "allow"

[package]
name = "hvm64"
version = "0.3.0"
version.workspace = true
edition = "2021"
description = "HVM-Core is a massively parallel Interaction Combinator evaluator."
license = "MIT"

[workspace.package]
version = "0.3.0"

[[bin]]
name = "hvm64"
path = "src/main.rs"
Expand Down Expand Up @@ -57,3 +46,18 @@ highlight_error = { git = "https://github.com/tjjfvi/rust_highlight_error/", bra
[[test]]
name = "tests"
harness = false

[lints]
workspace = true

[workspace]
resolver = "2"

[workspace.lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
absolute_paths = "warn"
field_reassign_with_default = "allow"
missing_safety_doc = "allow"
new_ret_no_self = "allow"
2 changes: 1 addition & 1 deletion ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hvm64-ast"
version = "0.3.0"
version.workspace = true
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion host/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hvm64-host"
version = "0.3.0"
version.workspace = true
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hvm64-runtime"
version = "0.3.0"
version.workspace = true
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion transform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hvm64-transform"
version = "0.3.0"
version.workspace = true
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hvm64-util"
version = "0.3.0"
version.workspace = true
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 740d334

Please sign in to comment.