-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (44 loc) · 1.3 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
[package]
name = "rloop"
version = "0.1.0-alpha2"
description = "An asyncio event loop implemented in Rust"
authors = ["Giovanni Barillari <[email protected]>"]
license = "BSD-3-Clause"
edition = "2021"
keywords = ["asyncio"]
readme = "README.md"
homepage = "https://github.com/gi0baro/rloop"
repository = "https://github.com/gi0baro/rloop"
include = [
"/Cargo.toml",
"/pyproject.toml",
"/LICENSE",
"/README.md",
"/src",
"/rloop",
"/tests",
"!__pycache__",
"!tests/.pytest_cache",
"!*.so",
]
[lib]
name = "_rloop"
crate-type = ["cdylib"]
[dependencies]
anyhow = "=1.0"
dashmap = { version = "=6.1", features = ["inline"] }
mio = { version = "=1.0", features = ["net", "os-ext", "os-poll"] }
pyo3 = { version = "=0.23", features = ["anyhow", "extension-module", "generate-import-lib"] }
socket2 = "=0.5"
[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