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 #1864453 2025-03-14 02:27:02

# rustc version rustc 1.87.0-nightly (cbfdf0b01 2025-03-13)

# docs.rs version docsrs 0.6.0 (004a02c4 2025-03-05)

# 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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250313-1.87.0-nightly-cbfdf0b01\", \"--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] [stdout] ec5e2318c54307663b36285b861ba1c94c3fe7513798ee8e008c49b41193c9ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec5e2318c54307663b36285b861ba1c94c3fe7513798ee8e008c49b41193c9ff", 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.21 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling pyo3 v0.15.2 [INFO] [stderr] Compiling syn v1.0.109 [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-74e5b996f4efb50d/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" "ec5e2318c54307663b36285b861ba1c94c3fe7513798ee8e008c49b41193c9ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5e2318c54307663b36285b861ba1c94c3fe7513798ee8e008c49b41193c9ff", kill_on_drop: false }` [INFO] [stdout] ec5e2318c54307663b36285b861ba1c94c3fe7513798ee8e008c49b41193c9ff