From 41f1f97138078395bc6f6a6bdd488dc43412686f Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Fri, 28 Feb 2025 16:50:38 -0300 Subject: [PATCH] cargo toml add extension static adding doc --- core/Cargo.toml | 3 ++- extensions/core/README.md | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index a790a0ca3..4d294d397 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -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 } diff --git a/extensions/core/README.md b/extensions/core/README.md index 857caef60..0e4246f37 100644 --- a/extensions/core/README.md +++ b/extensions/core/README.md @@ -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]