candybase 0.1.0

A procedural database access library for Rust — as simple as PHP's mysqli_* functions, with Rust's safety.
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 = "2021"
name = "candybase"
version = "0.1.0"
authors = ["Milton Vafana <miltonhyndrex@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A procedural database access library for Rust — as simple as PHP's mysqli_* functions, with Rust's safety."
homepage = "https://github.com/nia-cloud-official/candybase"
documentation = "https://docs.rs/candybase"
readme = "README.md"
keywords = [
    "database",
    "mysql",
    "postgres",
    "sqlite",
    "procedural",
]
categories = [
    "database",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/nia-cloud-official/candybase"

[package.metadata.docs.rs]
features = ["all"]

[features]
all = [
    "mysql",
    "postgres",
    "sqlite",
]
default = ["sqlite"]
mysql = ["dep:mysql"]
postgres = ["dep:postgres"]
sqlite = ["dep:rusqlite"]

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

[[example]]
name = "mysql_demo"
path = "examples/mysql_demo.rs"
required-features = ["mysql"]

[[example]]
name = "postgres_demo"
path = "examples/postgres_demo.rs"
required-features = ["postgres"]

[[example]]
name = "sqlite_demo"
path = "examples/sqlite_demo.rs"
required-features = ["sqlite"]

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

[dependencies.mysql]
version = "25"
optional = true

[dependencies.postgres]
version = "0.19"
optional = true

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.url]
version = "2"

[dev-dependencies]