# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "deps-npm"
version = "0.2.2"
authors = ["Andrei G"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "npm/package.json support for deps-lsp"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bug-ops/deps-lsp"
resolver = "2"

[lib]
name = "deps_npm"
path = "src/lib.rs"

[[bench]]
name = "npm_benchmarks"
path = "benches/npm_benchmarks.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.deps-core]
version = "0.2.2"

[dependencies.node-semver]
version = "2.2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1.48"

[dependencies.tower-lsp]
version = "0.20"

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2.1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt-multi-thread",
]
