Rename ml1 and ml2 crate names (#3479)

This commit is contained in:
Rushmore Mushambi 2024-02-12 11:27:57 +02:00 committed by GitHub
parent da94438e06
commit c5eed02415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -39,8 +39,8 @@ kv-fdb-7_0 = ["foundationdb/fdb-7_0", "kv-fdb"]
kv-fdb-7_1 = ["foundationdb/fdb-7_1", "kv-fdb"] kv-fdb-7_1 = ["foundationdb/fdb-7_1", "kv-fdb"]
scripting = ["dep:js"] scripting = ["dep:js"]
http = ["dep:reqwest"] http = ["dep:reqwest"]
ml = ["dep:ml1", "dep:ndarray"] ml = ["dep:surrealml-core1", "dep:ndarray"]
ml2 = ["dep:ml2", "dep:ndarray"] ml2 = ["dep:surrealml-core2", "dep:ndarray"]
jwks = ["dep:reqwest", "sql2"] jwks = ["dep:reqwest", "sql2"]
arbitrary = [ arbitrary = [
"dep:arbitrary", "dep:arbitrary",
@ -136,8 +136,8 @@ 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"
ml1 = { version = "0.0.7", optional = true, package = "surrealml-core" } surrealml-core1 = { version = "0.0.7", optional = true, package = "surrealml-core" }
ml2 = { version = "0.0.8", optional = true, package = "surrealml-core" } surrealml-core2 = { version = "0.0.8", optional = true, package = "surrealml-core" }
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 }
tracing = "0.1.40" tracing = "0.1.40"

View file

@ -51,9 +51,9 @@ pub mod channel {
#[cfg(all(feature = "ml", not(feature = "ml2")))] #[cfg(all(feature = "ml", not(feature = "ml2")))]
#[cfg(not(target_arch = "wasm32"))] #[cfg(not(target_arch = "wasm32"))]
#[doc(hidden)] #[doc(hidden)]
pub use ml1 as ml; pub use surrealml_core1 as ml;
#[cfg(feature = "ml2")] #[cfg(feature = "ml2")]
#[cfg(not(target_arch = "wasm32"))] #[cfg(not(target_arch = "wasm32"))]
#[doc(hidden)] #[doc(hidden)]
pub use ml2 as ml; pub use surrealml_core2 as ml;