-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (53 loc) · 1.55 KB
/
Cargo.toml
File metadata and controls
58 lines (53 loc) · 1.55 KB
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
[package]
name = "ocsp-server"
authors = ["DorianCoding <108593662+DorianCoding@users.noreply.github.com>"]
description = "OCSP server, listening for requests to give responses."
version = "0.6.1"
edition = "2024"
rust-version = "1.89"
license = "GPL-3.0-only"
repository = "https://github.com/DorianCoding/OCSP_server"
keywords = ["ocsp", "server", "ocsp-response"]
categories = ["caching", "cryptography"]
exclude = [
"binaries/*",
"config.toml",
"service.sh",
]
[dependencies]
clap = { version = "4.5.32", features = ["derive", "cargo"] }
chrono = { version = "~0.4.31", default-features = false, features = ["std", "serde"]}
config-file = "~0.2.3"
serde = "~1.0.219"
diesel = { version = "2.2.8", features = ["sqlite", "r2d2", "chrono"] }
r2d2 = "0.8.10"
ocsp = {git = "https://github.com/DorianCoding/ocsp-rs.git", tag="1.0.0" }
pem = "3.0.5"
openssl = { version = "0.10.71", features = ["vendored"] }
ring = "0.17.14"
x509-parser = "~0.17.0"
hex = "~0.4.3"
zeroize = { version = "~1.8.1", features = ["std", "zeroize_derive"] }
log = "0.4.20"
async-trait = "0.1.79"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros", "fs", "io-util", "time"] }
[dependencies.rocket]
version = "0.5.1"
features = ["json"]
[dev-dependencies]
mockall = "0.12.1"
[features]
api=[]
mysql = ["diesel/mysql"]
postgres = ["diesel/postgres"]
default = ["api","mysql","postgres"]
[profile.release]
strip = "symbols"
lto = true
codegen-units = 1
opt-level = 3
[lints.rust]
unsafe_code = "deny"
unused_imports = "deny"
[badges]
maintenance = {status = "passively-maintained" }