itt-ustutt / num-dual

Generalized (hyper-) dual numbers in rust
Other
53 stars 6 forks source link

Reorganization of the Python bindings #56

Closed prehner closed 1 year ago

prehner commented 1 year ago

With the implement_dual_number macro now being exposed, it might be possible to add an extra feature that only provides the macro without actually building the python module.

Exposing the macro without using it should be possible without the pyo3 dependency (the necessary imports have to be done in the crate that uses the macro). Then the necessity of the build-wheel subcrate would vanish.