# Basic dependencies between libraries

**URL:** <https://community.silverbullet.md/t/basic-dependencies-between-libraries/4546>\
**Category:** Ideas\
**Created:** [November 13, 2026, 12:48pm UTC](https://community.silverbullet.md/t/basic-dependencies-between-libraries/4546 "2026-11-13T12:48:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damesene](https://community.silverbullet.md/user_avatar/community.silverbullet.md/damesene/32/3981_2.png) [@Damesene](https://community.silverbullet.md/u/Damesene)\
**Post date:** [November 13, 2026, 12:48pm UTC](https://community.silverbullet.md/t/basic-dependencies-between-libraries/4546/1 "2026-11-13T12:48:44Z")

</div>

It would help a lot if a library could declare a simple dependency on another library. It wouldn't need to point to a specific version. Something like "this library needs that one installed" would be enough, and the library can check the version itself.

I know this goes somewhat against the simplicity of libraries, and it would probably complicate the current implementation quite a bit. Still, I wanted to mention it, because I keep running into cases where I'd like to split out a shared core module, with a single instance that the other libraries use.

Of course a workaround exists: users install the core themselves, and each library checks in its init whether the core is there and in which version (which it would probably do anyway). So it's nothing critical. I just wanted to show that there's a real use case for it.

---

<div class="post-metadata">

**Author:** ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)\
**Post date:** [November 13, 2026, 1:43pm UTC](https://community.silverbullet.md/t/basic-dependencies-between-libraries/4546/2 "2026-11-13T13:43:24Z")

</div>

I literally added a version of this yesterday on edge: [Development](https://edge.silverbullet.md/Library/Development) (requires attribute)

---

<div class="post-metadata">

**Author:** ![Damesene](https://community.silverbullet.md/user_avatar/community.silverbullet.md/damesene/32/3981_2.png) [@Damesene](https://community.silverbullet.md/u/Damesene)\
**Post date:** [November 13, 2026, 2:35pm UTC](https://community.silverbullet.md/t/basic-dependencies-between-libraries/4546/3 "2026-11-13T14:35:48Z")

</div>

Yay, that's great news! To be honest, I didn't expect it to actually happen. 😅

Thank you!
