Sui.

Post

Share your knowledge.

MoonBags.
Jul 28, 2025
Expert Q&A

how can we disable implicit dependencies of Deepbook?

how can we disable implicit dependencies of Deepbook that are added since v1.45 in Move.toml? https://github.com/MystenLabs/sui/releases/tag/testnet-v1.45.0

  • Sui
2
6
Share
Comments
.

Answers

6
Meaning.Sui.
Jul 28 2025, 03:28

If the code is not referred to in your source code, the dependency will be dropped. Also, to clarify, the dependency is on deepbook V2, which is a system package (and is now deprecated) not Deepbook v3, the version that is currently in use. This is happening as a side effect of the new mechanism for automatically managing dependencies on system packages.

8
Comments
.
Thorfin.
Jul 30 2025, 07:05

To disable implicit Deepbook dependencies in Sui v1.45+, don’t include Deepbook in [dependencies] in Move.toml.

2
Comments
.
Alya.
Alya-14
Jul 30 2025, 17:50

To disable Deepbook's implicit dependencies added since Sui v1.45, set implicit-deps = false in your Move.toml under the [package] section.

2
Comments
.

Do you know the answer?

Please log in and share it.