-
Notifications
You must be signed in to change notification settings - Fork 10
Description
We have a lot of dependencies, we also have a lot of dependencies which still need some major upgrades.
Here is a tracking issue to keep track of the upcoming major version updates.
I hope that this could lower our total dependency count a lot and therefore lower the compile times as well.
The relevant dependencies in decreasing order of usage:
-
reqwest
-
tonic
-
rand
-
base64
-
env_logger
-
prost
-
bollard
-
hyper
-
x509-parser
-
async-compression
-
thiserror
-
rustyline-derive
-
rustyline
-
openapiv3
-
getrandom
-
dashmap
-
dirs
-
graphql_client
-
rustls
-
tokio-rustls
-
rustls-pemfile
-
nom_locate
-
nom
-
scylla
Dependencies with overlapping functionality:
- time vs chrono
- base64 vs base64ct
Using cargo upgrade --dry-run --compatible ignore --incompatible allow we find what needs to be done.
name old req compatible latest new req
==== ======= ========== ====== =======
async-compression 0.3.15 0.3.15 0.4.20 0.4.20
env_logger 0.10.0 0.10.2 0.11.7 0.11.7
prost 0.12.0 0.12.6 0.13.5 0.13.5
rand 0.8.5 0.8.5 0.9.0 0.9.0
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
scylla 0.12.0 0.12.0 1.0.0 1.0.0
Checking brane-ast's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
rand 0.8.5 0.8.5 0.9.0 0.9.0
Checking brane-cc's dependencies
Checking brane-cfg's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
rustls 0.21.6 0.21.12 0.23.23 0.23.23
rustls-pemfile 1.0.1 1.0.4 2.2.0 2.2.0
x509-parser 0.15.0 0.15.1 0.17.0 0.17.0
Checking brane-cli's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.21.0 0.21.7 0.22.1 0.22.1
bollard 0.14.0 0.14.0 0.18.1 0.18.1
dirs 5.0.1 5.0.1 6.0.0 6.0.0
graphql_client 0.13.0 0.13.0 0.14.0 0.14.0
hyper 0.14.29 0.14.32 1.6.0 1.6.0
openapiv3 0.5.0 0.5.0 2.0.0 2.0.0
rand 0.8.5 0.8.5 0.9.0 0.9.0
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
rustls 0.21.6 0.21.12 0.23.23 0.23.23
rustyline 11.0.0 11.0.0 15.0.0 15.0.0
rustyline-derive 0.8.0 0.8.0 0.11.0 0.11.0
tonic 0.11.0 0.11.0 0.12.3 0.12.3
x509-parser 0.15.0 0.15.1 0.17.0 0.17.0
Checking brane-cli-c's dependencies
Checking brane-ctl's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
bollard 0.14.0 0.14.0 0.18.1 0.18.1
dirs 5.0.1 5.0.1 6.0.0 6.0.0
rand 0.8.5 0.8.5 0.9.0 0.9.0
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
Checking brane-drv's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
dashmap 5.4.0 5.5.3 6.1.0 6.1.0
env_logger 0.10.0 0.10.2 0.11.7 0.11.7
prost 0.12.0 0.12.6 0.13.5 0.13.5
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
tonic 0.11.0 0.11.0 0.12.3 0.12.3
Checking brane-dsl's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
nom 7.1.0 7.1.3 8.0.0 8.0.0
nom_locate 4.1.0 4.2.0 5.0.0 5.0.0
rand 0.8.5 0.8.5 0.9.0 0.9.0
thiserror 1.0.40 1.0.69 2.0.12 2.0.12
Checking brane-exe's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.13.0 0.13.1 0.22.1 0.22.1
Checking brane-job's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.21.0 0.21.7 0.22.1 0.22.1
bollard 0.14.0 0.14.0 0.18.1 0.18.1
env_logger 0.10.0 0.10.2 0.11.7 0.11.7
hyper 0.14.29 0.14.32 1.6.0 1.6.0
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
tonic 0.11.0 0.11.0 0.12.3 0.12.3
Checking brane-let's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.13.0 0.13.1 0.22.1 0.22.1
env_logger 0.10.0 0.10.2 0.11.7 0.11.7
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
tonic 0.11.0 0.11.0 0.12.3 0.12.3
Checking brane-plr's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
rand 0.8.5 0.8.5 0.9.0 0.9.0
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
tonic 0.11.0 0.11.0 0.12.3 0.12.3
Checking brane-prx's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
env_logger 0.10.0 0.10.2 0.11.7 0.11.7
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
rustls 0.21.6 0.21.12 0.23.23 0.23.23
tokio-rustls 0.24.0 0.24.1 0.26.2 0.26.2
tonic 0.11.0 0.11.0 0.12.3 0.12.3
Checking brane-reg's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.21.0 0.21.7 0.22.1 0.22.1
env_logger 0.10.0 0.10.2 0.11.7 0.11.7
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
rustls 0.21.6 0.21.12 0.23.23 0.23.23
tokio-rustls 0.24.0 0.24.1 0.26.2 0.26.2
Checking brane-shr's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
async-compression 0.3.15 0.3.15 0.4.20 0.4.20
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
getrandom 0.2.8 0.2.15 0.3.1 0.3.1
Checking brane-tsk's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.21.0 0.21.7 0.22.1 0.22.1
bollard 0.14.0 0.14.0 0.18.1 0.18.1
graphql_client 0.13.0 0.13.0 0.14.0 0.14.0
hyper 0.14.29 0.14.32 1.6.0 1.6.0
prost 0.12.0 0.12.6 0.13.5 0.13.5
rand 0.8.5 0.8.5 0.9.0 0.9.0
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
tonic 0.11.0 0.11.0 0.12.3 0.12.3
Checking overview's dependencies
Checking specifications's dependencies
name old req compatible latest new req
==== ======= ========== ====== =======
base64 0.21.0 0.21.7 0.22.1 0.22.1
prost 0.12.0 0.12.6 0.13.5 0.13.5
reqwest 0.11.27 0.11.27 0.12.12 0.12.12
tonic 0.11.0 0.11.0 0.12.3 0.12.3
I am going to do this on a dependency basis, not on a workspace member basis, as I suspect the fixes are probably pretty repetitive.