tickerforge-spec-data 0.1.1

Canonical tickerforge YAML spec tree for Rust (same content as the Python tickerforge-spec-data wheel).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Bundled [`spec/`] tree for [`tickerforge`](https://github.com/mesias/tickerforge-rs).
//!
//! [`spec/`]: https://github.com/mesias/tickerforge-spec/tree/main/spec

use std::path::PathBuf;

/// Root directory of the canonical spec (`exchanges/`, `contracts/`, `schemas/`, …).
///
/// This matches the layout shipped in the Python `tickerforge-spec-data` package.
pub fn default_spec_root() -> PathBuf {
    PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("spec")
}