[package]
edition = "2024"
rust-version = "1.95"
name = "djogi"
version = "0.1.0-alpha.17"
authors = ["Tarunvir Bains"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model-first web framework for Rust — web-framework-agnostic core; Axum integration opt-in via the `axum` feature flag"
homepage = "https://github.com/TarunvirBains/djogi"
documentation = "https://docs.rs/djogi"
readme = "README.md"
keywords = [
"orm",
"postgres",
"web-framework",
"model",
"migrations",
]
categories = [
"database",
"web-programming",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/TarunvirBains/djogi"
resolver = "2"
[package.metadata.lihaaf]
dylib_crate = "djogi"
extern_crates = ["djogi"]
features = ["testing"]
dev_deps = []
edition = "2024"
fixture_dirs = ["tests/compile_fail"]
[[package.metadata.lihaaf.suite]]
name = "spatial"
features = [
"testing",
"spatial",
]
fixture_dirs = ["tests/compile_fail_spatial"]
[[package.metadata.lihaaf.suite]]
name = "aes"
features = [
"testing",
"aes-codec",
]
fixture_dirs = ["tests/compile_fail_aes"]
[features]
aes-codec = [
"dep:aes-gcm",
"dep:getrandom",
"dep:hex",
"dep:hkdf",
]
auth-argon2 = [
"dep:argon2",
"dep:password-hash",
]
hmac-codec = []
network = []
notify = []
outbox = []
outbox-kafka = ["outbox"]
outbox-nats = ["outbox"]
outbox-redis = ["outbox"]
spatial = []
testing = []
trgm = []
[lib]
name = "djogi"
path = "src/lib.rs"
[[bin]]
name = "djogi-outbox-relay"
path = "src/bin/djogi-outbox-relay.rs"
required-features = ["outbox"]
[[test]]
name = "cache_module"
path = "tests/cache_module.rs"
[dependencies.aes-gcm]
version = "0.10"
features = [
"aes",
"alloc",
]
optional = true
default-features = false
[dependencies.argon2]
version = "0.5"
features = ["std"]
optional = true
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.deadpool-postgres]
version = "0.14"
[dependencies.djogi-macros]
version = "0.1.0-alpha.9"
[dependencies.figment]
version = "0.10"
features = [
"toml",
"env",
]
[dependencies.futures]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.getrandom]
version = "0.3"
features = ["std"]
optional = true
[dependencies.heeranjid]
version = "0.5.0"
features = ["postgres"]
[dependencies.hex]
version = "0.4"
optional = true
[dependencies.hkdf]
version = "0.13"
optional = true
[dependencies.hmac]
version = "0.13"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.inventory]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.password-hash]
version = "0.5"
features = ["getrandom"]
optional = true
[dependencies.phf]
version = "0.13"
features = ["macros"]
[dependencies.postgres-types]
version = "0.2"
features = [
"with-serde_json-1",
"with-time-0_3",
"with-uuid-1",
"array-impls",
]
default-features = false
[dependencies.rust_decimal]
version = "1"
features = ["db-tokio-postgres"]
[dependencies.sassi]
version = "0.1.0-beta.3"
features = [
"watermark-time",
"serde-json-bridge",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = [
"preserve_order",
"arbitrary_precision",
]
[dependencies.sha2]
version = "0.11"
[dependencies.subtle]
version = "2"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"serde",
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1.48"
features = [
"macros",
"rt-multi-thread",
"signal",
]
[dependencies.tokio-postgres]
version = "0.7"
features = [
"runtime",
"with-time-0_3",
"with-serde_json-1",
"with-uuid-1",
"array-impls",
]
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.trait-variant]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]
[dev-dependencies.figment]
version = "0.10"
features = [
"toml",
"env",
"test",
]
[dev-dependencies.rust_decimal_macros]
version = "1"
[dev-dependencies.serial_test]
version = "3"
default-features = false
[dev-dependencies.tokio]
version = "1.48"
features = [
"macros",
"rt-multi-thread",
"signal",
"macros",
"rt-multi-thread",
]
[dev-dependencies.tracing-test]
version = "0.2"