To build the default workspace members (ta-core, ta-wasm, ta-benchmarks):
cargo buildDefault (f64):
cargo build -p ta-coreWith f32 precision:
cargo build -p ta-core --features f32Run tests:
cargo test -p ta-coreRequires Python 3.x interpreter to build:
# Only build ta-py crate
cargo build -p ta-py
# Build entire workspace including ta-py (requires Python installed)
cargo build --workspaceNote: ta-py is excluded from default build (no --workspace) because it requires Python.
cargo build -p ta-wasmRun tests:
cargo test -p ta-wasmcargo build -p ta-benchmarksRun benchmarks:
cargo bench -p ta-benchmarksTo build all 4 crates (requires Python installed for ta-py):
cargo build --workspacers-indicators/
├── Cargo.toml (workspace root)
└── crates/
├── ta-core/ # Core library (no_std)
├── ta-py/ # Python bindings (PyO3)
├── ta-wasm/ # WebAssembly bindings (wasm-bindgen)
└── ta-benchmarks/ # Performance benchmarks (Criterion)
The following crates are built by default (without --workspace):
- ta-core
- ta-wasm
- ta-benchmarks
ta-py is excluded from default build because it requires Python 3.x interpreter.