[package]
edition = "2024"
name = "pakem"
version = "1.0.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A beautiful, fast, and elegant web framework for Rust — Look like Laravel, Run at Rust Speed"
homepage = "https://pakem.my.id"
readme = "README.md"
keywords = [
"pakem",
"framework",
"web",
"laravel",
"rust",
]
categories = [
"web-programming::http-server",
"network-programming",
]
license = "MIT"
repository = "https://github.com/pakem-rs/framework"
[features]
all = [
"sqlite",
"postgres",
"mysql",
"mssql",
"redis",
]
default = [
"postgres",
"sqlite",
]
mssql = [
"dep:tiberius",
"dep:bb8",
"dep:bb8-tiberius",
"dep:tokio-util",
]
mysql = [
"sqlx/mysql",
"tower-sessions-sqlx-store/mysql",
]
postgres = [
"sqlx/postgres",
"tower-sessions-sqlx-store/postgres",
]
redis = ["dep:redis"]
sqlite = [
"sqlx/sqlite",
"tower-sessions-sqlx-store/sqlite",
]
[lib]
name = "pakem"
path = "src/lib.rs"
[[bin]]
name = "pakem"
path = "src/bin/pakem.rs"
[[bin]]
name = "test_features"
path = "src/bin/test_features.rs"
[[test]]
name = "advanced_eloquent_test"
path = "tests/advanced_eloquent_test.rs"
[[test]]
name = "ai_facade_test"
path = "tests/ai_facade_test.rs"
[[test]]
name = "cache_test"
path = "tests/cache_test.rs"
[[test]]
name = "custom_middleware_test"
path = "tests/custom_middleware_test.rs"
[[test]]
name = "database_config_test"
path = "tests/database_config_test.rs"
[[test]]
name = "eloquent_orm_test"
path = "tests/eloquent_orm_test.rs"
[[test]]
name = "enterprise_security_test"
path = "tests/enterprise_security_test.rs"
[[test]]
name = "factory_test"
path = "tests/factory_test.rs"
[[test]]
name = "financial_types_test"
path = "tests/financial_types_test.rs"
[[test]]
name = "fluent_testing_kit_test"
path = "tests/fluent_testing_kit_test.rs"
[[test]]
name = "hardware_bridge_test"
path = "tests/hardware_bridge_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "legacy_auth_adapter_test"
path = "tests/legacy_auth_adapter_test.rs"
[[test]]
name = "mssql_parser_test"
path = "tests/mssql_parser_test.rs"
[[test]]
name = "openapi_test"
path = "tests/openapi_test.rs"
[[test]]
name = "orm_human_features_test"
path = "tests/orm_human_features_test.rs"
[[test]]
name = "production_features_test"
path = "tests/production_features_test.rs"
[[test]]
name = "rustfs_live_test"
path = "tests/rustfs_live_test.rs"
[[test]]
name = "sandi_an_test"
path = "tests/sandi_an_test.rs"
[[test]]
name = "soft_deletes_test"
path = "tests/soft_deletes_test.rs"
[[test]]
name = "storage_test"
path = "tests/storage_test.rs"
[[test]]
name = "tinker_test"
path = "tests/tinker_test.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[[test]]
name = "wasm_hot_reload_test"
path = "tests/wasm_hot_reload_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"macros",
"multipart",
"ws",
]
[dependencies.axum-extra]
version = "0.10"
features = [
"cookie",
"cookie-private",
]
[dependencies.axum_csrf]
version = "0.11"
features = ["layer"]
[dependencies.bb8]
version = "0.9"
optional = true
[dependencies.bb8-tiberius]
version = "0.16"
optional = true
[dependencies.bcrypt]
version = "0.15"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dotenv]
version = "0.15"
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.image]
version = "0.25"
[dependencies.indonesian-script]
version = "0.1.2"
[dependencies.jsonwebtoken]
version = "9"
[dependencies.moka]
version = "0.12.15"
features = ["future"]
[dependencies.oauth2]
version = "4.4"
[dependencies.pakem-blade]
version = "1.0.5"
[dependencies.pakem_macros]
version = "1.0.5"
[dependencies.rand]
version = "0.8"
[dependencies.redis]
version = "0.26"
features = [
"tokio-comp",
"connection-manager",
]
optional = true
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rust_decimal]
version = "1"
features = [
"serde",
"maths",
]
[dependencies.rust_decimal_macros]
version = "1"
[dependencies.rustyline]
version = "14.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"macros",
"any",
"chrono",
"uuid",
"rust_decimal",
]
default-features = false
[dependencies.subtle]
version = "2"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tiberius]
version = "0.12"
features = [
"tds73",
"rustls",
"chrono",
"rust_decimal",
]
optional = true
default-features = false
[dependencies.time]
version = "0.3.47"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-cron-scheduler]
version = "0.10"
[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true
[dependencies.tower]
version = "0.5"
features = ["util"]
[dependencies.tower-http]
version = "0.6"
features = [
"catch-panic",
"cors",
"trace",
"fs",
"compression-gzip",
"compression-br",
]
[dependencies.tower-sessions]
version = "0.15"
[dependencies.tower-sessions-sqlx-store]
version = "0.15"
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-appender]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dependencies.validator]
version = "0.18"
features = ["derive"]
[dependencies.walkdir]
version = "2"
[dependencies.wasmi]
version = "2.0"
[dependencies.zip]
version = "2.2"
[profile.dev]
debug = 1
incremental = true
[profile.dev.package."*"]
opt-level = 2
debug = 0
[profile.release]
opt-level = "z"
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
[profile.test]
debug = 1
[profile.test.package."*"]
opt-level = 2
debug = 0