Drop the ml2 feature from Cargo files (#3606)

This commit is contained in:
Maxwell Flitton 2024-03-01 13:53:36 +00:00 committed by GitHub
parent 2914641827
commit 9fc5af2660
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 22 deletions

18
Cargo.lock generated
View file

@ -5539,8 +5539,7 @@ dependencies = [
"surrealdb-jsonwebtoken", "surrealdb-jsonwebtoken",
"surrealdb-tikv-client", "surrealdb-tikv-client",
"surrealkv", "surrealkv",
"surrealml-core 0.0.7", "surrealml-core",
"surrealml-core 0.0.8",
"temp-dir", "temp-dir",
"test-log", "test-log",
"thiserror", "thiserror",
@ -5638,21 +5637,6 @@ dependencies = [
"vart", "vart",
] ]
[[package]]
name = "surrealml-core"
version = "0.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3614a87a606d39a6152a82452a1aa8946d985465c425972a2ef13e078c6df59a"
dependencies = [
"bytes",
"futures-core",
"futures-util",
"ndarray",
"once_cell",
"ort",
"regex",
]
[[package]] [[package]]
name = "surrealml-core" name = "surrealml-core"
version = "0.0.8" version = "0.0.8"

View file

@ -19,7 +19,6 @@ scripting = ["surrealdb/scripting"]
http = ["surrealdb/http"] http = ["surrealdb/http"]
http-compression = [] http-compression = []
ml = ["surrealdb/ml"] ml = ["surrealdb/ml"]
ml2 = ["surrealdb/ml2"]
jwks = ["surrealdb/jwks"] jwks = ["surrealdb/jwks"]
sql2 = ["surrealdb/sql2"] sql2 = ["surrealdb/sql2"]
parser2 = ["surrealdb/parser2"] parser2 = ["surrealdb/parser2"]

View file

@ -41,7 +41,6 @@ kv-surrealkv = ["dep:surrealkv", "tokio/time"]
scripting = ["dep:js"] scripting = ["dep:js"]
http = ["dep:reqwest"] http = ["dep:reqwest"]
ml = ["dep:surrealml-core1", "dep:ndarray"] ml = ["dep:surrealml-core1", "dep:ndarray"]
ml2 = ["dep:surrealml-core2", "dep:ndarray"]
jwks = ["dep:reqwest", "sql2"] jwks = ["dep:reqwest", "sql2"]
arbitrary = [ arbitrary = [
"dep:arbitrary", "dep:arbitrary",
@ -137,8 +136,7 @@ sha2 = "0.10.8"
snap = "1.1.0" snap = "1.1.0"
speedb = { version = "0.0.4", features = ["lz4", "snappy"], optional = true } speedb = { version = "0.0.4", features = ["lz4", "snappy"], optional = true }
storekey = "0.5.0" storekey = "0.5.0"
surrealml-core1 = { version = "0.0.7", optional = true, package = "surrealml-core" } surrealml-core1 = { version = "0.0.8", optional = true, package = "surrealml-core" }
surrealml-core2 = { version = "0.0.8", optional = true, package = "surrealml-core" }
surrealkv = { version = "0.1.3", optional = true } surrealkv = { version = "0.1.3", optional = true }
thiserror = "1.0.50" thiserror = "1.0.50"
tikv = { version = "0.2.0-surreal.2", default-features = false, package = "surrealdb-tikv-client", optional = true } tikv = { version = "0.2.0-surreal.2", default-features = false, package = "surrealdb-tikv-client", optional = true }

View file

@ -53,7 +53,6 @@ rustls = [
"tokio-tungstenite?/rustls-tls-webpki-roots", "tokio-tungstenite?/rustls-tls-webpki-roots",
] ]
ml = ["surrealdb-core/ml"] ml = ["surrealdb-core/ml"]
ml2 = ["surrealdb-core/ml2"]
jwks = ["surrealdb-core/jwks"] jwks = ["surrealdb-core/jwks"]
arbitrary = ["surrealdb-core/arbitrary"] arbitrary = ["surrealdb-core/arbitrary"]
sql2 = ["surrealdb-core/sql2"] sql2 = ["surrealdb-core/sql2"]