-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
99 lines (82 loc) · 3.5 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
# -----------------------------------------------------------------------------
# RSS Gen - A Rust library for generating, serializing, and deserializing RSS feeds across various RSS versions.
# -----------------------------------------------------------------------------
[package]
# General project metadata
name = "rss-gen" # The name of the library
version = "0.0.3" # Initial version of the crate
authors = ["RSS Generator Contributors"] # Library contributors
edition = "2021" # Rust edition being used
rust-version = "1.56.0" # Minimum supported Rust version
license = "MIT OR Apache-2.0" # Dual licensing strategy
description = """
A Rust library for generating, serializing, and deserializing RSS feeds for various RSS versions.
""" # Short library description
homepage = "https://rssgen.co/" # Project's homepage URL
documentation = "https://rssgen.co/documentation/index.html" # Doc URL
repository = "https://github.com/sebastienrousseau/rssgen" # Repository URL
readme = "README.md" # Path to the readme file
build = "build.rs" # Path to the build script
# -----------------------------------------------------------------------------
# Crate Configuration
# -----------------------------------------------------------------------------
# Crates.io categories
categories = [
"data-structures",
"parsing",
"encoding",
"web-programming",
"development-tools"
]
# Keywords for easier discoverability on Crates.io
keywords = ["cli", "generator", "site", "ssg", "static"]
# Excluding unnecessary files from the package
exclude = [
"/.git/*", # Exclude version control files
"/.github/*", # Exclude GitHub workflows
"/.gitignore", # Ignore Git ignore file
"/.vscode/*" # Ignore VSCode settings
]
# -----------------------------------------------------------------------------
# Dependencies
# -----------------------------------------------------------------------------
[dependencies]
# List of external crates used in this project
dtt = "0.0"
log = "0.4"
quick-xml = { version = "0.37", features = ["serialize"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
time = "0.3"
url = "2.5"
[build-dependencies]
# Dependencies for build scripts
version_check = "0.9"
[dev-dependencies]
# Dependencies for development and testing
criterion = "0.5"
lazy_static = "1.5"
# -----------------------------------------------------------------------------
# Library Information
# -----------------------------------------------------------------------------
[lib]
# Library-specific settings
name = "rss_gen" # Internal name of the library
path = "src/lib.rs" # Path to the library entry point
# -----------------------------------------------------------------------------
# Features
# -----------------------------------------------------------------------------
[features]
async = []
# -----------------------------------------------------------------------------
# Benchmarking
# -----------------------------------------------------------------------------
[[bench]]
# [[bench]] sections define benchmarks.
name = "benchmark"
harness = false
path = "benches/criterion.rs"
[profile.bench]
# Profile for benchmarks.
debug = true