-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
53 lines (45 loc) · 1.24 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "geohashr"
version = "1.4.0"
description = "Just another geohashing library"
authors = [
"Giovanni Barillari <[email protected]>",
"Paolo Quadri <[email protected]>"
]
license = "BSD-3-Clause"
edition = "2021"
keywords = ["geohash"]
readme = "README.md"
homepage = "https://github.com/gi0baro/geohashr"
repository = "https://github.com/gi0baro/geohashr"
include = [
"/Cargo.toml",
"/pyproject.toml",
"/LICENSE",
"/README.md",
"/src",
"/geohashr",
"/tests",
"!__pycache__",
"!tests/.pytest_cache",
"!*.so",
]
[lib]
name = "_geohashr"
crate-type = ["cdylib"]
[dependencies]
geohash = { version = "=0.13" }
pyo3 = { version = "=0.22", features = ["extension-module", "generate-import-lib"] }
lazy_static = "1.4.0"
[target.'cfg(any(target_os = "freebsd", target_os = "windows"))'.dependencies]
mimalloc = { version = "0.1.43", default-features = false, features = ["local_dynamic_tls"] }
[target.'cfg(not(any(target_os = "freebsd", target_os = "windows")))'.dependencies]
tikv-jemallocator = { version = "0.6.0", default-features = false, features = ["disable_initial_exec_tls"] }
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = "fat"
opt-level = 3
panic = "abort"
strip = true