forked from Gelbpunkt/zangy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (42 loc) · 1.11 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
[package]
name = "zangy"
version = "0.1.2"
authors = ["Jens Reidel <adrian@travitia.xyz>"]
description = "A fast redis library written in Rust"
edition = "2021"
license = "MIT"
repository = "https://github.com/Gelbpunkt/zangy"
homepage = "https://github.com/Gelbpunkt/zangy"
readme = "README.md"
keywords = ["fast", "redis"]
include = ["Cargo.toml", "README.md", "src/*", "pyproject.toml"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "zangy"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { git = "https://github.com/PyO3/pyo3", default-features = false, features = [
"macros",
"extension-module",
"nightly",
"num-bigint",
"abi3",
"abi3-py37",
] }
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread",
] }
redis = { version = "0.25", default-features = false, features = [
"tokio-comp"
] }
futures-util = { version = "0.3", default-features = false }
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = true
opt-level = 3
panic = "abort"
strip = "symbols"
[profile.dev]
panic = "abort"