mirror of
https://github.com/Magnus167/msyrs.git
synced 2025-08-20 04:20:00 +00:00
update documentation and organization of the msyrs Rust library
This commit is contained in:
parent
213ea72b20
commit
b72a9b3441
27
src/lib.rs
27
src/lib.rs
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user