2026-10-02 14:53:02 +08:00
|
|
|
cabal-version: 2.4
|
|
|
|
|
|
|
|
|
|
name: chusql-interface
|
|
|
|
|
version: 1.0.0
|
2026-10-05 00:15:01 +08:00
|
|
|
synopsis: ChuSQL configuration, authentication, SQL helpers, and TCP client
|
|
|
|
|
description: Provides engine-independent interfaces shared by web and
|
|
|
|
|
command-line clients, including settings.toml configuration,
|
|
|
|
|
password handling, statement construction, and TCP sessions.
|
|
|
|
|
Supports SQL execution and catalog and role inspection through
|
|
|
|
|
chusql-server without linking the engine or storage library.
|
2026-10-02 14:53:02 +08:00
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
|
|
library
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
|
exposed-modules: ChuSQL.Interface.AccountTable
|
|
|
|
|
ChuSQL.Interface.Actions
|
|
|
|
|
ChuSQL.Interface.Auth
|
|
|
|
|
ChuSQL.Interface.Config
|
2026-10-11 17:32:12 +08:00
|
|
|
ChuSQL.Interface.Normalization
|
2026-10-02 14:53:02 +08:00
|
|
|
ChuSQL.Interface.Link
|
|
|
|
|
ChuSQL.Interface.Policy
|
|
|
|
|
ChuSQL.Interface.Protocol
|
|
|
|
|
ChuSQL.Interface.RateLimit
|
|
|
|
|
ChuSQL.Interface.Session
|
2026-10-05 22:22:23 +08:00
|
|
|
ChuSQL.Interface.Sudo
|
2026-10-02 14:53:02 +08:00
|
|
|
ChuSQL.Interface.Settings
|
|
|
|
|
ChuSQL.Interface.TOML
|
|
|
|
|
build-depends: base >= 4.14 && < 5
|
|
|
|
|
, aeson
|
|
|
|
|
, bytestring
|
|
|
|
|
, chusql-core-model
|
|
|
|
|
, containers
|
|
|
|
|
, crypton
|
|
|
|
|
, directory
|
|
|
|
|
, filepath
|
|
|
|
|
, memory
|
|
|
|
|
, network
|
|
|
|
|
, scientific
|
|
|
|
|
, text
|
|
|
|
|
, time
|
2026-10-05 22:22:23 +08:00
|
|
|
c-sources: cbits/sudo_credential.c
|
|
|
|
|
if os(windows)
|
|
|
|
|
extra-libraries: advapi32
|
2026-10-02 14:53:02 +08:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
ghc-options: -Wall
|