difftreelog
chore(slop) cargo metadata
in: master
17 files changed
cmds/jrsonnet-deps/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-deps"2name = "jrsonnet-deps"3description = "List dependencies of a jsonnet file"3description = "Command-line tool that lists imports of a jsonnet file"4keywords = ["jsonnet", "dependencies", "cli"]5categories = ["command-line-utilities"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecmds/jrsonnet-fmt/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-fmt"2name = "jrsonnet-fmt"3description = "Jrsonnet code formatter CLI"3description = "Command-line jsonnet code formatter"4keywords = ["jsonnet", "formatter", "cli"]5categories = ["command-line-utilities", "development-tools"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecmds/jrsonnet/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet"2name = "jrsonnet"3description = "Rust jsonnet implementation"3description = "Rust implementation of the jsonnet command-line interpreter"4keywords = ["jsonnet", "json", "config", "cli"]5categories = ["command-line-utilities", "config", "template-engine"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-cli/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-cli"2name = "jrsonnet-cli"3description = "Utilities for building jrsonnet CLIs"3description = "Reusable clap-based building blocks for jrsonnet command-line tools"4keywords = ["jsonnet", "cli", "clap"]5categories = ["command-line-interface"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-evaluator/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-evaluator"2name = "jrsonnet-evaluator"3description = "jsonnet interpreter"3description = "Rust implementation of the jsonnet language interpreter"4keywords = ["jsonnet", "interpreter", "config"]5categories = ["compilers", "template-engine", "config"]6readme = "README.adoc"4authors.workspace = true7authors.workspace = true5edition.workspace = true8edition.workspace = true6license.workspace = true9license.workspace = truecrates/jrsonnet-evaluator/src/import.rsdiffbeforeafterboth9910use fs::File;10use fs::File;11use jrsonnet_gcmodule::Acyclic;11use jrsonnet_gcmodule::Acyclic;12use jrsonnet_interner::IBytes;13use jrsonnet_ir::{12use jrsonnet_ir::{14 IStr, SourceDefaultIgnoreJpath, SourceDirectory, SourceFifo, SourceFile, SourcePath,13 IStr, SourceDefaultIgnoreJpath, SourceDirectory, SourceFifo, SourceFile, SourcePath,15};14};160 path.canonicalize().map_err(|e| ImportIo(e.to_string()))?,159 path.canonicalize().map_err(|e| ImportIo(e.to_string()))?,161 ))));160 ))));162 }161 }163 let ty = meta.file_type();164 #[cfg(unix)]162 #[cfg(unix)]165 {163 {166 use std::os::unix::fs::FileTypeExt;164 use std::os::unix::fs::FileTypeExt;165166 use jrsonnet_interner::IBytes;167168 let ty = meta.file_type();169167 if ty.is_fifo() {170 if ty.is_fifo() {168 let file = fs::read(path).map_err(|e| ImportIo(format!("FIFO read failed: {e}")))?;171 let file = fs::read(path).map_err(|e| ImportIo(format!("FIFO read failed: {e}")))?;crates/jrsonnet-formatter/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-formatter"2name = "jrsonnet-formatter"3description = "Jrsonnet code formatter"3description = "Jsonnet source code formatter library"4keywords = ["jsonnet", "formatter"]5categories = ["development-tools"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-interner/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-interner"2name = "jrsonnet-interner"3description = "Jrsonnet string interning"3description = "String interner used by jrsonnet"4keywords = ["jsonnet", "interner", "string"]5categories = ["data-structures", "memory-management"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-ir-parser/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-ir-parser"2name = "jrsonnet-ir-parser"3description = "Jrsonnet hand-rolled parser which parses source directly into IR"3description = "Hand-rolled recursive-descent parser that produces jrsonnet IR directly"4keywords = ["jsonnet", "parser"]5categories = ["parser-implementations"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-ir/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-ir"2name = "jrsonnet-ir"3description = "jsonnet language parser and AST"3description = "Intermediate representation for the jsonnet language used by jrsonnet"4keywords = ["jsonnet", "ir", "ast"]5categories = ["compilers"]6readme = "README.adoc"4authors.workspace = true7authors.workspace = true5edition.workspace = true8edition.workspace = true6license.workspace = true9license.workspace = truecrates/jrsonnet-lexer/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-lexer"2name = "jrsonnet-lexer"3description = "Jrsonnet lexer shared between rowan and hand-rolled parser"3description = "Jsonnet lexer shared between the rowan-based and hand-rolled jrsonnet parsers"4keywords = ["jsonnet", "lexer"]5categories = ["parser-implementations"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-macros/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-macros"2name = "jrsonnet-macros"3description = "Macros to reduce boilerplate in jrsonnet-evaluator usage"3description = "Procedural macros to reduce boilerplate in jrsonnet-evaluator usage"4keywords = ["jsonnet", "macros"]5categories = ["development-tools::procedural-macro-helpers"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-peg-parser/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-peg-parser"2name = "jrsonnet-peg-parser"3description = "Legacy peg-based parser for jrsonnet"3description = "Legacy PEG-based parser producing jrsonnet IR"4keywords = ["jsonnet", "parser", "peg"]5categories = ["parser-implementations"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-rowan-parser/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-rowan-parser"2name = "jrsonnet-rowan-parser"3description = "Rowan-based CST for jrsonnet"3description = "Rowan-based concrete syntax tree parser for jsonnet, suitable for tooling and LSP"4keywords = ["jsonnet", "parser", "rowan", "cst"]5categories = ["parser-implementations"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-rowan-parser/src/ast.rsdiffbeforeafterboth777778 use super::{AstChildren, AstNode, AstToken, SyntaxKind, SyntaxNode, SyntaxToken};78 use super::{AstChildren, AstNode, AstToken, SyntaxKind, SyntaxNode, SyntaxToken};797980 pub fn child<N: AstNode>(parent: &SyntaxNode) -> Option<N> {81 parent.children().find_map(N::cast)82 }83 pub fn token_child<N: AstToken>(parent: &SyntaxNode) -> Option<N> {80 pub fn token_child<N: AstToken>(parent: &SyntaxNode) -> Option<N> {84 parent.children_with_tokens().find_map(|n| match n {81 parent.children_with_tokens().find_map(|n| match n {85 rowan::NodeOrToken::Node(_) => None,82 rowan::NodeOrToken::Node(_) => None,crates/jrsonnet-stdlib/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-stdlib"2name = "jrsonnet-stdlib"3description = "jsonnet standard library packaged as crate"3description = "Jsonnet standard library implementation for jrsonnet"4keywords = ["jsonnet", "stdlib"]5categories = ["template-engine"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = truecrates/jrsonnet-types/Cargo.tomldiffbeforeafterboth1[package]1[package]2name = "jrsonnet-types"2name = "jrsonnet-types"3description = "Jrsonnet type system definition"3description = "Type system definitions used by jrsonnet"4keywords = ["jsonnet", "types"]5categories = ["data-structures"]4authors.workspace = true6authors.workspace = true5edition.workspace = true7edition.workspace = true6license.workspace = true8license.workspace = true