[package] name = "pyfinlib" version.workspace = true authors.workspace = true edition.workspace = true description.workspace = true homepage.workspace = true repository.workspace = true documentation.workspace = true readme.workspace = true license.workspace = true [lib] # The name of the native library. This is the name which will be used in Python to import the # library (i.e. `import string_sum`). If you change this, you must also change the name of the # `#[pymodule]` in `src/lib.rs`. name = "pyfinlib" # "cdylib" is necessary to produce a shared library for Python to import from. # # Downstream Rust code (including code in `bin/`, `examples/`, and `tests/`) will not be able # to `use string_sum;` unless the "rlib" or "lib" crate type is also included, e.g.: # crate-type = ["cdylib", "rlib"] crate-type = ["cdylib"] [dependencies] finlib = { path = "../finlib", features = ["py"] } pyo3 = { workspace = true } pyo3-log = { workspace = true } log = "0.4.25"