Cargo.toml: Switch to a cdylib.

pyo3-pack requires the library to be a cdylib. This patch allows us to
use pyo3-pack to build and publish tantivy-py using pyo3-pack.
master
Damir Jelić 2019-08-02 17:21:13 +02:00
parent f3ea129fa7
commit 82dbd452ea
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ license = "MIT"
[lib] [lib]
name = "tantivy" name = "tantivy"
crate-type = ["dylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
chrono = "0.4" chrono = "0.4"