Typed decision/classification service with an in-process gte-small ONNX embedding engine and lexical fallback, JS/Python SDKs, adapters, and the otsone model family. Apache-2.0 (sub-packages keep their MIT licenses). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
419 B
Rust
11 lines
419 B
Rust
use std::path::PathBuf;
|
|
|
|
fn main() {
|
|
let cpp = PathBuf::from("../cpp").canonicalize().expect("engine/cpp");
|
|
println!("cargo:rustc-link-search=native={}", cpp.display());
|
|
println!("cargo:rustc-link-lib=dylib=openjev");
|
|
println!("cargo:rustc-link-arg=-Wl,-rpath,{}", cpp.display());
|
|
println!("cargo:rerun-if-changed=../cpp/libopenjev.so");
|
|
println!("cargo:rerun-if-changed=../cpp/openjev.cpp");
|
|
}
|