Skip to content

Commit 1402fb4

Browse files
authored
Merge pull request #10 from xsa-dev/codex
Disable legacy examples and align with minimal API
2 parents c4e9e63 + c37bb96 commit 1402fb4

7 files changed

Lines changed: 372 additions & 4551 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ license = "MIT"
1414
keywords = ["trading", "backtesting", "hyperliquid", "cryptocurrency", "defi"]
1515
categories = ["finance", "api-bindings", "algorithms", "simulation", "mathematics"]
1616
readme = "README.md"
17+
autoexamples = false
1718
exclude = [
1819
"target/*",
1920
".git/*",
@@ -39,79 +40,13 @@ include = [
3940
all-features = true
4041
rustdoc-args = ["--cfg", "docsrs"]
4142

42-
# API Stability and Versioning Strategy
43-
#
44-
# This crate follows Semantic Versioning (SemVer):
45-
# - MAJOR version (0.x.y → 1.0.0): Breaking API changes
46-
# - MINOR version (0.1.x → 0.2.0): New features, backward compatible
47-
# - PATCH version (0.1.0 → 0.1.1): Bug fixes, backward compatible
48-
#
49-
# Pre-1.0 Development Phase (Current: 0.1.0):
50-
# - Public API may change between minor versions
51-
# - Breaking changes will be documented in CHANGELOG.md
52-
# - Migration guides provided for significant changes
53-
#
54-
# Post-1.0 Stability Guarantees:
55-
# - Public API in prelude module is stable within major versions
56-
# - Core data structures (HyperliquidData, HyperliquidBacktest) are stable
57-
# - Error types may add variants but not remove them within major versions
58-
# - Strategy trait interfaces are stable for implementors
59-
6043
[dependencies]
61-
# Core async runtime
62-
tokio = { version = "1.0", features = ["full"] }
63-
64-
# Date and time handling
65-
chrono = { version = "0.4", features = ["serde"] }
66-
67-
# Serialization
68-
serde = { version = "1.0", features = ["derive"] }
69-
serde_json = "1.0"
70-
71-
# Error handling
44+
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
7245
thiserror = "1.0"
73-
anyhow = "1.0"
74-
75-
# CSV handling
76-
csv = "1.3"
77-
78-
# Hyperliquid SDK
79-
hyperliquid_rust_sdk = "0.6.0"
80-
81-
# Backtesting framework
82-
rs-backtester = "0.1.2"
83-
84-
# HTTP client
85-
reqwest = { version = "0.11", features = ["json"] }
86-
87-
# Logging and debugging
88-
log = "0.4"
89-
tracing = "0.1"
90-
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] }
91-
92-
# Random number generation
93-
rand = "0.8"
94-
rand_distr = "0.4"
95-
96-
# UUID generation
97-
uuid = { version = "1.0", features = ["v4"] }
98-
99-
# Temporary file handling
100-
tempfile = "3.8"
10146

10247
[dev-dependencies]
103-
tokio-test = "0.4"
104-
criterion = { version = "0.5", features = ["html_reports"] }
105-
mockito = "1.2"
106-
wiremock = "0.5"
107-
proptest = "1.4"
108-
memory-stats = "1.1"
109-
sysinfo = "0.29"
110-
futures = "0.3"
111-
tempfile = "3.8"
112-
tracing = "0.1"
113-
tracing-subscriber = "0.3"
48+
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
11449

11550
[[example]]
11651
name = "mode_reporting_example"
117-
path = "examples/mode_reporting_example.rs"
52+
path = "examples/mode_reporting_example.rs"

0 commit comments

Comments
 (0)