mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
cargo toml add extension static
adding doc
This commit is contained in:
parent
73a35329d0
commit
41f1f97138
2 changed files with 5 additions and 1 deletions
|
@ -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 }
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue