update documentation and organization of the msyrs Rust library

This commit is contained in:
Palash Tyagi 2024-11-18 01:03:03 +00:00
parent 213ea72b20
commit b72a9b3441

View File

@ -1,14 +1,29 @@
#![doc = include_str!("../README.md")]
// #![doc = include_str!("../README.md")]
//! # msyrs
//!
//! A Rust implementation of the [Macrosynergy Python Package](https://github.com/macrosynergy/macrosynergy).
//!
//! ## Build and install the Python package
//!
//! ```bash
//! python -m venv .venv
//! # source .venv/bin/activate
//! ./.venv/Scripts/activate
//! pip install maturin
//! maturin develop --release
//! ```
//!
/// Documentation for the `msyrs` Python API.
pub mod py;
/// Documentation for the Rust API.
/// Documentation for the `download` module.
pub mod download;
/// Documentation for the `utils` module.
pub mod utils;
pub use py::msyrs;
/// PyO3 bindings for the `msyrs` Python API.
#[allow(unused_imports)]
use py::msyrs;