Crate rustpython_common

Source
Expand description

A crate to hold types and functions common to all rustpython components.

Modules§

atomic
borrow
boxvec
An unresizable vector backed by a Box<[T]>
cmp
crt_fd
A module implementing an io type backed by the C runtime’s file descriptors, i.e. what’s returned from libc::open, even on windows.
encodings
fileutils
float_ops
hash
int
linked_list
This module is modified from tokio::util::linked_list: https://github.com/tokio-rs/tokio/blob/master/tokio/src/util/linked_list.rs Tokio is licensed under the MIT license:
lock
A module containing lock_api-based lock types that are or are not Send + Sync depending on whether the threading feature of this module is enabled.
os
rc
refcount
static_cell
str
vendored

Macros§

ascii
Creates an AsciiStr from a string literal, throwing a compile error if the literal isn’t actually ascii.
static_cell
suppress_iph
Suppress the MSVC invalid parameter handler, which by default crashes the process. Does nothing on non-MSVC targets.