-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
25 lines (21 loc) · 1017 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[package]
edition = "2021"
name = "tzfpy"
version = "0.16.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[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 = "tzfpy"
# "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]
lazy_static = "1.5.0"
pyo3 = {version = "0.23.3", features = ["extension-module", "generate-import-lib", "abi3-py39"]}
# tzf-rs = { git = "https://github.com/ringsaturn/tzf-rs", rev = "31b1730", default-features = false}
tzf-rs = { version = "0.4.9", default-features = false }