antfly-embedded 0.3.5

Safe Rust binding for local Antfly databases and inference via libantfly
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "antfly-embedded"
version = "0.3.5"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust binding for local Antfly databases and inference via libantfly"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/antflydb/antfly"

[package.metadata.antfly-release]
source-commit = "b623a8aea17abeb962311cb6cea0e9f19202098b"

[features]
default = ["serde"]
libantfly = ["antfly-embedded-sys/libantfly"]
serde = [
    "dep:serde",
    "dep:serde_json",
]
sqlx = [
    "serde",
    "dep:sqlx-core",
    "dep:tokio",
    "dep:futures-core",
    "dep:futures-util",
    "dep:async-stream",
    "dep:either",
    "dep:url",
    "dep:log",
]

[lib]
name = "antfly_embedded"
path = "src/lib.rs"

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
required-features = [
    "libantfly",
    "serde",
]

[[test]]
name = "conformance"
path = "tests/conformance.rs"
required-features = [
    "libantfly",
    "serde",
]

[[test]]
name = "cypher"
path = "tests/cypher.rs"

[[test]]
name = "errors"
path = "tests/errors.rs"
required-features = ["libantfly"]

[[test]]
name = "inference"
path = "tests/inference.rs"
required-features = ["libantfly"]

[[test]]
name = "pure"
path = "tests/pure.rs"

[[test]]
name = "sql_scaling"
path = "tests/sql_scaling.rs"
required-features = [
    "libantfly",
    "sqlx",
]

[[test]]
name = "sqlx"
path = "tests/sqlx.rs"
required-features = [
    "libantfly",
    "sqlx",
]

[dependencies.antfly-embedded-sys]
version = "=0.3.5"

[dependencies.async-stream]
version = "0.3"
optional = true

[dependencies.either]
version = "1"
optional = true

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sqlx-core]
version = "0.9.0"
features = [
    "_rt-tokio",
    "offline",
]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
]
optional = true

[dependencies.url]
version = "2"
optional = true

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]