musq 0.0.4

Musq is an asynchronous SQLite toolkit for Rust.
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 = "musq"
version = "0.0.4"
authors = ["Aldo Cortesi <aldo@corte.si>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Musq is an asynchronous SQLite toolkit for Rust."
readme = "README.md"
license = "MIT"
repository = "https://github.com/cortesi/musq"

[features]
default = ["vec"]
vec = [
    "dep:sqlite-vec",
    "dep:bytemuck",
]

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

[[example]]
name = "executor_interchangeability"
path = "examples/executor_interchangeability.rs"

[[example]]
name = "readme_quickstart"
path = "examples/readme_quickstart.rs"

[[example]]
name = "readme_snippets"
path = "examples/readme_snippets.rs"

[[example]]
name = "vec"
path = "examples/vec.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.atoi]
version = "3.1.0"

[dependencies.bstr]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.bytemuck]
version = "1.25.0"
optional = true

[dependencies.bytes]
version = "1.1.0"

[dependencies.crossbeam-queue]
version = "0.3.2"

[dependencies.either]
version = "1.6.1"
features = ["serde"]

[dependencies.event-listener]
version = "5.3.1"

[dependencies.flume]
version = "0.12"

[dependencies.futures-core]
version = "0.3.19"
default-features = false

[dependencies.futures-executor]
version = "0.3.28"

[dependencies.futures-util]
version = "0.3.19"
features = [
    "alloc",
    "sink",
    "io",
]
default-features = false

[dependencies.hashlink]
version = "0.12"

[dependencies.indexmap]
version = "2.0"

[dependencies.libsqlite3-sys]
version = "0.38"
features = [
    "bundled",
    "pkg-config",
    "unlock_notify",
    "vcpkg",
]
default-features = false

[dependencies.log]
version = "0.4.14"
default-features = false

[dependencies.musq-macros]
version = "0.0.4"

[dependencies.serde]
version = "1.0.132"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.73"

[dependencies.sqlformat]
version = "0.5"

[dependencies.sqlite-vec]
version = "0.1.9"
optional = true

[dependencies.thiserror]
version = "2.0.12"

[dependencies.time]
version = "0.3.14"
features = [
    "formatting",
    "parsing",
    "macros",
    "serde",
]

[dependencies.tokio]
version = "1.15.0"
features = ["full"]

[dependencies.tracing]
version = "0.1.37"
features = ["log"]

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

[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]

[dev-dependencies.futures]
version = "0.3.19"

[dev-dependencies.paste]
version = "1.0.6"

[dev-dependencies.rand]
version = "0.10.2"

[dev-dependencies.rand_xoshiro]
version = "0.8.1"

[dev-dependencies.serde]
version = "1.0.132"
features = ["derive"]

[dev-dependencies.tempdir]
version = "0.3.7"

[dev-dependencies.tokio]
version = "1.15.0"
features = ["full"]

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

[lints.clippy]
absolute_paths = "warn"
branches_sharing_code = "warn"
cfg_not_test = "warn"
cognitive_complexity = "warn"
comparison_chain = "warn"
excessive_nesting = "warn"
ignore_without_reason = "warn"
items_after_statements = "warn"
let_underscore_must_use = "warn"
many_single_char_names = "warn"
missing_docs_in_private_items = "warn"
multiple_inherent_impl = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
redundant_pub_crate = "warn"
self_named_module_files = "warn"
tests_outside_test_module = "warn"
too_many_lines = "warn"
use_self = "warn"
wildcard_dependencies = "warn"

[lints.rust]
missing_docs = "warn"