forked from Authentura/codectrl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
118 lines (105 loc) · 2.53 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "codectrl"
version = "0.99.3"
edition = "2021"
authors = [
"Samuel Boyden <sam@sboyden.com>",
]
license = "MIT"
description = "A dynamic source code analysis tool, made by Samuel Boyden."
[workspace]
members = [
"crates/gui",
"crates/server",
"crates/protobuf-bindings",
"crates/logger"
]
[features]
default = ["full"]
full = ["dep:codectrl-gui", "dep:codectrl-server"]
server-only = ["dep:codectrl-server", "dep:tokio"]
[workspace.package]
version = "0.99.3"
edition = "2021"
authors = [
"Samuel Boyden <sam@sboyden.com>",
]
description = "A dynamic source code analysis tool, made by Samuel Boyden."
license = "MIT"
rust-version = "1.70.0"
readme = "README.md"
homepage = "https://github.com/STBoyden/codectrl"
repository = "https://github.com/STBoyden/codectrl"
[workspace.dependencies]
anyhow = "1.0"
chrono = { version = "0.4.26", features = ["serde"] }
codectrl-protobuf-bindings = { path = "crates/protobuf-bindings"}
dashmap = { version = "5.4.0", features = ["serde"] }
directories = "5.0"
parking_lot = "0.12.1"
tokio = { version = "1.0", features = [
"rt-multi-thread",
"macros",
"sync",
"time",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
thiserror = "1.0"
tokio-stream = "0.1"
tonic = "0.7"
uuid = { version = "1.3.4", features = ["v4", "fast-rng", "macro-diagnostics"] }
[[bin]]
path = "crates/core/main.rs"
name = "codectrl"
[dependencies]
codectrl-gui = { optional = true, path = "crates/gui" }
codectrl-server = { optional = true, path = "crates/server" }
tokio = { optional = true, version = "1.0", features = [
"rt-multi-thread",
"macros",
"sync",
"time",
] }
[profile.dev.package."*"]
opt-level = 3
[profile.release.package."*"]
opt-level = 3
[package.metadata.bundle]
identifier = "com.stboyden.codectrl"
resources = [
"README.md",
"LICENSE"
]
copyright = "MIT"
category = "Developer Tool"
[package.metadata.deb]
name = "codectrl"
maintainer = "Samuel Boyden <sam@stboyden.com>"
copyright = "2023, Samuel Boyden <sam@stboyden.com>"
license-file = ["LICENSE", "4"]
assets = [
[
"target/release/codectrl",
"usr/bin/",
"755",
],
[
"README.md",
"usr/share/doc/codectrl/README",
"644",
],
]
depends = "libgtk-3-0"
[[package.metadata.generate-rpm.assets]]
source = "target/release/codectrl"
dest = "/usr/bin/codectrl"
mode = "755"
[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/codectrl/README"
mode = "644"
doc = true
[package.metadata.wix]
name = "CodeCTRL"
product-name = "CodeCTRL"