-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (43 loc) · 1.38 KB
/
Cargo.toml
File metadata and controls
50 lines (43 loc) · 1.38 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
[package]
name = "gonfig"
version = "0.1.12"
edition = "2021"
authors = ["Vasanthkumar Kalaiselvan<0xvasanth@gmail.com>"]
description = "A unified configuration management library for Rust that seamlessly integrates environment variables, config files, and CLI arguments"
license = "MIT OR Apache-2.0"
repository = "https://github.com/0xvasanth/gonfig"
documentation = "https://docs.rs/gonfig"
homepage = "https://github.com/0xvasanth/gonfig"
readme = "README.md"
keywords = ["config", "configuration", "cli", "environment", "settings"]
categories = ["config", "command-line-interface"]
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE*", "examples/**/*"]
[dependencies]
clap = { version = "4.5", features = ["derive", "env"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"
thiserror = "1.0"
once_cell = "1.19"
tracing = "0.1"
[dependencies.gonfig_derive]
version = "0.1.12"
path = "gonfig_derive"
[dev-dependencies]
tempfile = "3.10"
pretty_assertions = "1.4"
rusty-hook = "^0.11.2"
[workspace]
members = ["gonfig_derive"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.rusty-hook]
version = "1"
[package.metadata.rusty-hook.hooks]
pre-commit = [
"cargo fmt --all -- --check",
"cargo clippy --all-targets --all-features -- -D warnings",
"cargo test -- --test-threads=1"
]