Debian Codegraph @

Cargo.toml

raw ◀ ▶
1 Debian patch touch this file
1 cargo-features = []
2
3 [workspace]
4 resolver = "3"
5 members = [
6 "cli",
7 "core",
8 "core/proc-macros",
9 "lib",
•10 # "lib/gen-protos",
11 "lib/testutils",
12 ]
13
14 [workspace.package]
15 version = "0.45.1"
16 license = "Apache-2.0"
17 rust-version = "1.89" # NOTE: remember to update CI, mise.toml, contributing.md, changelog.md, and install-and-setup.md
18 edition = "2024"
19 readme = "README.md"
20 homepage = "https://www.jj-vcs.dev/"
21 repository = "https://github.com/jj-vcs/jj"
22 documentation = "https://docs.jj-vcs.dev/"
23 categories = ["development-tools"]
24 keywords = ["VCS", "DVCS", "SCM", "Git", "Mercurial"]
25
26 [workspace.dependencies]
27 ansi-to-tui = "8.0.1"
•28 anstream = ">=0.6.21"
29 assert_cmd = ">=2.1.2"
30 assert_matches = "1.5.0"
•31 async-trait = ">=0.1.89"
32 blake2 = ">=0.10.6"
33 bstr = { version = "1.12.1", features = ["serde"] }
34 chrono = { version = "0.4.44", default-features = false, features = [
35 "std",
36 "clock",
37 "serde",
38 ] }
39 clap = { version = "4.6.1", features = [
40 "derive",
41 "deprecated",
42 "wrap_help",
43 "string",
44 ] }
45 # Update clap-markdown manually since test_generate_md_cli_help snapshot
46 # will need regenerating.
•47 clap-markdown = ">=0.1.5"
48 clap_complete = { version = "4.6.5", features = ["unstable-dynamic"] }
49 clap_complete_nushell = "4.6.0"
50 clap_mangen = "0.3.0"
51 clru = "0.6.3"
•52 criterion = ">=0.5.1"
53 crossterm = { version = ">=0.29", default-features = false, features = [] }
54 ctrlc = { version = "3.5.2", features = ["termination"] }
55 datatest-stable = "0.3.3"
56 digest = "0.10.7"
57 dunce = "1.0.5"
58 either = "1.16.0"
59 erased-serde = "0.4.10"
•60 etcetera = ">=0.10.0"
61 eyre = ">=0.6"
62 futures = ">=0.3.32"
63 gix = { version = ">=0.86.0", default-features = false, features = [
64 "attributes",
65 "blob-diff",
66 "index",
67 "max-performance-safe",
68 "sha1",
69 "sha256",
70 ] }
•71 gix-ignore = { version = ">=0.22.0" }
72 globset = ">=0.4.18"
73 hashbrown = { version = ">=0.16.1", default-features = false, features = ["inline-more"] }
74 indexmap = { version = "2.14.0", features = ["serde"] }
75 indoc = "2.0.7"
76 insta = { version = "1.47.2", features = ["filters"] }
77 interim = { version = "0.2.1", features = ["chrono_0_4"] }
•78 itertools = ">=0.14.0"
79 jsonschema = { version = ">=0.37.4", default-features = false }
80 libc = { version = ">=0.2.186" }
81 maplit = "1.0.2"
82 memchr = "2.8.2"
•83 mimalloc = { version = ">=0.1.52" }
84 nix = ">=0.30.1"
85 num_cpus = "1.17.0"
86 once_cell = "1.21.4"
87 percent-encoding = "2.3.2"
88 pest = "2.8.6"
89 pest_derive = "2.8.6"
•90 pollster = ">=0.4.0"
91 pretty_assertions = "1.4.1"
92 proc-macro2 = "1.0.104"
93 proptest = "1.11.0"
•94 proptest-derive = ">=0.4.0"
95 proptest-state-machine = ">=0.4.0"
96 prost = "0.14.3"
97 prost-build = "0.14.3"
98 quote = "1.0.45"
99 rand = "0.10.1"
100 rand_chacha = "0.10.0"
101 ratatui = { version = "0.30.0", features = ["crossterm"] }
102 rayon = "1.12.0"
103 ref-cast = "1.0.25"
104 regex = "1.12.3"
105 rpassword = "7.5.4"
106 rustix = { version = "1.1.4", features = ["fs"] }
107 rustversion = "1.0.22"
108 same-file = "1.0.6"
109 sapling-renderdag = "0.1.0"
110 sapling-streampager = "0.12.0"
111 scm-record = "0.10.0"
112 serde = { version = "1.0", features = ["derive", "rc"] }
113 serde_json = "1.0.150"
•114 shlex = ">=1.3.0"
115 slab = "0.4.12"
116 smallvec = { version = "1.15.1", features = [
117 "const_generics",
118 "const_new",
119 "serde",
120 "union",
121 ] }
122 strsim = "0.11.1"
123 syn = "3.0.3"
124 tempfile = "3.27.0"
125 test-case = "3.3.1"
•126 textwrap = ">=0.16.2"
127 thiserror = "2.0.17"
128 timeago = { version = "0.6.0", default-features = false }
129 tokio = { version = "1.52.3", features = ["fs", "io-util", "process", "rt-multi-thread", "sync", "time"] }
130 toml = "1.1.0"
•131 toml_edit = { version = ">=0.25.11", features = ["serde"] }
132 tracing = ">=0.1.44"
133 tracing-chrome = ">=0.7.2"
134 tracing-subscriber = { version = "0.3.23", default-features = false, features = [
135 "std",
136 "ansi",
137 "env-filter",
138 "fmt",
139 ] }
140 unicode-width = "0.2.2"
141 watchman_client = "0.9.0"
142 whoami = "2.1.2"
•143 # winreg = "0.56"
144
145 # put all inter-workspace libraries, i.e. those that use 'path = ...' here in
146 # their own (alphabetically sorted) block
147 jj-core = { path = "core", version = "0.45.1" }
148 jj-core-proc-macros = { path = "core/proc-macros", version = "0.45.1" }
149 jj-lib = { path = "lib", version = "0.45.1", default-features = false }
150 testutils = { path = "lib/testutils" }
151
152 [workspace.lints.clippy]
153 borrow_as_ptr = "warn"
154 cast_lossless = "warn"
155 cloned_instead_of_copied = "warn"
156 elidable_lifetime_names = "warn"
157 explicit_into_iter_loop = "warn"
158 explicit_iter_loop = "warn"
159 flat_map_option = "warn"
160 format_collect = "warn"
161 format_push_string = "warn"
162 implicit_clone = "warn"
163 manual_let_else = "warn"
164 needless_for_each = "warn"
165 ptr_as_ptr = "warn"
166 ptr_cast_constness = "warn"
167 ref_as_ptr = "warn"
168 ref_option = "warn"
169 semicolon_if_nothing_returned = "warn"
170 single_char_pattern = "warn"
171 stable_sort_primitive = "warn"
172 uninlined_format_args = "warn"
173 unnecessary_literal_bound = "warn"
174 unnecessary_semicolon = "warn"
175 unnested_or_patterns = "warn"
176 unused_trait_names = "warn"
177 use_self = "warn"
178 useless_conversion = "warn"
179 while_let_loop = "warn"
180
181 [workspace.lints.rust]
182 let_underscore_drop = "warn"
183 redundant_imports = "warn"
184
185 [profile.dev.package."*"]
186 # Compile all dependencies with opt-level=3 to help speed up tests and
187 # debug builds
188 codegen-units = 1
189 debug = "line-tables-only"
190 opt-level = 3
191
192 [profile.release]
193 strip = "debuginfo"
194 codegen-units = 1