aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: ce6a36745805b9bef68249fa34ec7240b90186ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# -*- coding: utf-8 -*-

[workspace]
members = [
    # Webserver CGI frontend:
    "cms-cgi",          # Webserver CGI executable.

    # Daemons:
    "cms-backd",        # Backend daemon.
    "cms-fsd",          # Database access daemon.
    "cms-postd",        # Post execution daemon.

    # Daemon communication sockets:
    "cms-socket",       # Generic socket abstraction.
    "cms-socket-back",  # Backend daemon access socket.
    "cms-socket-db",    # Database daemon access socket.
    "cms-socket-post",  # Post daemon access socket.

    # Helper libraries:
    "cms-ident",        # CMS page identifier encapsulation.
    "cms-systemd",      # Systemd daemon helper routines.
    "cms-seccomp",      # Seccomp abstraction.
]
resolver = "2"

[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [ "Michael Büsch <m@bues.ch>" ]
rust-version = "1.82"

[workspace.dependencies]
anyhow = "1"
bincode = "1"
build-target = "0.4"
chrono = "0.4"
clap = "4"
configparser = "3"
html-escape = "0.2"
image = { version = "0.25", default-features = false }
inotify = "0.11"
lazy_static = "1"
libc = "0.2"
lru = "0.12"
multer = "3"
peekable-fwd-bwd = "1"
pyo3 = "0.22"
querystrong = "0.3"
rand = "0.8"
sd-notify = "0.4"
seccompiler = "0.4"
serde = "1"
tokio = "1"
url-escape = "0.1"

cms-ident = { version = "1", path = "./cms-ident" }
cms-seccomp = { version = "1", path = "./cms-seccomp" }
cms-socket = { version = "1", path = "./cms-socket" }
cms-socket-back = { version = "1", path = "./cms-socket-back" }
cms-socket-db = { version = "1", path = "./cms-socket-db" }
cms-socket-post = { version = "1", path = "./cms-socket-post" }
cms-systemd = { version = "1", path = "./cms-systemd" }

[profile.release]
opt-level = 3
lto = "fat"
panic = "abort"
strip = "symbols"
debug-assertions = false
overflow-checks = true
codegen-units = 1

# vim: ts=4 sw=4 expandtab
bues.ch cgit interface