sqlmodel 0.2.1

SQL databases in Rust, designed to be intuitive and type-safe
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"
rust-version = "1.85"
name = "sqlmodel"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL databases in Rust, designed to be intuitive and type-safe"
homepage = "https://github.com/sqlmodel/sqlmodel-rust"
documentation = "https://docs.rs/sqlmodel"
readme = "README.md"
keywords = [
    "sql",
    "orm",
    "database",
    "sqlmodel",
    "async",
]
categories = [
    "database",
    "database-implementations",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/sqlmodel/sqlmodel-rust"
resolver = "2"

[features]
c-sqlite-tests = ["dep:sqlmodel-sqlite"]
console = ["dep:sqlmodel-console"]
default = []

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

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

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

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

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

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

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

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

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

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

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

[dependencies.asupersync]
version = "0.2.9"
features = ["test-internals"]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sqlmodel-console]
version = "0.2.1"
optional = true

[dependencies.sqlmodel-core]
version = "0.2.1"

[dependencies.sqlmodel-macros]
version = "0.2.1"

[dependencies.sqlmodel-pool]
version = "0.2.1"

[dependencies.sqlmodel-query]
version = "0.2.1"

[dependencies.sqlmodel-schema]
version = "0.2.1"

[dependencies.sqlmodel-session]
version = "0.2.1"

[dependencies.sqlmodel-sqlite]
version = "0.2.1"
optional = true

[lints.clippy]
bool_to_int_with_if = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
format_push_string = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_self = "allow"

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

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

[lints.rust]
unsafe_code = "warn"