prak 0.1.0

Don't Panic! (A hitchhiker's guide to the galaxy reference)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use pyo3::prelude::*;

/// Returns a friendly greeting from prak.
#[pyfunction]
fn hello() -> &'static str {
    "Don't Panic!"
}

/// A Python module implemented in Rust.
#[pymodule]
fn prak(m: &Bound<'_, PyModule>) -> PyResult<()> {
    m.add_function(wrap_pyfunction!(hello, m)?)?;
    Ok(())
}