-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
109 lines (103 loc) · 2.9 KB
/
Cargo.toml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "archival"
version = "0.9.5"
edition = "2021"
license = "Unlicense"
description = "The simplest CMS in existence"
repository = "https://github.com/jesseditson/archival"
[lib]
name = "archival"
path = "src/lib.rs"
[features]
default = ["binary", "import-csv", "json-schema"]
dhat-heap = ["dep:dhat"]
gen-traces = ["binary", "dep:tracing-chrome"]
typescript = ["dep:typescript-type-def"]
binary = [
"stdlib-fs",
"dep:ctrlc",
"dep:tokio",
"dep:tracing-subscriber",
"dep:tiny_http",
"dep:clap",
"dep:nanoid",
"dep:indicatif",
"dep:reqwest",
"dep:home",
"dep:rsa",
"dep:rand",
"dep:base64",
"dep:urlencoding",
"json-schema",
]
import-csv = ["dep:csv"]
json-schema = []
stdlib-fs = ["dep:notify", "dep:walkdir"]
verbose-logging = []
[[bin]]
name = "archival"
path = "src/main.rs"
[profile.release]
# debug = true
codegen-units = 1
lto = false
opt-level = "s"
[dependencies]
# profiling
dhat = { version = "0.3.3", optional = true }
tracing-chrome = { version = "0.7.2", optional = true }
# binary
ctrlc = { version = "3.4.2", optional = true }
tracing-subscriber = { version = "0.3.18", features = [
"env-filter",
], optional = true }
tiny_http = { version = "0.12.0", optional = true }
clap = { version = "4.5.1", optional = true, features = ["cargo"] }
tokio = { version = "1.36.0", features = ["sync"], optional = true }
nanoid = { version = "0.4.0", optional = true }
indicatif = { version = "0.17.8", optional = true }
reqwest = { version = "0.11.24", features = [
"blocking",
"rustls-tls",
"json",
], default-features = false, optional = true }
serde_json = { version = "1.0.113" }
home = { version = "0.5.9", optional = true }
rsa = { version = "0.9.6", optional = true, features = ["sha2"] }
rand = { version = "0.8.5", optional = true }
base64 = { version = "0.22.0", optional = true }
urlencoding = { version = "2.1.3", optional = true }
# stdlib-fs
walkdir = { version = "2.3.3", optional = true }
notify = { version = "6.1.1", optional = true }
futures = { version = "0.3.30", features = ["executor"] }
# typescript
typescript-type-def = { version = "0.5.9", optional = true }
# import-csv
csv = { version = "1.3.0", optional = true }
# shared
liquid = "0.26.1"
serde = "1.0.152"
toml = { version = "0.7.1", features = ["display", "preserve_order"] }
comrak = "0.18"
liquid-core = "0.26.4"
liquid-lib = { version = "0.26.4", features = ["shopify", "extra"] }
regex = "1.10.2"
thiserror = "1.0.56"
zip = { version = "0.6.6", default-features = false, features = ["deflate"] }
toml_datetime = "0.6.5"
tracing = "0.1.37"
time = { version = "0.3.36", features = ["local-offset"] }
semver = "1.0.22"
once_cell = "1.19.0"
data-encoding = "2.5.0"
mime_guess = { version = "2" }
sha2 = "0.10.8"
seahash = "4.1.0"
indefinite = "0.1.9"
[dev-dependencies]
serde_json = "1.0.113"
tempfile = "3.5.0"
tracing-test = "0.2.4"
wasm-bindgen-test = "0.3.0"
jsonschema = "0.26.1"