deps(deps): added workspace dependency catalog and updated crate manifests
- Added a workspace dependency catalog in `Cargo.toml` for internal and external crates. - Replaced explicit dependency specs and pinned versions with workspace references in crate manifests. - Removed inline dependency overrides such as feature flags, renames, and package metadata. - Consolidated platform-specific target deps (`libc`, `winreg`, `windows-sys`, `parking_lot`) to workspace entries.
This commit is contained in:
+277
-25
@@ -49,8 +49,16 @@ split-debuginfo = "unpacked"
|
|||||||
opt-level = 2
|
opt-level = 2
|
||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
|
[workspace.lints.rust]
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Rust Lint Levels
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
mismatched_lifetime_syntaxes = "allow"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Base Lint Levels
|
# Base Lint Levels
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
all = { level = "warn", priority = -1 }
|
all = { level = "warn", priority = -1 }
|
||||||
correctness = { level = "deny", priority = -1 }
|
correctness = { level = "deny", priority = -1 }
|
||||||
nursery = { level = "warn", priority = -1 }
|
nursery = { level = "warn", priority = -1 }
|
||||||
@@ -59,54 +67,298 @@ perf = { level = "warn", priority = -1 }
|
|||||||
style = { level = "warn", priority = -1 }
|
style = { level = "warn", priority = -1 }
|
||||||
suspicious = { level = "deny", priority = -1 }
|
suspicious = { level = "deny", priority = -1 }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Meta: Lint Attributes
|
# Meta: Lint Attributes
|
||||||
allow_attributes_without_reason = "warn"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
allow_attributes_without_reason = "warn" # Enforce reason for all #[allow]
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Safety & Unsafe Code
|
# Safety & Unsafe Code
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
borrow_as_ptr = "allow"
|
||||||
|
cast_ptr_alignment = "allow"
|
||||||
|
ptr_as_ptr = "allow"
|
||||||
|
ref_as_ptr = "allow"
|
||||||
undocumented_unsafe_blocks = "warn"
|
undocumented_unsafe_blocks = "warn"
|
||||||
|
unsafe_derive_deserialize = "allow"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Numeric Casts & Conversions
|
# Numeric Casts & Conversions
|
||||||
cast_lossless = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
cast_possible_truncation = "allow"
|
cast_lossless = "allow" # u32 as u64 - 'as' is cleaner than From
|
||||||
cast_possible_wrap = "allow"
|
cast_possible_truncation = "allow" # u64 as u32 - often intentional
|
||||||
cast_precision_loss = "allow"
|
cast_possible_wrap = "allow" # u32 as i32 - can be intentional
|
||||||
cast_sign_loss = "allow"
|
cast_precision_loss = "allow" # f64 as f32 - sometimes acceptable
|
||||||
|
cast_sign_loss = "allow" # i32 as u32 - sometimes needed
|
||||||
|
tuple_array_conversions = "allow" # Non-Into conversion is more clear
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Floating Point
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
float_cmp = "allow" # Tests mostly do this + we know what we're doing
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Functions & Closures
|
# Functions & Closures
|
||||||
inline_always = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
must_use_candidate = "allow"
|
inline_always = "allow" # Needed for performance-critical code
|
||||||
|
must_use_candidate = "allow" # Not every function needs #[must_use]
|
||||||
needless_pass_by_value = "allow"
|
needless_pass_by_value = "allow"
|
||||||
redundant_closure_for_method_calls = "allow"
|
redundant_closure_for_method_calls = "allow" # .map(ToString::to_string) can be clearer
|
||||||
return_self_not_must_use = "allow"
|
return_self_not_must_use = "allow" # Builder pattern methods
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Structs & Types
|
# Structs & Types
|
||||||
missing_fields_in_debug = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
struct_excessive_bools = "allow"
|
inconsistent_struct_constructor = "allow"
|
||||||
|
missing_fields_in_debug = "allow" # Not every field needs to be in Debug output
|
||||||
|
struct_excessive_bools = "allow" # Usually with builders
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Pattern Matching
|
# Pattern Matching
|
||||||
match_same_arms = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
match_wildcard_for_single_variants = "allow"
|
match_same_arms = "allow" # Can be intentional for clarity
|
||||||
option_if_let_else = "allow"
|
match_wildcard_for_single_variants = "allow" # _ can be clearer than listing variants
|
||||||
|
option_if_let_else = "allow" # match/if-let-else often clearer
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Imports & Module Organization
|
# Imports & Module Organization
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
enum_glob_use = "allow"
|
enum_glob_use = "allow"
|
||||||
items_after_statements = "allow"
|
items_after_statements = "allow" # Sometimes more readable
|
||||||
wildcard_imports = "allow"
|
wildcard_imports = "allow" # Cleaner for preludes and test modules
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Variables & Type Inference
|
# Variables & Type Inference
|
||||||
similar_names = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
let_underscore_untyped = "allow" # Type obvious from context
|
||||||
|
similar_names = "allow" # 'req' and 'res' together are fine
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Literals & Formatting
|
# Literals & Formatting
|
||||||
unreadable_literal = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
unreadable_literal = "allow" # 10_000_000 vs 0xDEADBEEF is context dependent
|
||||||
|
verbose_bit_mask = "allow" # Explicit bit patterns can be clearer than hex
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Code Style
|
# Code Style
|
||||||
default_trait_access = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
significant_drop_tightening = "allow"
|
default_trait_access = "allow" # Default::default() sometimes clearer
|
||||||
|
significant_drop_tightening = "allow" # We pay attention to this already
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Documentation
|
# Documentation
|
||||||
missing_errors_doc = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
missing_panics_doc = "allow"
|
missing_errors_doc = "allow" # Documenting every error return is often redundant
|
||||||
|
missing_panics_doc = "allow" # Not every panic needs docs, especially assert!
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
# Complexity
|
# Complexity
|
||||||
too_many_lines = "allow"
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
too_many_arguments = "allow"
|
too_many_arguments = "allow" # Argument count is rarely the real complexity signal
|
||||||
|
too_many_lines = "allow" # Arbitrary limits don't account for necessary complexity
|
||||||
|
|
||||||
|
[workspace.dependencies]
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Internal Libraries
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
pi-ast = { path = "crates/pi-ast" }
|
||||||
|
pi-iso = { path = "crates/pi-iso" }
|
||||||
|
pi-shell = { path = "crates/pi-shell" }
|
||||||
|
brush-core = { path = "crates/brush-core-vendored" }
|
||||||
|
brush-builtins = { path = "crates/brush-builtins-vendored" }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Async Runtime & Concurrency
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
async-trait = "0.1"
|
||||||
|
dashmap = "6.1"
|
||||||
|
parking_lot = "0.12.5"
|
||||||
|
rayon = "1.12"
|
||||||
|
tokio = { version = "1", features = ["full"] }
|
||||||
|
tokio-util = { version = "0.7", features = ["full"] }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Serialization & Data Formats
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
serde_json = { version = "1.0", features = ["preserve_order"] }
|
||||||
|
toml = "1.1"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Error Handling
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
anyhow = "1.0"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# CLI & Configuration
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
clap = { version = "4", features = ["derive"] }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Text Processing & Parsing
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
regex = "1"
|
||||||
|
similar = "3.1.0"
|
||||||
|
unicode-segmentation = "1.13"
|
||||||
|
unicode-width = "0.2"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Data Structures - Collections
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
phf = { version = "0.13", features = ["macros"] }
|
||||||
|
smallvec = { version = "1.15.1", features = [
|
||||||
|
"serde",
|
||||||
|
"write",
|
||||||
|
"union",
|
||||||
|
"const_new",
|
||||||
|
] }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Hashing
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
xxhash-rust = { version = "0.8", features = ["xxh64"] }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Memory Management & Allocators
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
memmap2 = "0.9"
|
||||||
|
mimalloc = "0.1"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# System & Platform
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
libc = "0.2"
|
||||||
|
os_pipe = "1"
|
||||||
|
windows-sys = { version = "0.61", features = [
|
||||||
|
"Win32_Foundation",
|
||||||
|
"Win32_Storage_FileSystem",
|
||||||
|
"Win32_Storage_ProjectedFileSystem",
|
||||||
|
"Win32_System_Com",
|
||||||
|
"Win32_System_LibraryLoader",
|
||||||
|
"Win32_System_IO",
|
||||||
|
"Win32_System_Ioctl",
|
||||||
|
] }
|
||||||
|
winreg = "0.56"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Node.js Bindings (NAPI)
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
napi = { version = "3", features = ["napi10", "tokio_rt", "tokio_time"] }
|
||||||
|
napi-build = "2"
|
||||||
|
napi-derive = "3"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Terminal & PTY
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
arboard = { version = "3.6.1", features = ["wayland-data-control"] }
|
||||||
|
icy_sixel = "0.5"
|
||||||
|
portable-pty = "0.9"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Search & File Walking
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
globset = "0.4"
|
||||||
|
grep-matcher = "0.1"
|
||||||
|
grep-regex = "0.1"
|
||||||
|
grep-searcher = "0.1"
|
||||||
|
ignore = "0.4"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Image Processing & Syntax Highlighting
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
image = { version = "0.25", default-features = false, features = [
|
||||||
|
"png",
|
||||||
|
"jpeg",
|
||||||
|
"gif",
|
||||||
|
"webp",
|
||||||
|
] }
|
||||||
|
inferno = { version = "0.12", default-features = false }
|
||||||
|
syntect = { version = "5.3", default-features = false, features = [
|
||||||
|
"default-syntaxes",
|
||||||
|
"default-themes",
|
||||||
|
"regex-fancy",
|
||||||
|
] }
|
||||||
|
webp = "0.3"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Markup Conversion
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
html-to-markdown-rs = { version = "2.24", default-features = false }
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Tokenization
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
tiktoken-rs = "0.11"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Shell Parsing
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
brush-parser = "0.3"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# AST & Tree-Sitter
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
ast-grep-core = { version = "0.39", default-features = false, features = [
|
||||||
|
"tree-sitter",
|
||||||
|
] }
|
||||||
|
tree-sitter = "0.25"
|
||||||
|
tree-sitter-astro = { version = "0.1.1", package = "tree-sitter-astro-next" }
|
||||||
|
tree-sitter-bash = "0.25"
|
||||||
|
tree-sitter-c = "0.24"
|
||||||
|
tree-sitter-c-sharp = "0.23"
|
||||||
|
tree-sitter-clojure = "0.1"
|
||||||
|
tree-sitter-cmake = "0.7.1"
|
||||||
|
tree-sitter-cpp = "0.23"
|
||||||
|
tree-sitter-css = "0.25"
|
||||||
|
tree-sitter-dart = "0.2"
|
||||||
|
tree-sitter-diff = "0.1"
|
||||||
|
tree-sitter-dockerfile = { version = "0.2.0", package = "tree-sitter-dockerfile-updated" }
|
||||||
|
tree-sitter-elixir = "0.3"
|
||||||
|
tree-sitter-erlang = "0.16.0"
|
||||||
|
tree-sitter-go = "0.25"
|
||||||
|
tree-sitter-graphql = "0.1.0"
|
||||||
|
tree-sitter-haskell = "0.23"
|
||||||
|
tree-sitter-hcl = "1.1"
|
||||||
|
tree-sitter-html = "0.23"
|
||||||
|
tree-sitter-ini = "1.4.0"
|
||||||
|
tree-sitter-java = "0.23"
|
||||||
|
tree-sitter-javascript = "0.25"
|
||||||
|
tree-sitter-json = "0.24"
|
||||||
|
tree-sitter-julia = "0.23"
|
||||||
|
tree-sitter-just = "0.2.0"
|
||||||
|
tree-sitter-kotlin = { version = "0.4", package = "tree-sitter-kotlin-sg" }
|
||||||
|
tree-sitter-lua = "0.5"
|
||||||
|
tree-sitter-make = "1.1"
|
||||||
|
tree-sitter-md = "0.5"
|
||||||
|
tree-sitter-nix = "0.3"
|
||||||
|
tree-sitter-objc = "3.0"
|
||||||
|
tree-sitter-ocaml = "0.24.2"
|
||||||
|
tree-sitter-odin = "1.3"
|
||||||
|
tree-sitter-perl = { version = "0.1.0", package = "tree-sitter-perl-next" }
|
||||||
|
tree-sitter-php = "0.24"
|
||||||
|
tree-sitter-powershell = "0.26.4"
|
||||||
|
tree-sitter-proto = "0.4.0"
|
||||||
|
tree-sitter-python = "0.25"
|
||||||
|
tree-sitter-r = "1.2.0"
|
||||||
|
tree-sitter-regex = "0.25"
|
||||||
|
tree-sitter-ruby = "0.23"
|
||||||
|
tree-sitter-rust = "0.24"
|
||||||
|
tree-sitter-scala = "0.26"
|
||||||
|
tree-sitter-solidity = "1.2"
|
||||||
|
tree-sitter-sql = { version = "0.3.11", package = "tree-sitter-sequel" }
|
||||||
|
tree-sitter-starlark = "1.3"
|
||||||
|
tree-sitter-svelte = { version = "0.1.1", package = "tree-sitter-svelte-next" }
|
||||||
|
tree-sitter-swift = "0.7"
|
||||||
|
tree-sitter-tlaplus = "1.5"
|
||||||
|
tree-sitter-toml-ng = "0.7"
|
||||||
|
tree-sitter-typescript = "0.23"
|
||||||
|
tree-sitter-verilog = "1.0"
|
||||||
|
tree-sitter-vue = { version = "0.1.0", package = "tree-sitter-vue-next" }
|
||||||
|
tree-sitter-xml = "0.7"
|
||||||
|
tree-sitter-yaml = "0.7"
|
||||||
|
tree-sitter-zig = "1.1"
|
||||||
|
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
# Unsorted (added by `cargo add` - move into a section above)
|
||||||
|
# ──────────────────────────────────────────────────────────────────────────────
|
||||||
|
|||||||
+62
-62
@@ -10,65 +10,65 @@ repository.workspace = true
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow.workspace = true
|
||||||
ast-grep-core = { version = "0.39", default-features = false, features = ["tree-sitter"] }
|
ast-grep-core.workspace = true
|
||||||
globset = "0.4"
|
globset.workspace = true
|
||||||
ignore = "0.4"
|
ignore.workspace = true
|
||||||
phf = { version = "0.13", features = ["macros"] }
|
phf.workspace = true
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde.workspace = true
|
||||||
tree-sitter = "0.25"
|
tree-sitter.workspace = true
|
||||||
tree-sitter-astro = { version = "0.1.1", package = "tree-sitter-astro-next" }
|
tree-sitter-astro.workspace = true
|
||||||
tree-sitter-bash = "0.25"
|
tree-sitter-bash.workspace = true
|
||||||
tree-sitter-c = "0.24"
|
tree-sitter-c.workspace = true
|
||||||
tree-sitter-clojure = "0.1"
|
tree-sitter-clojure.workspace = true
|
||||||
tree-sitter-cmake = "0.7.1"
|
tree-sitter-cmake.workspace = true
|
||||||
tree-sitter-c-sharp = "0.23"
|
tree-sitter-c-sharp.workspace = true
|
||||||
tree-sitter-cpp = "0.23"
|
tree-sitter-cpp.workspace = true
|
||||||
tree-sitter-dart = "0.2"
|
tree-sitter-dart.workspace = true
|
||||||
tree-sitter-css = "0.25"
|
tree-sitter-css.workspace = true
|
||||||
tree-sitter-diff = "0.1"
|
tree-sitter-diff.workspace = true
|
||||||
tree-sitter-dockerfile = { version = "0.2.0", package = "tree-sitter-dockerfile-updated" }
|
tree-sitter-dockerfile.workspace = true
|
||||||
tree-sitter-elixir = "0.3"
|
tree-sitter-elixir.workspace = true
|
||||||
tree-sitter-erlang = "0.16.0"
|
tree-sitter-erlang.workspace = true
|
||||||
tree-sitter-go = "0.25"
|
tree-sitter-go.workspace = true
|
||||||
tree-sitter-graphql = "0.1.0"
|
tree-sitter-graphql.workspace = true
|
||||||
tree-sitter-haskell = "0.23"
|
tree-sitter-haskell.workspace = true
|
||||||
tree-sitter-hcl = "1.1"
|
tree-sitter-hcl.workspace = true
|
||||||
tree-sitter-html = "0.23"
|
tree-sitter-html.workspace = true
|
||||||
tree-sitter-ini = "1.4.0"
|
tree-sitter-ini.workspace = true
|
||||||
tree-sitter-java = "0.23"
|
tree-sitter-java.workspace = true
|
||||||
tree-sitter-javascript = "0.25"
|
tree-sitter-javascript.workspace = true
|
||||||
tree-sitter-json = "0.24"
|
tree-sitter-json.workspace = true
|
||||||
tree-sitter-just = "0.2.0"
|
tree-sitter-just.workspace = true
|
||||||
tree-sitter-julia = "0.23"
|
tree-sitter-julia.workspace = true
|
||||||
tree-sitter-kotlin = { version = "0.4", package = "tree-sitter-kotlin-sg" }
|
tree-sitter-kotlin.workspace = true
|
||||||
tree-sitter-lua = "0.5"
|
tree-sitter-lua.workspace = true
|
||||||
tree-sitter-make = "1.1"
|
tree-sitter-make.workspace = true
|
||||||
tree-sitter-md = "0.5"
|
tree-sitter-md.workspace = true
|
||||||
tree-sitter-nix = "0.3"
|
tree-sitter-nix.workspace = true
|
||||||
tree-sitter-objc = "3.0"
|
tree-sitter-objc.workspace = true
|
||||||
tree-sitter-ocaml = "0.24.2"
|
tree-sitter-ocaml.workspace = true
|
||||||
tree-sitter-odin = "1.3"
|
tree-sitter-odin.workspace = true
|
||||||
tree-sitter-perl = { version = "0.1.0", package = "tree-sitter-perl-next" }
|
tree-sitter-perl.workspace = true
|
||||||
tree-sitter-php = "0.24"
|
tree-sitter-php.workspace = true
|
||||||
tree-sitter-powershell = "0.26.4"
|
tree-sitter-powershell.workspace = true
|
||||||
tree-sitter-proto = "0.4.0"
|
tree-sitter-proto.workspace = true
|
||||||
tree-sitter-python = "0.25"
|
tree-sitter-python.workspace = true
|
||||||
tree-sitter-r = "1.2.0"
|
tree-sitter-r.workspace = true
|
||||||
tree-sitter-regex = "0.25"
|
tree-sitter-regex.workspace = true
|
||||||
tree-sitter-ruby = "0.23"
|
tree-sitter-ruby.workspace = true
|
||||||
tree-sitter-rust = "0.24"
|
tree-sitter-rust.workspace = true
|
||||||
tree-sitter-scala = "0.26"
|
tree-sitter-scala.workspace = true
|
||||||
tree-sitter-solidity = "1.2"
|
tree-sitter-solidity.workspace = true
|
||||||
tree-sitter-sql = { version = "0.3.11", package = "tree-sitter-sequel" }
|
tree-sitter-sql.workspace = true
|
||||||
tree-sitter-starlark = "1.3"
|
tree-sitter-starlark.workspace = true
|
||||||
tree-sitter-svelte = { version = "0.1.1", package = "tree-sitter-svelte-next" }
|
tree-sitter-svelte.workspace = true
|
||||||
tree-sitter-swift = "0.7"
|
tree-sitter-swift.workspace = true
|
||||||
tree-sitter-toml-ng = "0.7"
|
tree-sitter-toml-ng.workspace = true
|
||||||
tree-sitter-tlaplus = "1.5"
|
tree-sitter-tlaplus.workspace = true
|
||||||
tree-sitter-typescript = "0.23"
|
tree-sitter-typescript.workspace = true
|
||||||
tree-sitter-verilog = "1.0"
|
tree-sitter-verilog.workspace = true
|
||||||
tree-sitter-vue = { version = "0.1.0", package = "tree-sitter-vue-next" }
|
tree-sitter-vue.workspace = true
|
||||||
tree-sitter-xml = "0.7"
|
tree-sitter-xml.workspace = true
|
||||||
tree-sitter-yaml = "0.7"
|
tree-sitter-yaml.workspace = true
|
||||||
tree-sitter-zig = "1.1"
|
tree-sitter-zig.workspace = true
|
||||||
|
|||||||
@@ -10,24 +10,16 @@ repository.workspace = true
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1"
|
async-trait.workspace = true
|
||||||
tokio = { version = "1", features = ["fs", "process", "rt", "macros", "io-util"] }
|
similar.workspace = true
|
||||||
similar = "3.1.0"
|
tokio.workspace = true
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc.workspace = true
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
parking_lot = "0.12.5"
|
parking_lot.workspace = true
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
parking_lot = "0.12.5"
|
parking_lot.workspace = true
|
||||||
windows-sys = { version = "0.61", features = [
|
windows-sys.workspace = true
|
||||||
"Win32_Foundation",
|
|
||||||
"Win32_Storage_FileSystem",
|
|
||||||
"Win32_Storage_ProjectedFileSystem",
|
|
||||||
"Win32_System_Com",
|
|
||||||
"Win32_System_LibraryLoader",
|
|
||||||
"Win32_System_IO",
|
|
||||||
"Win32_System_Ioctl",
|
|
||||||
] }
|
|
||||||
|
|||||||
@@ -13,67 +13,53 @@ crate-type = ["cdylib"]
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
mimalloc = "0.1"
|
anyhow.workspace = true
|
||||||
tokio = { version = "1", features = ["full"] }
|
arboard.workspace = true
|
||||||
tokio-util = { version = "0.7", features = ["full"] }
|
ast-grep-core.workspace = true
|
||||||
napi = { version = "3", features = ["napi10", "tokio_rt", "tokio_time"] }
|
clap.workspace = true
|
||||||
napi-derive = "3"
|
dashmap.workspace = true
|
||||||
pi-shell = { path = "../pi-shell" }
|
globset.workspace = true
|
||||||
parking_lot = "0.12.5"
|
grep-matcher.workspace = true
|
||||||
dashmap = "6.1"
|
grep-regex.workspace = true
|
||||||
clap = { version = "4", features = ["derive"] }
|
grep-searcher.workspace = true
|
||||||
portable-pty = "0.9"
|
html-to-markdown-rs.workspace = true
|
||||||
grep-regex = "0.1"
|
icy_sixel.workspace = true
|
||||||
grep-searcher = "0.1"
|
ignore.workspace = true
|
||||||
grep-matcher = "0.1"
|
image.workspace = true
|
||||||
globset = "0.4"
|
inferno.workspace = true
|
||||||
ignore = "0.4"
|
memmap2.workspace = true
|
||||||
rayon = "1.12"
|
mimalloc.workspace = true
|
||||||
ast-grep-core = { version = "0.39", default-features = false, features = [
|
napi.workspace = true
|
||||||
"tree-sitter",
|
napi-derive.workspace = true
|
||||||
] }
|
parking_lot.workspace = true
|
||||||
pi-ast = { path = "../pi-ast" }
|
phf.workspace = true
|
||||||
pi-iso = { path = "../pi-iso" }
|
pi-ast.workspace = true
|
||||||
inferno = { version = "0.12", default-features = false }
|
pi-iso.workspace = true
|
||||||
image = { version = "0.25", default-features = false, features = [
|
pi-shell.workspace = true
|
||||||
"png",
|
portable-pty.workspace = true
|
||||||
"jpeg",
|
rayon.workspace = true
|
||||||
"gif",
|
regex.workspace = true
|
||||||
"webp",
|
serde.workspace = true
|
||||||
] }
|
serde_json.workspace = true
|
||||||
webp = "0.3"
|
similar.workspace = true
|
||||||
arboard = { version = "3.6.1", features = ["wayland-data-control"] }
|
smallvec.workspace = true
|
||||||
icy_sixel = "0.5"
|
syntect.workspace = true
|
||||||
unicode-segmentation = "1.13"
|
tiktoken-rs.workspace = true
|
||||||
unicode-width = "0.2"
|
tokio.workspace = true
|
||||||
syntect = { version = "5.3", default-features = false, features = [
|
tokio-util.workspace = true
|
||||||
"default-syntaxes",
|
toml.workspace = true
|
||||||
"default-themes",
|
unicode-segmentation.workspace = true
|
||||||
"regex-fancy",
|
unicode-width.workspace = true
|
||||||
] }
|
webp.workspace = true
|
||||||
html-to-markdown-rs = { version = "2.24", default-features = false }
|
xxhash-rust.workspace = true
|
||||||
phf = { version = "0.13", features = ["macros"] }
|
|
||||||
smallvec = { version = "1.15.1", features = [
|
|
||||||
"serde",
|
|
||||||
"write",
|
|
||||||
"union",
|
|
||||||
"const_new",
|
|
||||||
] }
|
|
||||||
memmap2 = "0.9"
|
|
||||||
xxhash-rust = { version = "0.8", features = ["xxh64"] }
|
|
||||||
regex = "1"
|
|
||||||
tiktoken-rs = "0.11"
|
|
||||||
similar = "3.1.0"
|
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
|
||||||
serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
||||||
anyhow = "1.0"
|
|
||||||
toml = "1.1"
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc.workspace = true
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winreg = "0.56"
|
winreg.workspace = true
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
napi-build = "2"
|
napi-build.workspace = true
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1.0"
|
serde_json.workspace = true
|
||||||
|
|||||||
+17
-22
@@ -10,29 +10,24 @@ repository.workspace = true
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow.workspace = true
|
||||||
tokio = { version = "1", features = ["full"] }
|
brush-builtins.workspace = true
|
||||||
tokio-util = { version = "0.7", features = ["full"] }
|
brush-core.workspace = true
|
||||||
brush-core = { version = "0.5.0", path = "../brush-core-vendored" }
|
brush-parser.workspace = true
|
||||||
brush-builtins = { version = "0.2.0", path = "../brush-builtins-vendored" }
|
clap.workspace = true
|
||||||
brush-parser = "0.3"
|
os_pipe.workspace = true
|
||||||
clap = { version = "4", features = ["derive"] }
|
regex.workspace = true
|
||||||
os_pipe = "1"
|
serde.workspace = true
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde_json.workspace = true
|
||||||
serde_json = { version = "1.0", features = ["preserve_order"] }
|
tokio.workspace = true
|
||||||
toml = "1.1"
|
tokio-util.workspace = true
|
||||||
regex = "1"
|
toml.workspace = true
|
||||||
xxhash-rust = { version = "0.8", features = ["xxh64"] }
|
xxhash-rust.workspace = true
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc.workspace = true
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winreg = "0.56"
|
smallvec.workspace = true
|
||||||
smallvec = "1.15"
|
windows-sys.workspace = true
|
||||||
windows-sys = { version = "0.61", features = [
|
winreg.workspace = true
|
||||||
"Win32_Foundation",
|
|
||||||
"Win32_Storage_ProjectedFileSystem",
|
|
||||||
"Win32_System_Com",
|
|
||||||
"Win32_System_LibraryLoader",
|
|
||||||
] }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user