docs(customizing.md): add kubo binary imports description
Adin Schmahmann committed
Dec 19, 2023 at 16:52 UTC
33b785ebd9f5c224f5c14b386800043f9549ccd2
1 file changed
+6
docs/customizing.md
+6
@@ -36,6 +36,12 @@ For more information about the different types of Kubo plugins, see [plugins.md]
36
37
Kubo plugins can also be injected at runtime using Go plugins (see below), but these are hard to use and not well supported by Go, so we don't recommend them.
38
39
+### Kubo binary imports
40
+
41
+It is possible to depend on the package `cmd/ipfs/kubo` as a way of using Kubo plugins that is an alternative to recompiling Kubo with additional preloaded plugins.
42
+
43
+This gives a more Go-centric dependency updating flow to building a new binary with preloaded plugins by simply requiring updating a Kubo dependency rather than needing to update Kubo source code and recompile.
44
+
45
## Bespoke Extension Points
46
Certain Kubo functionality may have their own extension points. For example:
47