# 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"
rust-version = "1.91"
name = "olai-datafusion-policy"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engine-neutral policy enforcement (access gate + row/column governance) for Apache DataFusion sessions"
homepage = "https://github.com/open-lakehouse/breakwater/tree/main/crates/datafusion-policy"
documentation = "https://docs.rs/olai-datafusion-policy"
readme = "README.md"
keywords = [
    "datafusion",
    "authorization",
    "governance",
    "policy",
]
categories = [
    "database",
    "authentication",
]
license = "Apache-2.0"
repository = "https://github.com/open-lakehouse/breakwater"
resolver = "2"

[features]
default = []
fgac = []

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

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

[dependencies.async-trait]
version = "^0.1.89"

[dependencies.dashmap]
version = "6.0.1"

[dependencies.datafusion]
version = "54"

[dependencies.datafusion-common]
version = "54"

[dependencies.thiserror]
version = "2"

[dev-dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "rt",
    "sync",
    "macros",
    "rt",
]
