mirror of
https://git.pumpin.online/funkpower/catena.git
synced 2026-10-23 11:17:13 +00:00
bindings: a C ABI and an npm package alongside the wheel
This commit is contained in:
@@ -18,6 +18,14 @@
|
||||
#[cfg(feature = "python")]
|
||||
mod python;
|
||||
|
||||
#[cfg(feature = "capi")]
|
||||
pub mod capi;
|
||||
|
||||
// Only ever compiled for a wasm32 target. The feature can be on elsewhere —
|
||||
// `--all-features` turns everything on — and there it compiles to nothing.
|
||||
#[cfg(all(feature = "wasm", target_arch = "wasm32"))]
|
||||
pub mod wasm;
|
||||
|
||||
use corpus_core::{Chunk, Doc, Hit};
|
||||
use cuekit::Cue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user