python-ast 1.1.0

A library for compiling Python to Rust
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"
name = "python-ast"
version = "1.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for compiling Python to Rust"
homepage = "https://github.com/rexlunae/rython"
documentation = "https://docs.rs/python-ast"
readme = "README.md"
keywords = [
    "python",
    "rust",
    "transpiler",
    "compiler",
    "ast",
]
categories = [
    "compilers",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/rexlunae/rython"
resolver = "2"

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

[[example]]
name = "async_runtime_example"
path = "examples/async_runtime_example.rs"

[[test]]
name = "codegen_semantics"
path = "tests/codegen_semantics.rs"

[[test]]
name = "error_propagation"
path = "tests/error_propagation.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "rython_stdpython_integration"
path = "tests/rython_stdpython_integration.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.anyhow-tracing]
version = "0.2"

[dependencies.litrs]
version = "1.0"

[dependencies.num-derive]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.pyo3]
version = "0.29"
features = [
    "auto-initialize",
    "serde",
]

[dependencies.quote]
version = "1.0"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0.195"
features = [
    "serde_derive",
    "derive",
    "rc",
]

[dependencies.syn]
version = "2.0"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.to_tokenstream]
version = "0.1.3"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]
default-features = false