nano-rspow-python 0.17.1__tar.gz → 0.17.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/Cargo.lock +6 -6
  2. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/Cargo.toml +1 -1
  3. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/PKG-INFO +1 -1
  4. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/README.md +26 -2
  5. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/README.md +0 -0
  6. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/Cargo.toml +0 -0
  7. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/benches/pow_benchmark.rs +0 -0
  8. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/cpu.rs +0 -0
  9. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/difficulty.rs +0 -0
  10. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/lib.rs +0 -0
  11. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/opencl_backend/mod.rs +0 -0
  12. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/opencl_backend/pow.cl +0 -0
  13. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/thresholds.rs +0 -0
  14. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/types.rs +0 -0
  15. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/wgpu_backend/mod.rs +0 -0
  16. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/wgpu_backend/pow.wgsl +0 -0
  17. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow/src/wgpu_shared.rs +0 -0
  18. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/Cargo.toml +0 -0
  19. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/README.md +0 -0
  20. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/build.rs +0 -0
  21. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/nano_rspow.pyi +0 -0
  22. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/src/lib.rs +0 -0
  23. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/tests/test_pow.py +0 -0
  24. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/nano-rspow-python/uv.lock +0 -0
  25. {nano_rspow_python-0.17.1 → nano_rspow_python-0.17.2}/pyproject.toml +0 -0
@@ -757,7 +757,7 @@ dependencies = [
757
757
 
758
758
  [[package]]
759
759
  name = "nano-rspow"
760
- version = "0.17.1"
760
+ version = "0.17.2"
761
761
  dependencies = [
762
762
  "blake2b_simd",
763
763
  "bytemuck",
@@ -773,7 +773,7 @@ dependencies = [
773
773
 
774
774
  [[package]]
775
775
  name = "nano-rspow-cli"
776
- version = "0.17.1"
776
+ version = "0.17.2"
777
777
  dependencies = [
778
778
  "clap",
779
779
  "hex",
@@ -785,14 +785,14 @@ dependencies = [
785
785
 
786
786
  [[package]]
787
787
  name = "nano-rspow-ffi"
788
- version = "0.17.1"
788
+ version = "0.17.2"
789
789
  dependencies = [
790
790
  "nano-rspow",
791
791
  ]
792
792
 
793
793
  [[package]]
794
794
  name = "nano-rspow-node"
795
- version = "0.17.1"
795
+ version = "0.17.2"
796
796
  dependencies = [
797
797
  "hex",
798
798
  "nano-rspow",
@@ -804,7 +804,7 @@ dependencies = [
804
804
 
805
805
  [[package]]
806
806
  name = "nano-rspow-python"
807
- version = "0.17.1"
807
+ version = "0.17.2"
808
808
  dependencies = [
809
809
  "hex",
810
810
  "nano-rspow",
@@ -813,7 +813,7 @@ dependencies = [
813
813
 
814
814
  [[package]]
815
815
  name = "nano-rspow-web"
816
- version = "0.17.1"
816
+ version = "0.17.2"
817
817
  dependencies = [
818
818
  "bytemuck",
819
819
  "getrandom",
@@ -3,7 +3,7 @@ members = ["nano-rspow", "nano-rspow-python"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "0.17.1"
6
+ version = "0.17.2"
7
7
  edition = "2024"
8
8
  license = "MIT"
9
9
  repository = "https://github.com/CasualSecurityInc/nano-rspow"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nano-rspow-python
3
- Version: 0.17.1
3
+ Version: 0.17.2
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3 :: Only
6
6
  Classifier: Programming Language :: Python :: 3.9
@@ -52,10 +52,34 @@ See the [nano-rspow-node README](https://github.com/CasualSecurityInc/nano-rspow
52
52
 
53
53
  ### 3. Interactive Web Dashboard
54
54
  Build and open the self-contained browser dashboard. It tests WebGPU and a Web Worker CPU fallback:
55
+
55
56
  ```bash
56
- cargo benchmark-web
57
+ make web-prereqs # once, after cloning: wasm32 target, wasm-bindgen, npm deps
58
+ make web-demo # build the dashboard and open it
57
59
  ```
58
60
 
61
+ `make web-prereqs` adds the `wasm32-unknown-unknown` Rust target, checks for the
62
+ `wasm-bindgen` CLI and explains how to install it if absent, and installs the npm
63
+ dependencies. It is safe to re-run. After that:
64
+
65
+ ```bash
66
+ make web-demo-check # is the built page present, complete and up to date?
67
+ make web-clean # discard the generated dashboard
68
+ ```
69
+
70
+ The dashboard is written to `nano-rspow-web/browser-demo/index.html` as a single
71
+ self-contained file — the WebAssembly, the wasm-bindgen glue and the WGSL shader
72
+ are all inlined, so it runs straight from disk. It is **generated, not
73
+ committed**, so a stale copy can never be opened by mistake; `make web-demo-check`
74
+ tells you if the copy on disk is missing or older than the crate.
75
+
76
+ There is also a head-to-head dashboard that compares this package against
77
+ `nano-pow`, the `nano-rspow-node` addon and the Rust CLI work peer. It needs the
78
+ native addon, so it is a separate target: `make web-compare-run` serves it on
79
+ <http://localhost:8080/>. See the
80
+ [nano-rspow-web README](https://github.com/CasualSecurityInc/nano-rspow/blob/HEAD/nano-rspow-web/README.md)
81
+ for the full set of options.
82
+
59
83
  ---
60
84
 
61
85
  ## 📦 Documentation & Release Channels
@@ -86,7 +110,7 @@ This monorepo is organized into specialized workspaces to deliver native perform
86
110
  ├── nano-rspow-go/ # Go module and nano-rspow-go streaming CLI
87
111
  ├── nano-rspow-node/ # High-performance Node.js & TypeScript native bindings (N-API)
88
112
  ├── nano-rspow-python/ # Native PyO3 bindings for Python environments
89
- └── nano-rspow-web/ # Web/WASM target crate & self-contained HTML benchmarking dashboard
113
+ └── nano-rspow-web/ # Web/WASM target crate & the two HTML benchmarking dashboards
90
114
  ```
91
115
 
92
116
  ---