mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-29 21:04:23 +01:00
cargo toml add extension static
adding doc
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user