Skip to content

Commit 147b9ad

Browse files
committed
restore features (can't use cargo build directly)
1 parent 90985ae commit 147b9ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ name = "tiktoken_core"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
mlua = { version = "0.9.1", features = ["serialize", "module", "lua51"] }
12+
mlua = { version = "0.9.1", features = ["serialize", "module"] }
1313
# tiktoken dependencies
1414
fancy-regex = "0.11.0"
1515
regex = "1.8.3"
1616
rustc-hash = "1.1.0"
1717
bstr = "1.5.0"
1818

19+
[features]
20+
lua54 = ["mlua/lua54"]
21+
lua53 = ["mlua/lua53"]
22+
lua52 = ["mlua/lua52"]
23+
lua51 = ["mlua/lua51"]

0 commit comments

Comments
 (0)