diff --git a/native/sql_parser_ex/Cargo.toml b/native/sql_parser_ex/Cargo.toml index dcfc44e..5fed0e8 100644 --- a/native/sql_parser_ex/Cargo.toml +++ b/native/sql_parser_ex/Cargo.toml @@ -8,6 +8,10 @@ name = "sql_parser_ex" path = "src/lib.rs" crate-type = ["cdylib"] +[features] +nif_version_2_15 = ["rustler/nif_version_2_15"] +nif_version_2_16 = ["rustler/nif_version_2_16", "nif_version_2_15"] + [dependencies] rustler = { version = "0.37", features = ["derive"] } sqlparser = { version = "0.61", features = ["serde", "visitor"] }