Skip to content

Commit 23eba91

Browse files
committed
cargo toml add extension static
adding doc
1 parent 49b75d3 commit 23eba91

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name = "limbo_core"
1414
path = "lib.rs"
1515

1616
[features]
17-
default = ["fs", "json", "uuid", "time"]
17+
default = ["fs", "json", "uuid", "time", "static"]
1818
fs = []
1919
json = ["dep:jsonb", "dep:pest", "dep:pest_derive", "dep:serde", "dep:indexmap"]
2020
uuid = ["limbo_uuid/static"]
@@ -25,6 +25,7 @@ time = ["limbo_time/static"]
2525
crypto = ["limbo_crypto/static"]
2626
series = ["limbo_series/static"]
2727
ipaddr = ["limbo_ipaddr/static"]
28+
static = ["limbo_ext/static"]
2829

2930
[target.'cfg(target_os = "linux")'.dependencies]
3031
io-uring = { version = "0.6.1", optional = true }

extensions/core/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ cargo new --lib extensions/your_crate_name
2222

2323
Add the crate to your `extensions/your_crate_name/Cargo.toml`:
2424

25+
This modification in `Cargo.toml` is only needed if you are creating an extension as a separate Crate. If you are
26+
creating an extension inside `core`, this step should be skipped.
27+
2528
```toml
2629

2730
[features]

0 commit comments

Comments
 (0)