-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (94 loc) · 2.58 KB
/
Cargo.toml
File metadata and controls
108 lines (94 loc) · 2.58 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
100
101
102
103
104
105
106
107
108
[package]
name = "clobster"
version = "0.1.0"
edition = "2024"
license = "MIT"
authors = ["Ant Somers <antsomers@gmail.com>"]
repository = "https://github.com/thiras/clobster"
description = "A production-grade TUI framework for Polymarket"
keywords = ["polymarket", "tui", "trading", "prediction-markets"]
categories = ["command-line-interface", "finance"]
[dependencies]
# TUI Framework
ratatui = { version = "0.29", features = ["all-widgets"] }
crossterm = "0.28"
# Polymarket API Client
polymarket-rs = "0.1.5"
# Async Runtime
tokio = { version = "1.41", features = [
"full",
"rt-multi-thread",
"macros",
"sync",
"time",
] }
tokio-stream = "0.1"
futures = "0.3"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error Handling
thiserror = "2.0"
anyhow = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
# Configuration
config = "0.14"
directories = "5.0"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
rust_decimal = { version = "1.36", features = ["serde"] }
rust_decimal_macros = "1.36"
uuid = { version = "1.11", features = ["v4", "serde"] }
toml = "0.8"
async-trait = "0.1"
# Crypto/Wallet
alloy-signer = "0.6"
alloy-signer-local = "0.6"
[dev-dependencies]
pretty_assertions = "1.4"
mockall = "0.13"
tokio-test = "0.4"
# CI profile - for clippy/lint (release-like to catch optimization issues)
[profile.ci]
inherits = "release"
lto = "thin" # Much faster than full LTO
codegen-units = 4 # Faster parallel compilation
strip = "none" # No need to strip in CI
opt-level = 2 # Good optimization, faster than "z"
# CI profile for test builds - optimized for fast compilation
[profile.ci-test]
inherits = "dev"
opt-level = 0 # No optimization for fast builds
debug = 0 # Minimal debug info
strip = "none"
lto = false
codegen-units = 256 # Maximum parallelism
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
# cargo-release configuration
[package.metadata.release]
# Do not publish to crates.io (proprietary software)
publish = false
# Do not push to git (handle manually or via CI)
push = true
# Create git tag for releases
tag = true
tag-name = "v{{version}}"
tag-message = "Release v{{version}}"
# Sign tags with GPG
sign-tag = true
# Sign commits with GPG
sign-commit = true
# Allow dirty working directory (for CI use)
allow-branch = ["main"]
# Pre-release checks
pre-release-commit-message = "chore: release v{{version}}"
# Enable changelog generation
enable-features = []
enable-all-features = false