Skip to content

Commit 2df2454

Browse files
authored
Replace the hand-built master.toml system with workspace deps (#529)
* Replaces all dep specs with workspace deps. * Deletes master.toml and everything relating to it.
1 parent 1942d5f commit 2df2454

File tree

22 files changed

+737
-1291
lines changed

22 files changed

+737
-1291
lines changed

Cargo.lock

-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+114
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,117 @@ split-debuginfo = "unpacked"
6161
# and then cargo b worked. This seemed to speed up loading by 5-10%, but that did not seem
6262
# like enough to justify using zld. It might be worth trying again later, as it is being
6363
# improved.
64+
65+
[workspace.dependencies]
66+
align_tools = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
67+
amino = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
68+
anyhow = "1"
69+
ansi_escape = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
70+
arboard = "2"
71+
assert_cmd = "2"
72+
async-trait = "0.1"
73+
attohttpc = { version = "0.18", default-features = false, features = ["compress", "tls-rustls"] }
74+
base64 = "0.13"
75+
binary_vec_io = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
76+
bio = "0.39"
77+
bio_edit = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
78+
byteorder = "1"
79+
bytes = "1"
80+
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
81+
clipboard = "0.5"
82+
cocoa = "0.24"
83+
core-foundation = "0.9"
84+
core-graphics = "0.22"
85+
crc = "2"
86+
debruijn = "0.3"
87+
dirs = "4"
88+
dna = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
89+
edit-distance = "2"
90+
enclone_args = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
91+
enclone_core = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
92+
enclone_denovo = { path = "../enclone_denovo" }
93+
enclone_help = { path = "../enclone_help" }
94+
enclone = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
95+
enclone_print = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
96+
enclone_proto = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
97+
enclone_ranger = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
98+
enclone_server_proto = { path = "../enclone_server_proto" }
99+
enclone_stuff = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
100+
enclone_tail = { path = "../enclone_tail" }
101+
enclone_vars = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
102+
enclone_version = { path = "../enclone_version" }
103+
equiv = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
104+
evalexpr = "7"
105+
expr_tools = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
106+
fasta_tools = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
107+
file-lock = "2"
108+
flate2 = "1"
109+
float-ord = "0.3"
110+
fontdb = "0.7"
111+
fs_extra = "1"
112+
git = "https://github.com/10xGenomics/hdf5-rust.git"
113+
graph_simple = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
114+
hdf5 = { git = "https://github.com/10XGenomics/hdf5-rust.git", branch = "conda_nov2021", features = ["conda"], default-features = false }
115+
home = "0.5"
116+
hyperbase = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
117+
image = { version = "0.23", features = ["jpeg", "png", "jpeg_rayon"], default-features = false }
118+
include_dir = { version = "0.6", features = ["search"] }
119+
io_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
120+
itertools = "0.10"
121+
jpeg-decoder = "0.2"
122+
kmer_lookup = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
123+
lazy_static = "1"
124+
libc = "0.2"
125+
log = "0.4"
126+
lz4 = "1"
127+
mach = "0.3"
128+
ndarray = "0.15"
129+
nix = { version = "0.27", features = ["signal"] }
130+
num-traits = "0.2"
131+
objc = "0.2"
132+
pager = "0.16"
133+
palette = "0.6"
134+
perf_stats = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
135+
permutation = "0.4"
136+
petgraph = "0.6"
137+
plotters = { version = "0.3", default_features = false, features = ["svg_backend", "point_series"] }
138+
png-decoder = "0.1"
139+
pretty_trace = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main", features = ["pprof"]}
140+
procfs = { version = "0.12", default_features = false }
141+
# prost: enclone will compile without the std and prost-derive features, but other things
142+
# (such as enclone_proto) break.
143+
prost = { version = "0.9", default_features = false, features = ["std", "prost-derive"] }
144+
prost-build = "0.9"
145+
qd = { git = "https://github.com/Barandis/qd" }
146+
rand = "0.8"
147+
rand_chacha = "0.3"
148+
rayon = "1"
149+
resvg = { version = "0.19", default-features = false }
150+
regex = { version = "1", default-features = false, features = ["std", "perf"] }
151+
serde = "1"
152+
serde_derive = "1"
153+
serde_json = "1"
154+
sha2 = "0.10"
155+
stats_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
156+
statrs = "0.15"
157+
stirling_numbers = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
158+
string_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
159+
superslice = "1"
160+
tables = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
161+
tar = "0.4"
162+
thiserror = "1"
163+
tilde-expand = "0.1"
164+
tiny-skia = "0.6"
165+
tokio = { version = "1", default-features = false, features = ["io-util", "macros", "rt-multi-thread"] }
166+
tokio-stream = { version = "0.1", default-features = false, features = ["net"] }
167+
tonic = { version = "0.6", default-features = false, features = ["transport", "codegen", "prost"] }
168+
tonic-build = { version = "0.6", default-features = false, features = ["transport", "prost"] }
169+
triple_accel = "0.4"
170+
users = "0.11"
171+
usvg = { version = "0.19", features = ["text"] }
172+
# vdj_ann = "0.4"
173+
vdj_ann = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
174+
vdj_ann_ref = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
175+
vector_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
176+
whoami = "1"
177+
yaml-rust = "0.4"

enclone_build/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
10-
itertools = "0.10"
11-
pretty_trace = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main", features = ["pprof"]}
12-
string_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
13-
enclone_core = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
9+
chrono.workspace = true
10+
itertools.workspace = true
11+
pretty_trace.workspace = true
12+
string_utils.workspace = true
13+
enclone_core.workspace = true
1414

1515
[build-dependencies]
16-
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
17-
string_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
16+
chrono.workspace = true
17+
string_utils.workspace = true

enclone_com/Cargo.toml

+5-10
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,11 @@ edition = "2018"
1616
license-file = "LICENSE.txt"
1717
publish = false
1818

19-
# Please do not edit crate versions within this file. Instead edit the file master.toml
20-
# in the root of the enclone repo.
2119

2220
[dependencies]
23-
bytes = "1"
24-
enclone_core = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
25-
io_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
26-
lazy_static = "1"
27-
pretty_trace = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main", features = ["pprof"]}
28-
string_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
29-
tokio = { version = "1", default-features = false, features = ["io-util", "macros", "rt-multi-thread"] }
30-
vdj_ann = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
21+
enclone_core.workspace = true
22+
pretty_trace.workspace = true
23+
string_utils.workspace = true
24+
tokio.workspace = true
25+
vdj_ann.workspace = true
3126

enclone_denovo/Cargo.toml

+14-26
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,17 @@ edition = "2018"
1616
publish = false
1717

1818
[dependencies]
19-
amino = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
20-
binary_vec_io = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
21-
bio = "0.39"
22-
debruijn = "0.3"
23-
equiv = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
24-
fasta_tools = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
25-
graph_simple = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
26-
hyperbase = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
27-
io_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
28-
itertools = "0.10"
29-
kmer_lookup = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
30-
# poa_hmm = { git = "https://github.com/ban-m/partial_order_alignment.git" }
31-
perf_stats = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
32-
permutation = "0.4"
33-
petgraph = "0.6"
34-
pretty_trace = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main", features = ["pprof"]}
35-
rayon = "1"
36-
regex = { version = "1", default-features = false, features = ["std", "perf"] }
37-
serde_json = "1"
38-
stats_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
39-
string_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
40-
superslice = "1"
41-
tables = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
42-
vdj_ann = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
43-
vdj_ann_ref = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
44-
vector_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
19+
amino.workspace = true
20+
binary_vec_io.workspace = true
21+
bio.workspace = true
22+
debruijn.workspace = true
23+
fasta_tools.workspace = true
24+
io_utils.workspace = true
25+
itertools.workspace = true
26+
perf_stats.workspace = true
27+
pretty_trace.workspace = true
28+
rayon.workspace = true
29+
string_utils.workspace = true
30+
superslice.workspace = true
31+
vdj_ann_ref.workspace = true
32+
vector_utils.workspace = true

enclone_exec/Cargo.toml

+26-29
Original file line numberDiff line numberDiff line change
@@ -16,46 +16,43 @@ edition = "2018"
1616
license-file = "LICENSE.txt"
1717
publish = false
1818

19-
# Please do not edit crate versions within this file. Instead edit the file master.toml
20-
# in the root of the enclone repo.
2119

2220
[[bin]]
2321
name = "enclone"
2422
path = "src/bin/enclone.rs"
2523

2624
[dependencies]
27-
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
28-
enclone_core = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
25+
chrono.workspace = true
26+
enclone_core.workspace = true
2927
enclone_main = { path = "../enclone_main" }
3028
enclone_testlist = { path = "../enclone_testlist" }
31-
flate2 = "1"
32-
home = "0.5"
33-
io_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
34-
itertools = "0.10"
35-
nix = { version = "0.27", features = ["signal"] }
36-
pretty_trace = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main", features = ["pprof"]}
37-
serde_json = "1"
38-
string_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
39-
tokio = { version = "1", default-features = false, features = ["io-util", "macros", "rt-multi-thread"] }
40-
vector_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
29+
flate2.workspace = true
30+
io_utils.workspace = true
31+
itertools.workspace = true
32+
nix.workspace = true
33+
pretty_trace.workspace = true
34+
serde_json.workspace = true
35+
string_utils.workspace = true
36+
tokio.workspace = true
37+
vector_utils.workspace = true
4138

4239
[dev-dependencies]
43-
ansi_escape = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
44-
anyhow = "1"
45-
attohttpc = { version = "0.18", default-features = false, features = ["compress", "tls-rustls"] }
46-
enclone_vars = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
47-
enclone_proto = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
48-
enclone_ranger = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
40+
ansi_escape.workspace = true
41+
anyhow.workspace = true
42+
attohttpc.workspace = true
43+
enclone_vars.workspace = true
44+
enclone_proto.workspace = true
45+
enclone_ranger.workspace = true
4946
enclone_tools = { path = "../enclone_tools" }
50-
flate2 = "1"
51-
fs_extra = "1"
52-
itertools = "0.10"
53-
perf_stats = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
54-
rayon = "1"
55-
serde_json = "1"
56-
sha2 = "0.10"
57-
stats_utils = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
58-
yaml-rust = "0.4"
47+
flate2.workspace = true
48+
fs_extra.workspace = true
49+
itertools.workspace = true
50+
perf_stats.workspace = true
51+
rayon.workspace = true
52+
serde_json.workspace = true
53+
sha2.workspace = true
54+
stats_utils.workspace = true
55+
yaml-rust.workspace = true
5956

6057
[features]
6158
default = []

0 commit comments

Comments
 (0)