2021-04-01 23:03:49 +00:00
|
|
|
# import the contents of the Rust library into the Python extension
|
2021-10-01 07:18:38 +00:00
|
|
|
# optional: include the documentation from the Rust module
|
2021-04-01 23:03:49 +00:00
|
|
|
from ._setuptools_rust_starter import *
|
2021-10-01 07:18:38 +00:00
|
|
|
from ._setuptools_rust_starter import __all__, __doc__
|
|
|
|
|
|
|
|
__all__ = __all__ + ["PythonClass"]
|
2021-04-01 23:03:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
class PythonClass:
|
|
|
|
def __init__(self, value: int) -> None:
|
|
|
|
self.value = value
|