[package]
edition = "2024"
rust-version = "1.85"
name = "sntl"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile-time guarded ORM for PostgreSQL — your data's guardian from compile to production"
readme = "README.md"
keywords = [
"orm",
"postgresql",
"compile-time",
"type-safe",
"async",
]
categories = [
"database",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cntm-labs/sentinel"
resolver = "2"
[lib]
name = "sntl"
path = "src/lib.rs"
[[test]]
name = "compile_fail_test"
path = "tests/compile_fail_test.rs"
[[test]]
name = "delete_test"
path = "tests/delete_test.rs"
[[test]]
name = "derive_attrs_test"
path = "tests/derive_attrs_test.rs"
[[test]]
name = "derive_columns_test"
path = "tests/derive_columns_test.rs"
[[test]]
name = "derive_create_test"
path = "tests/derive_create_test.rs"
[[test]]
name = "derive_exec_test"
path = "tests/derive_exec_test.rs"
[[test]]
name = "derive_model_test"
path = "tests/derive_model_test.rs"
[[test]]
name = "derive_partial_test"
path = "tests/derive_partial_test.rs"
[[test]]
name = "dynamic_test"
path = "tests/dynamic_test.rs"
[[test]]
name = "error_bridge_test"
path = "tests/error_bridge_test.rs"
[[test]]
name = "error_test"
path = "tests/error_test.rs"
[[test]]
name = "execute_query_test"
path = "tests/execute_query_test.rs"
[[test]]
name = "expr_test"
path = "tests/expr_test.rs"
[[test]]
name = "fetch_test"
path = "tests/fetch_test.rs"
[[test]]
name = "insert_test"
path = "tests/insert_test.rs"
[[test]]
name = "model_test"
path = "tests/model_test.rs"
[[test]]
name = "prelude_test"
path = "tests/prelude_test.rs"
[[test]]
name = "select_test"
path = "tests/select_test.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[[test]]
name = "update_test"
path = "tests/update_test.rs"
[[test]]
name = "value_test"
path = "tests/value_test.rs"
[[test]]
name = "value_tosql_test"
path = "tests/value_tosql_test.rs"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.driver]
version = "0.1"
package = "sentinel-driver"
[dependencies.macros]
version = "0.1.0"
package = "sntl-macros"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.cargo-husky]
version = "1"
features = [
"precommit-hook",
"run-cargo-fmt",
"run-cargo-clippy",
"run-cargo-test",
]
default-features = false
[dev-dependencies.trybuild]
version = "1"