-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
26 lines (24 loc) · 1.11 KB
/
Copy pathCargo.toml
File metadata and controls
26 lines (24 loc) · 1.11 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
[package]
name = "code2graph-py"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish = false
# `pyo3/extension-module` deliberately leaves the CPython symbols undefined so
# the interpreter resolves them at import time. That is correct for the shipped
# cdylib but makes a cargo test harness — an ordinary executable — unlinkable,
# so this crate declares no Rust test targets. It is a thin FFI shim; its
# behaviour is verified through the real boundary by `tests/test_query.py`.
[lib]
name = "code2graph"
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
pyo3 = { version = "0.29", features = ["extension-module", "abi3-py39"] }
pythonize = "0.29"
serde.workspace = true
serde_json.workspace = true