diff --git a/Cargo.toml b/Cargo.toml index d219ac41..5130e35f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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" diff --git a/ast/Cargo.toml b/ast/Cargo.toml index 4a6d9a3f..0ccca293 100644 --- a/ast/Cargo.toml +++ b/ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hvm64-ast" -version = "0.3.0" +version.workspace = true edition = "2021" [lib] diff --git a/host/Cargo.toml b/host/Cargo.toml index e337a6d5..e3e28ba2 100644 --- a/host/Cargo.toml +++ b/host/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hvm64-host" -version = "0.3.0" +version.workspace = true edition = "2021" [lib] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index c8cc6661..a9f8648c 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hvm64-runtime" -version = "0.3.0" +version.workspace = true edition = "2021" [lib] diff --git a/transform/Cargo.toml b/transform/Cargo.toml index 1024942e..54692452 100644 --- a/transform/Cargo.toml +++ b/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hvm64-transform" -version = "0.3.0" +version.workspace = true edition = "2021" [lib] diff --git a/util/Cargo.toml b/util/Cargo.toml index b2cfbf56..3c7210d8 100644 --- a/util/Cargo.toml +++ b/util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hvm64-util" -version = "0.3.0" +version.workspace = true edition = "2021" [dependencies]