# Generated by alef. Do not edit by hand. [package] name = "kreuzberg-swift" version = "5.0.0-rc.3" edition = "2024" license = "Elastic-2.0" # `ahash`, `async-trait`, `libc`, `serde`, `serde_json`, and `tokio` are all # conditionally referenced by alef-emitted code: `ahash` only when the # umbrella crate exposes `AHashMap, _>` parameters (the conditional # `__*_ahash` shim rebuilds), `async-trait` and `tokio` only when the API # surface includes async streaming adapters and runtime spawn, `libc` only # when service API C callback functions are emitted, `serde` and # `serde_json` only when JSON DTO conversions are emitted. They are listed # unconditionally in `[dependencies]` so the manifest is stable across # regens, and ignored here so cargo-machete does not flag downstream crates # whose API surface does not trigger those paths as unused. [package.metadata.cargo-machete] ignored = ["ahash", "async-trait", "libc", "serde", "serde_json", "tokio"] [lib] crate-type = ["cdylib", "staticlib"] # The `extern "Swift"` block emits linker references that are only resolvable # when the crate is linked into a Swift target. `cargo test --workspace` on # pure-Rust runners (e.g. windows-latest) would otherwise fail with # undefined `__swift_bridge__$*$alef_visit_*` symbols. test = false doctest = false bench = false [dependencies] ahash = "0.8" async-trait = "0.1" kreuzberg = { version = "5.0.0-rc.3", path = "../../../crates/kreuzberg", features = ["full", "ocr-wasm"] } libc = "0.2" serde = { version = "1", features = ["derive"] } serde_json = "1" swift-bridge = "0.1.59" tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] } [build-dependencies] swift-bridge-build = "0.1.59"