Skip to main content

rustpython_compiler_core/
lib.rs

1#![no_std]
2#![recursion_limit = "256"] // Needed for `define_opcodes!` macro
3#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/main/logo.png")]
4#![doc(html_root_url = "https://docs.rs/rustpython-compiler-core/")]
5
6extern crate alloc;
7
8pub mod bytecode;
9pub mod frozen;
10pub mod marshal;
11mod mode;
12pub mod varint;
13
14pub use mode::Mode;
15
16pub use ruff_source_file::{
17    LineIndex, OneIndexed, PositionEncoding, SourceFile, SourceFileBuilder, SourceLocation,
18};