-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
27 lines (24 loc) · 1.03 KB
/
Copy pathCargo.toml
File metadata and controls
27 lines (24 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "code2graph-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish = false
# N-API symbols are provided by the host Node process at dlopen time and have no
# link-time target, so a cargo test harness — an ordinary executable — is
# unlinkable. This crate therefore declares no Rust test targets: it is a thin
# FFI shim, verified through the real boundary by `test/query.test.cjs`.
[lib]
name = "code2graph_node"
crate-type = ["cdylib"]
test = false
doctest = false
[dependencies]
code2graph_core = { package = "code2graph", path = "../..", version = "=0.0.0", default-features = false, features = ["serde", "rust", "python", "typescript", "go", "java", "c", "cpp", "ruby", "php", "shell", "swift", "kotlin", "solidity", "sql", "hcl", "csharp", "scala", "dart", "lua", "luau", "pascal", "svelte"] }
code2graph-query.workspace = true
napi = { version = "3", features = ["napi10", "serde-json"] }
napi-derive = "3"
serde_json = "1"
[build-dependencies]
napi-build = "2"