-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (49 loc) · 1.58 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
[package]
name = "dyncloud"
version = "1.5.1"
authors = ["Timon Klinkert <[email protected]>"]
description = "A programm that handles updating DNS records with your current public IP address for Cloudflare."
license = "GPL-3"
repository = "https://github.com/DenuxPlays/dyncloud"
homepage = "https://github.com/DenuxPlays/dyncloud"
readme = "README.md"
edition = "2021"
rust-version = "1.84.0"
[package.metadata.wix]
upgrade-guid = "2A41DDA9-0B62-4946-BFFC-410B38137366"
path-guid = "EAD2959B-66EC-4A95-BC27-3DF7E4057C47"
license = false
eula = false
[features]
# Enable mimalloc memory allocator to replace the default malloc
# This can improve performance for Alpine builds
enable_mimalloc = ["mimalloc"]
[dependencies]
# Async runtime
tokio = { version = "1.43.0", features = ["rt", "macros", "rt-multi-thread"] }
# File serialization and deserialization
toml = "0.8.19"
# Cloudflare API
cloudflare = { git = "https://github.com/cloudflare/cloudflare-rs", rev = "bea21a7dc592a66f58b0a9276c6e4f1eef379238", features = ["rustls-tls"], default-features = false }
# Logging
log = "0.4.25"
simple_logger = "5.0.0"
# Serde
serde = { version = "1.0.217", features = ["derive"] }
# HTTP client
reqwest = { version = "0.12.12", features = [
"rustls-tls",
"charset",
"http2",
"macos-system-configuration"
], default-features = false }
# Utils
time = "0.3.37"
anyhow = "1.0.95"
# mimalloc
# Replaces musl malloc since it is very slow
mimalloc = { version = "0.1.43", optional = true }
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = true