nanofuzz-runtime 0.4.1__tar.gz → 0.4.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.
@@ -22,8 +22,9 @@ pids
22
22
  lib-cov
23
23
 
24
24
  # Coverage directory used by tools like istanbul
25
- coverage
25
+ /coverage
26
26
  *.lcov
27
+ !packages/runtime/go/coverage/
27
28
 
28
29
  # nyc test coverage
29
30
  .nyc_output
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nanofuzz-runtime
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Runtime support and types for NaNofuzz
5
5
  Project-URL: Homepage, https://github.com/nanofuzz/nanofuzz
6
6
  Project-URL: Repository, https://github.com/nanofuzz/nanofuzz
@@ -16,7 +16,7 @@ Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Topic :: Software Development :: Testing
18
18
  Classifier: Typing :: Typed
19
- Requires-Python: >=3.12
19
+ Requires-Python: >=3.11
20
20
  Description-Content-Type: text/markdown
21
21
 
22
22
  # NaNofuzz runtime support package
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nanofuzz-runtime"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "Runtime support and types for NaNofuzz"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -21,7 +21,7 @@ classifiers = [
21
21
  "Intended Audience :: Developers",
22
22
  "Intended Audience :: Science/Research"
23
23
  ]
24
- requires-python = ">=3.12"
24
+ requires-python = ">=3.11"
25
25
  dependencies = []
26
26
 
27
27
  [project.urls]
@@ -22,4 +22,13 @@ def assume(condition: Any, message: Optional[str] = None) -> Literal[True]:
22
22
  return True
23
23
 
24
24
 
25
- __all__ = ["FuzzTestResult", "UnsatisfiedAssumption", "assume"]
25
+ def put(*targets: Any) -> Any:
26
+ """
27
+ Decorator specifying the Program Under Test (PUT) target(s) for a harness function.
28
+ """
29
+ def decorator(fn: Any) -> Any:
30
+ return fn
31
+ return decorator
32
+
33
+
34
+ __all__ = ["FuzzTestResult", "UnsatisfiedAssumption", "assume", "put"]