#[cfg(feature = "embed-fastembed")]
pub use blazen_embed_fastembed::{
FastEmbedError as EmbedError, FastEmbedModel as EmbedModel, FastEmbedOptions as EmbedOptions,
FastEmbedResponse as EmbedResponse,
};
#[cfg(all(feature = "embed-tract", not(feature = "embed-fastembed")))]
pub use blazen_embed_tract::{
TractEmbedModel as EmbedModel, TractError as EmbedError, TractOptions as EmbedOptions,
TractResponse as EmbedResponse,
};
#[cfg(all(
not(feature = "embed-fastembed"),
not(feature = "embed-tract"),
not(target_family = "wasm"),
not(target_env = "musl"),
any(
all(target_arch = "x86_64", target_os = "linux"),
all(target_arch = "x86_64", target_os = "windows"),
all(target_arch = "aarch64", target_os = "macos"),
)
))]
pub use blazen_embed_fastembed::{
FastEmbedError as EmbedError, FastEmbedModel as EmbedModel, FastEmbedOptions as EmbedOptions,
FastEmbedResponse as EmbedResponse,
};
#[cfg(all(
not(feature = "embed-fastembed"),
not(feature = "embed-tract"),
any(
target_family = "wasm",
target_env = "musl",
all(target_arch = "aarch64", target_os = "linux"),
all(target_arch = "aarch64", target_os = "windows"),
all(target_arch = "x86_64", target_os = "macos"),
)
))]
pub use blazen_embed_tract::{
TractEmbedModel as EmbedModel, TractError as EmbedError, TractOptions as EmbedOptions,
TractResponse as EmbedResponse,
};