mirror of
https://github.com/Magnus167/msyrs.git
synced 2025-08-20 08:19:59 +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.
|
/// Documentation for the `msyrs` Python API.
|
||||||
pub mod py;
|
pub mod py;
|
||||||
|
|
||||||
/// Documentation for the Rust API.
|
|
||||||
|
|
||||||
|
|
||||||
/// Documentation for the `download` module.
|
/// Documentation for the `download` module.
|
||||||
pub mod download;
|
pub mod download;
|
||||||
|
|
||||||
|
/// Documentation for the `utils` module.
|
||||||
pub mod utils;
|
pub mod utils;
|
||||||
|
|
||||||
|
/// PyO3 bindings for the `msyrs` Python API.
|
||||||
pub use py::msyrs;
|
#[allow(unused_imports)]
|
||||||
|
use py::msyrs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user