-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (60 loc) · 1.5 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (60 loc) · 1.5 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
[package]
name = "claude-meter"
version = "0.4.0"
edition = "2021"
license = "MIT"
description = "Live Claude plan usage and extra-usage balance from the terminal"
repository = "https://github.com/m13v/claude-meter"
readme = "README.md"
keywords = ["claude", "anthropic", "usage", "cli"]
categories = ["command-line-utilities"]
[lib]
name = "claude_meter"
path = "src/lib.rs"
[[bin]]
name = "claude-meter"
path = "src/main.rs"
[[bin]]
name = "claude-meter-menubar"
path = "src/bin/menubar.rs"
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
rquest = { version = "5", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
dirs = "5"
chrono = { version = "0.4", features = ["serde"] }
tray-icon = "0.19"
tao = "0.30"
png = "0.17"
sentry = { version = "0.34", default-features = false, features = ["backtrace", "contexts", "panic", "reqwest", "rustls"] }
sentry-log = "0.34"
log = "0.4"
env_logger = "0.11"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5"
objc2-app-kit = { version = "0.2", features = [
"NSApplication",
"NSResponder",
"NSWindow",
"NSView",
"NSControl",
"NSButton",
"NSStatusBar",
"NSStatusBarButton",
"NSStatusItem",
"NSFont",
"NSColor",
"NSAttributedString",
"NSCell",
"NSImage",
"NSParagraphStyle",
"NSText",
] }
objc2-foundation = "0.2"
[profile.release]
lto = "thin"
codegen-units = 1
strip = true