-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
99 lines (78 loc) · 1.78 KB
/
Cargo.toml
File metadata and controls
99 lines (78 loc) · 1.78 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
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
98
99
[package]
name = "posthog-cli"
version = "0.10.0"
edition = "2021"
rust-version = "1.80.0"
description = "Agent-first CLI for the PostHog analytics API"
license = "MIT"
repository = "https://github.com/osodevops/posthog-cli"
homepage = "https://github.com/osodevops/posthog-cli"
default-run = "posthog"
publish = false
[package.metadata.dist]
dist = true
[lib]
name = "posthog"
path = "src/lib.rs"
[[bin]]
name = "posthog"
path = "src/main.rs"
[[example]]
name = "gen-man"
path = "examples/gen-man.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env", "string", "wrap_help"] }
clap_complete = "4"
clap_mangen = "0.2"
# Async runtime
tokio = { version = "1", features = ["full"] }
# HTTP
reqwest = { version = "0.12", features = ["json", "rustls-tls", "gzip"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
csv = "1"
toml = "0.8"
# Auth
dialoguer = "0.11"
# Output
tabled = "0.17"
colored = "3"
indicatif = "0.17"
# Rate limiting
governor = "0.8"
# Caching
sha2 = "0.10"
hex = "0.4"
directories = "5"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
thiserror = "2"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
url = "2"
uuid = { version = "1", features = ["v4"] }
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
wiremock = "0.6"
tempfile = "3"
insta = { version = "1", features = ["json"] }
[lints]
workspace = true
[profile.release]
strip = true
lto = true
codegen-units = 1
# cargo-dist uses this profile for release builds
[profile.dist]
inherits = "release"
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
redundant_closure_for_method_calls = "allow"