Crate streamlit

Crate streamlit 

Source
Expand description

Streamlit Rust Backend

A Rust implementation of Streamlit backend with WebSocket support.

§Usage

use streamlit::*;

#[main]
fn main(st: &mut Streamlit) {
    st.title("Hello world!");
}

Re-exports§

pub use server::StreamlitServer;
pub use api::*;

Modules§

api
error
proto
server

Attribute Macros§

main
Main attribute macro for Streamlit applications This attribute transforms a user’s main function that takes a Streamlit parameter into a proper main function that starts the server and registers the user function.