-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathCargo.toml
80 lines (67 loc) · 1.92 KB
/
Cargo.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[workspace.package]
version = "1.1.0"
edition = "2021"
[package]
name = "sg"
version.workspace = true
edition.workspace = true
repository = "https://github.com/sourcegraph/sg.nvim"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow.workspace = true
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
graphql_client.workspace = true
reqwest.workspace = true
lsp-types.workspace = true
regex = "1.9.1"
futures = "0.3.28"
lsp-server = "0.7.2"
log4rs = "1.2"
log = "0.4"
once_cell = "1"
sg-gql = { path = "crates/sg-gql" }
sg-types = { path = "crates/sg-types" }
jsonrpc = { path = "crates/jsonrpc" }
gix = "0.66.0"
tiny_http = "0.12.0"
keyring = "2.1.0"
whoami = "1.4.1"
[workspace.dependencies]
anyhow = "1"
tokio = { version = "1", features = ["full"] }
openssl = { version = "0.10", features = ["vendored"] }
serde = "1.0.180"
serde_json = "1.0"
graphql_client = { version = "0.13.0", features = ["reqwest", "reqwest-blocking"] }
reqwest = { version = "0.11", features = ["native-tls-vendored"] }
lsp-types = "0.94.0"
url = "2.4.0"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.5.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci"]
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[lib]
name = "sg"
[workspace]
resolver = "2"
members = [
"crates/jsonrpc",
"crates/sg-gql",
"crates/sg-types",
]