# 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 = "2021"
rust-version = "1.81"
name = "lbug"
version = "0.17.1"
build = "build.rs"
include = [
    "build.rs",
    "/scripts",
    "/src",
    "/include",
    "/lbug-src/src",
    "/lbug-src/cmake",
    "/lbug-src/third_party",
    "/lbug-src/CMakeLists.txt",
    "/lbug-src/tools/CMakeLists.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An in-process property graph database management system built for query speed and scalability"
homepage = "https://ladybugdb.com/"
readme = "lbug-src/README.md"
keywords = [
    "database",
    "graph",
    "ffi",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/LadybugDB/ladybug-rust"

[package.metadata.docs.rs]
all-features = true

[features]
arrow = ["dep:arrow"]
default = []
extension_tests = []

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

[dependencies.arrow]
version = "55"
features = ["ffi"]
optional = true
default-features = false

[dependencies.cxx]
version = "=1.0.138"

[dependencies.rust_decimal]
version = "1.37"
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.time]
version = "0.3"

[dependencies.uuid]
version = "1.6"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.rust_decimal_macros]
version = "1.37"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.time]
version = "0.3"
features = ["macros"]

[build-dependencies.cmake]
version = "0.1"

[build-dependencies.cxx-build]
version = "=1.0.138"

[build-dependencies.rustversion]
version = "1"

[lints.clippy]
inline_always = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unreadable_literal = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[profile.relwithdebinfo]
debug = 2
inherits = "release"
