mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
Dogfood dict unpack syntax in Cargo.rcl files
This does look more pleasant, yay! I do notice that I find '...' tedious to write though, and maybe a bit too verbose. Maybe I want to change that to '..' after all, even for dicts. But we can do that later, let's see how this goes.
This commit is contained in:
parent
730b5478d3
commit
036dead934
4 changed files with 34 additions and 35 deletions
|
|
@ -1,14 +1,13 @@
|
|||
let root = import "//Cargo.rcl";
|
||||
|
||||
{
|
||||
package =
|
||||
root.package
|
||||
| {
|
||||
name = "rcl-fuzz",
|
||||
description = "Fuzz targets and helpers for testing RCL.",
|
||||
publish = false,
|
||||
metadata = { cargo-fuzz = true },
|
||||
},
|
||||
package = {
|
||||
...root.package,
|
||||
name = "rcl-fuzz",
|
||||
description = "Fuzz targets and helpers for testing RCL.",
|
||||
publish = false,
|
||||
metadata = { cargo-fuzz = true },
|
||||
},
|
||||
|
||||
dependencies = {
|
||||
arbitrary = { version = "1.3.0", features = ["derive"] },
|
||||
|
|
|
|||
|
|
@ -1,27 +1,29 @@
|
|||
let root = import "//Cargo.rcl";
|
||||
|
||||
{
|
||||
package =
|
||||
root.package
|
||||
| {
|
||||
name = "tree-sitter-rcl",
|
||||
description = "RCL grammar for the tree-sitter parsing library.",
|
||||
keywords = ["incremental", "parsing", "rcl"],
|
||||
categories = ["parsing", "text-editors"],
|
||||
build = "bindings/rust/build.rs",
|
||||
include = [
|
||||
"bindings/rust/*",
|
||||
"grammar.js",
|
||||
"queries/*",
|
||||
"src/*",
|
||||
],
|
||||
},
|
||||
package = {
|
||||
...root.package,
|
||||
name = "tree-sitter-rcl",
|
||||
description = "RCL grammar for the tree-sitter parsing library.",
|
||||
keywords = ["incremental", "parsing", "rcl"],
|
||||
categories = ["parsing", "text-editors"],
|
||||
build = "bindings/rust/build.rs",
|
||||
include = [
|
||||
"bindings/rust/*",
|
||||
"grammar.js",
|
||||
"queries/*",
|
||||
"src/*",
|
||||
],
|
||||
},
|
||||
|
||||
lib = {
|
||||
path = "bindings/rust/lib.rs",
|
||||
},
|
||||
|
||||
dependencies = {
|
||||
tree-sitter = "0.20.10",
|
||||
},
|
||||
|
||||
build-dependencies = {
|
||||
cc = "1.0",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
let root = import "//Cargo.rcl";
|
||||
|
||||
{
|
||||
package =
|
||||
root.package
|
||||
| {
|
||||
name = "pyrcl",
|
||||
description = "Python bindings to the RCL configuration language.",
|
||||
},
|
||||
package = {
|
||||
...root.package,
|
||||
name = "pyrcl",
|
||||
description = "Python bindings to the RCL configuration language.",
|
||||
},
|
||||
|
||||
lib = {
|
||||
crate-type = ["cdylib"],
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
let root = import "//Cargo.rcl";
|
||||
|
||||
{
|
||||
package =
|
||||
root.package
|
||||
| {
|
||||
name = "rcl-wasm",
|
||||
description = "WASM entry points for RCL functionality.",
|
||||
},
|
||||
package = {
|
||||
...root.package,
|
||||
name = "rcl-wasm",
|
||||
description = "WASM entry points for RCL functionality.",
|
||||
},
|
||||
|
||||
lib = { crate-type = ["cdylib"] },
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue