weirdnet-code-spaces 0.1.0

Weirdnet code spaces: math, Polars, Rust and typed Python sources compiled into plugins against the weirdnet-plugin SDK, content-addressed builds, ABI-checked loading, trust hashes and space line-ups, under an application profile.
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.99"
name = "weirdnet-code-spaces"
version = "0.1.0"
authors = ["Michael Christenson II <m3talsmith@gmail.com>"]
build = false
include = [
    "src/**",
    "sdk/**",
    "tests/**",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Weirdnet code spaces: math, Polars, Rust and typed Python sources compiled into plugins against the weirdnet-plugin SDK, content-addressed builds, ABI-checked loading, trust hashes and space line-ups, under an application profile."
documentation = "https://docs.rs/weirdnet-code-spaces"
readme = "README.md"
keywords = [
    "plugin",
    "codegen",
    "python",
    "polars",
    "sandbox",
]
categories = [
    "development-tools",
    "compilers",
]
license = "BSD-3-Clause AND Apache-2.0"
repository = "https://github.com/WeirdBrains/weirdnet-code-spaces"

[features]
default = [
    "math",
    "native-plugins",
]
math = []
native-plugins = ["dep:libloading"]
polars = ["math"]
python = [
    "math",
    "dep:ruff_python_parser",
    "dep:ruff_python_ast",
    "dep:ruff_text_size",
    "dep:anyhow",
    "dep:anyhow-tracing",
    "dep:litrs",
    "dep:num-derive",
    "dep:num-traits",
    "dep:proc-macro2",
    "dep:unicode-ident",
    "dep:quote",
    "dep:regex",
    "dep:syn",
    "dep:to_tokenstream",
    "dep:tracing",
]

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

[dependencies.anyhow]
version = "1.0"
optional = true

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

[dependencies.blake3]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.dirs]
version = "6"

[dependencies.libloading]
version = "0.8"
optional = true

[dependencies.litrs]
version = "1.0"
optional = true

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

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

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

[dependencies.quote]
version = "1.0"
optional = true

[dependencies.regex]
version = "1.10"
optional = true

[dependencies.ruff_python_ast]
version = "=0.0.20"
optional = true

[dependencies.ruff_python_parser]
version = "=0.0.20"
optional = true

[dependencies.ruff_text_size]
version = "=0.0.20"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.syn]
version = "2.0"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.to_tokenstream]
version = "0.1.3"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.unicode-ident]
version = "1"
optional = true

[dev-dependencies.tempfile]
version = "3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(python_ast_upstream_tests)",
    "cfg(docsrs)",
]