This repository was archived by the owner on Sep 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (45 loc) · 1.51 KB
/
Cargo.toml
File metadata and controls
50 lines (45 loc) · 1.51 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "stack-graphs"
version = "0.14.1"
description = "Name binding for arbitrary programming languages"
homepage = "https://github.com/github/stack-graphs/tree/main/stack-graphs"
repository = "https://github.com/github/stack-graphs/"
readme = "README.md"
license = "MIT OR Apache-2.0"
authors = [
"GitHub <opensource+stack-graphs@github.com>",
"Douglas Creager <dcreager@dcreager.net>"
]
edition = "2018"
[features]
bincode = ["dep:bincode", "lsp-positions/bincode"]
copious-debugging = []
serde = ["dep:serde", "serde_with", "lsp-positions/serde"]
storage = ["bincode", "rusqlite"]
visualization = ["serde", "serde_json"]
[lib]
# All of our tests are in the tests/it "integration" test executable.
test = false
[dependencies]
bincode = { version = "2.0.0-rc.3", optional = true }
bitvec = "1.0.1"
controlled-option = "0.4.1"
either = "1.6"
enumset = "1.1"
fxhash = "0.2"
itertools = "0.10.2"
libc = "0.2"
lsp-positions = { version = "0.3", path = "../lsp-positions" } # explicit version is required to be able to publish crate
rusqlite = { version = "0.28", optional = true, features = ["bundled", "functions"] }
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
serde_with = { version = "3.1", optional = true }
smallvec = { version = "1.6", features = ["union"] }
thiserror = { version = "1.0" }
[dev-dependencies]
assert-json-diff = "2"
maplit = "1.0"
pretty_assertions = "0.7"
serde_json = { version = "1.0" }
[package.metadata.docs.rs]
all-features = true