rustpython-pylib 0.5.0

A subset of the Python standard library for use with RustPython
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93.0"
name = "rustpython-pylib"
version = "0.5.0"
authors = ["CPython Developers"]
build = "build.rs"
include = [
    "Cargo.toml",
    "build.rs",
    "src/**/*.rs",
    "Lib/",
    "!Lib/**/test/",
    "!Lib/**/*.pyc",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A subset of the Python standard library for use with RustPython"
readme = false
license-file = "Lib/PSF-LICENSE"
repository = "https://github.com/RustPython/RustPython"
resolver = "2"

[features]
freeze-stdlib = [
    "dep:rustpython-compiler-core",
    "dep:rustpython-derive",
]

[lib]
name = "rustpython_pylib"
path = "src/lib.rs"

[dependencies.rustpython-compiler-core]
version = "0.5.0"
optional = true

[dependencies.rustpython-derive]
version = "0.5.0"
optional = true

[build-dependencies.glob]
version = "0.3"

[lints.clippy]
alloc_instead_of_core = "warn"
complexity = "warn"
correctness = "warn"
perf = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
style = "warn"
suspicious = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
unsafe_code = "allow"
unsafe_op_in_unsafe_fn = "deny"