-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (33 loc) · 1.51 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
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "oci-srm-server-mock"
description = "Mock server for simulating OCI Call-Up / Punch-In / Punch-Out interactions in B2B enterprise eCommerce test scenarios"
version = "0.1.0"
edition = "2021"
[dependencies]
# Main HTTP framework, used to configure routing and set up aqn HTTP server
actix-web = { version = "^4.9.0", features = [ "cookies", "secure-cookies", "macros", "rustls", "compress-brotli", "compress-gzip" ], default-features = false }
# Serialization: convert things from/to JSON
serde = { version = "^1.0.218", features = ["derive"] }
serde_json = "^1.0.139"
# Parse URLs into values
url = { version = "^2.5.3", features = ["serde"] }
urlencoding = "^2.1.3"
uuid = { version = "^1.14.0", features = ["serde", "v4"] }
chrono = "^0.4.39"
# HTTP Client
hyper = { version = "^1.6.0", features = ["full"] }
hyper-util = { version = "^0.1.10", features = ["http2"] }
hyper-hickory = { version = "^0.7.0" }
http-body-util = "^0.1.2"
# thiserror 1.0.37 includes nightly-only `provide_any` rust feature
thiserror = "=2.0.11"
# Static analysis
no-panic = "^0.1.33"
# Async handling, mutex
tokio = "^1.43.0"
[profile.release]
opt-level = "z" # Optimize for size. This app is not performance-sensitive, but downloaded often.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
strip = true # Automatically strip symbols from the binary.