-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (50 loc) · 1.46 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
[workspace]
members = ["fercord_storage", "fercord_bot"]
resolver = "2"
[workspace.package]
readme = "README.md"
authors = ["Jonas Van der Aa <[email protected]>"]
keywords = ["discord", "bot"]
license = "GPL-3.0-or-later"
description = "A Discord bot written in Rust."
edition = "2021"
repository = "https://github.com/kekonn/fercord"
[workspace.dependencies]
poise = "0.6"
config = { version = "0.14", default-features = false, features = ["toml"] }
serde = { version = "1", features = ["derive"]}
serde_json = "1"
chrono = "0.4"
chrono-tz = "0.8"
tracing = "0.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = "debuginfo"
# generated by 'cargo dist init'
[profile.dist]
inherits = "release"
debug = true
split-debuginfo = "packed"
# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.21.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu"]
# Which actions to run on pull requests
pr-run-mode = "plan"
[workspace.metadata.release]
sign-commit = true
sign-tag = true
allow-branch = ["main"]
enable-features = ["default"]