RustPyNet 0.1.3

RustPyNet is a crate designed to help use python inside multiple threads for small-medium workloads like calling fast execution callbacks and small-medium operations from multiple places in an orchestrated manner. RustPyNet is built on top of PyO3 and supports all PyO3 python operations, including basic responses for returning function results.
Documentation
Build #1668094 2025-01-25 07:43:19

# rustc version rustc 1.86.0-nightly (1e9b0177d 2025-01-24)

# docs.rs version docsrs 0.6.0 (29a0e81b 2025-01-22)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/RustPyNet-0.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/RustPyNet-0.1.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250124-1.86.0-nightly-1e9b0177d\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 38fef5a2a839d833b78075a58b82c3b2b13de1c436f9f87252a054caa71289cf [INFO] running `Command { std: "docker" "start" "-a" "38fef5a2a839d833b78075a58b82c3b2b13de1c436f9f87252a054caa71289cf", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling pyo3 v0.15.2 [INFO] [stderr] error: failed to run custom build command for `pyo3 v0.15.2` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/pyo3-293a1a4d59ffbe15/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=PYO3_CROSS [INFO] [stderr] cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR [INFO] [stderr] cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] error: The PYO3_CROSS_LIB_DIR environment variable must be set when cross-compiling [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "38fef5a2a839d833b78075a58b82c3b2b13de1c436f9f87252a054caa71289cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38fef5a2a839d833b78075a58b82c3b2b13de1c436f9f87252a054caa71289cf", kill_on_drop: false }` [INFO] [stdout] 38fef5a2a839d833b78075a58b82c3b2b13de1c436f9f87252a054caa71289cf