nano-rspow-python 0.12.1__tar.gz → 0.13.0__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.12.1 → nano_rspow_python-0.13.0}/Cargo.lock +36 -5
  2. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/Cargo.toml +1 -1
  3. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/PKG-INFO +1 -1
  4. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/README.md +3 -0
  5. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/README.md +0 -0
  6. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/Cargo.toml +0 -0
  7. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/benches/pow_benchmark.rs +0 -0
  8. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/cpu.rs +0 -0
  9. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/difficulty.rs +0 -0
  10. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/lib.rs +0 -0
  11. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/opencl_backend/mod.rs +0 -0
  12. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/opencl_backend/pow.cl +0 -0
  13. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/thresholds.rs +0 -0
  14. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/types.rs +0 -0
  15. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/wgpu_backend/mod.rs +0 -0
  16. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/wgpu_backend/pow.wgsl +0 -0
  17. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow/src/wgpu_shared.rs +0 -0
  18. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/Cargo.toml +0 -0
  19. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/README.md +0 -0
  20. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/build.rs +0 -0
  21. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/nano_rspow.pyi +0 -0
  22. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/src/lib.rs +0 -0
  23. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/tests/test_pow.py +0 -0
  24. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/nano-rspow-python/uv.lock +0 -0
  25. {nano_rspow_python-0.12.1 → nano_rspow_python-0.13.0}/pyproject.toml +0 -0
@@ -94,6 +94,12 @@ version = "0.7.6"
94
94
  source = "registry+https://github.com/rust-lang/crates.io-index"
95
95
  checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
96
96
 
97
+ [[package]]
98
+ name = "ascii"
99
+ version = "1.1.0"
100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
101
+ checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
102
+
97
103
  [[package]]
98
104
  name = "ash"
99
105
  version = "0.38.0+1.3.281"
@@ -200,6 +206,12 @@ version = "0.2.1"
200
206
  source = "registry+https://github.com/rust-lang/crates.io-index"
201
207
  checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
202
208
 
209
+ [[package]]
210
+ name = "chunked_transfer"
211
+ version = "1.5.0"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ checksum = "6e4de3bc4ea267985becf712dc6d9eed8b04c953b3fcfb339ebc87acd9804901"
214
+
203
215
  [[package]]
204
216
  name = "ciborium"
205
217
  version = "0.2.2"
@@ -608,6 +620,12 @@ version = "0.2.1"
608
620
  source = "registry+https://github.com/rust-lang/crates.io-index"
609
621
  checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df"
610
622
 
623
+ [[package]]
624
+ name = "httpdate"
625
+ version = "1.0.3"
626
+ source = "registry+https://github.com/rust-lang/crates.io-index"
627
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
628
+
611
629
  [[package]]
612
630
  name = "indexmap"
613
631
  version = "2.14.0"
@@ -739,7 +757,7 @@ dependencies = [
739
757
 
740
758
  [[package]]
741
759
  name = "nano-rspow"
742
- version = "0.12.1"
760
+ version = "0.13.0"
743
761
  dependencies = [
744
762
  "blake2b_simd",
745
763
  "bytemuck",
@@ -755,18 +773,19 @@ dependencies = [
755
773
 
756
774
  [[package]]
757
775
  name = "nano-rspow-cli"
758
- version = "0.12.1"
776
+ version = "0.13.0"
759
777
  dependencies = [
760
778
  "clap",
761
779
  "hex",
762
780
  "nano-rspow",
763
781
  "serde",
764
782
  "serde_json",
783
+ "tiny_http",
765
784
  ]
766
785
 
767
786
  [[package]]
768
787
  name = "nano-rspow-node"
769
- version = "0.12.1"
788
+ version = "0.13.0"
770
789
  dependencies = [
771
790
  "hex",
772
791
  "nano-rspow",
@@ -778,7 +797,7 @@ dependencies = [
778
797
 
779
798
  [[package]]
780
799
  name = "nano-rspow-python"
781
- version = "0.12.1"
800
+ version = "0.13.0"
782
801
  dependencies = [
783
802
  "hex",
784
803
  "nano-rspow",
@@ -787,7 +806,7 @@ dependencies = [
787
806
 
788
807
  [[package]]
789
808
  name = "nano-rspow-web"
790
- version = "0.12.1"
809
+ version = "0.13.0"
791
810
  dependencies = [
792
811
  "bytemuck",
793
812
  "getrandom",
@@ -1513,6 +1532,18 @@ dependencies = [
1513
1532
  "syn",
1514
1533
  ]
1515
1534
 
1535
+ [[package]]
1536
+ name = "tiny_http"
1537
+ version = "0.12.0"
1538
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1539
+ checksum = "389915df6413a2e74fb181895f933386023c71110878cd0825588928e64cdc82"
1540
+ dependencies = [
1541
+ "ascii",
1542
+ "chunked_transfer",
1543
+ "httpdate",
1544
+ "log",
1545
+ ]
1546
+
1516
1547
  [[package]]
1517
1548
  name = "tinytemplate"
1518
1549
  version = "1.2.1"
@@ -3,7 +3,7 @@ members = ["nano-rspow", "nano-rspow-python"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
- version = "0.12.1"
6
+ version = "0.13.0"
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.12.1
3
+ Version: 0.13.0
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3 :: Only
6
6
  Classifier: Programming Language :: Python :: 3.9
@@ -22,6 +22,9 @@ Install from crates.io (requires a Rust toolchain):
22
22
  ```bash
23
23
  cargo install nano-rspow-cli
24
24
  nano-rspow benchmark --count 10
25
+
26
+ # Run a loopback Nano work peer on 127.0.0.1:7076
27
+ nano-rspow serve
25
28
  ```
26
29
  Alternatively, build from this repository:
27
30
  ```bash