Files
ChuSQL/chusql-web/chusql-web.cabal
T

91 lines
2.9 KiB
Plaintext
Raw Normal View History

2026-09-25 17:41:51 +08:00
cabal-version: 2.4
name: chusql-web
version: 1.0.0
synopsis: ChuSQL Web 管理端:Scotty + REST API + 静态页面
description: ChuSQL 的浏览器管理端。负责 HTTP 交付、鉴权、静态文件,
以及把用户 SQL 转交给 chusql-engine(再由 IPC 打到 Rust 存储进程)。
build-type: Simple
library
hs-source-dirs: src
exposed-modules: ChuSQL.Web.Actions
2026-10-01 20:48:38 +08:00
ChuSQL.Web.Accounts
ChuSQL.Web.API
2026-09-25 17:41:51 +08:00
ChuSQL.Web.Auth
ChuSQL.Web.Backend
ChuSQL.Web.Config
ChuSQL.Web.Demo
2026-10-01 20:48:38 +08:00
ChuSQL.Web.Privileges
2026-09-25 17:41:51 +08:00
ChuSQL.Web.RateLimit
ChuSQL.Web.Secure
ChuSQL.Web.Settings
ChuSQL.Web.Static
ChuSQL.Web.StorageProcess
2026-10-01 20:48:38 +08:00
ChuSQL.Web.TOML
ChuSQL.Web.UISettings
2026-09-25 17:41:51 +08:00
build-depends: base >= 4.14 && < 5
, aeson
, bytestring
, chusql-engine
, containers
, crypton
, directory
, filepath
, http-types
, memory
, process
, scientific
, scotty
, text
, time
, vector
, wai
default-language: Haskell2010
ghc-options: -Wall
executable chusql-web
main-is: Main.hs
hs-source-dirs: app
build-depends: base
, bytestring
, chusql-engine
, chusql-web
2026-10-01 20:48:38 +08:00
, containers
2026-09-25 17:41:51 +08:00
, crypton
, directory
, filepath
, http-types
, memory
, text
, time
, wai
, warp
default-language: Haskell2010
ghc-options: -Wall
test-suite chusql-web-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends: base
, aeson
, bytestring
, chusql-engine
, chusql-web
, containers
, directory
, filepath
, hspec
, hspec-wai
, http-client
, http-types
, process
, text
, time
, vector
, wai
, wai-extra
, warp
default-language: Haskell2010
ghc-options: -Wall