cargo toml add extension static

adding doc
This commit is contained in:
pedrocarlo 2025-02-28 16:50:38 -03:00
parent 73a35329d0
commit 41f1f97138
2 changed files with 5 additions and 1 deletions

View file

@ -14,7 +14,7 @@ name = "limbo_core"
path = "lib.rs"
[features]
default = ["fs", "uuid", "time", "json"]
default = ["fs", "uuid", "time", "json", "static"]
fs = ["limbo_ext/vfs"]
json = []
uuid = ["limbo_uuid/static"]
@ -27,6 +27,7 @@ series = ["limbo_series/static"]
ipaddr = ["limbo_ipaddr/static"]
completion = ["limbo_completion/static"]
testvfs = ["limbo_ext_tests/static"]
static = ["limbo_ext/static"]
[target.'cfg(target_os = "linux")'.dependencies]
io-uring = { version = "0.6.1", optional = true }

View file

@ -22,6 +22,9 @@ cargo new --lib extensions/your_crate_name
Add the crate to your `extensions/your_crate_name/Cargo.toml`:
This modification in `Cargo.toml` is only needed if you are creating an extension as a separate Crate. If you are
creating an extension inside `core`, this step should be skipped.
```toml
[features]