| Crates.io | venus |
| lib.rs | venus |
| version | 0.1.0 |
| created_at | 2026-01-02 04:31:24.130261+00 |
| updated_at | 2026-01-04 14:53:59.246476+00 |
| description | Reactive notebook environment for Rust |
| homepage | |
| repository | https://github.com/ml-rust/venus |
| max_upload_size | |
| id | 2017955 |
| size | 226,268 |
Main crate for Venus - a reactive notebook environment for Rust.
This crate provides:
#[venus::cell] macro for defining notebook cellsRender trait for custom output renderingvenus and venus-worker) when installed with cargo install venusAs a CLI tool (recommended for most users):
cargo install venus
This installs both the venus and venus-worker binaries.
As a library (for embedding in other projects):
Add this to your Cargo.toml:
[dependencies]
venus = { version = "x.x", default-features = false }
use venus::prelude::*;
/// A simple cell that returns a number
#[venus::cell]
pub fn number() -> i32 {
42
}
/// A cell that depends on the previous cell
#[venus::cell]
pub fn doubled(number: &i32) -> i32 {
number * 2
}
cli (default) - Include CLI binaries and their dependenciespolars - Enable DataFrame rendering supportimage - Enable image rendering supportfull - Enable all optional features (cli, polars, image)For complete documentation and examples, visit:
Licensed under the Apache License, Version 2.0. See LICENSE for details.