alef 0.24.13

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;

#[derive(Debug, Clone, Default, Serialize, Deserialize, JsonSchema)]
pub struct StubsConfig {
    pub output: PathBuf,
    /// When true, emit Rust `///` doc comments as stub-level docstrings.
    /// Default: false — ruff PYI021 flags docstrings in stub files.
    #[serde(default)]
    pub emit_docstrings: bool,
}