-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (38 loc) · 1 KB
/
Cargo.toml
File metadata and controls
42 lines (38 loc) · 1 KB
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
[package]
name = "natsrpy"
# Don't update version manually. It's set during release workflow.
version = "0.0.0"
edition = "2024"
description = "Python NATS client written in Rust"
repository = "https://github.com/taskiq-python/natsrpy"
license-file = "LICENSE"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
name = "_natsrpy_rs"
[dependencies]
async-nats = "0.46"
bytes = "1.11.1"
futures-util = "0.3.32"
log = "0.4.29"
mimalloc = "0.1.48"
pyo3 = { version = "0.28", features = ["experimental-inspect"] }
pyo3-async-runtimes = { version = "0.28", features = ["tokio-runtime"] }
pyo3-log = "0.13.3"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
thiserror = "2.0.18"
time = "0.3.47"
tokio = { version = "1.50.0", features = ["full"] }
[profile.dev]
opt-level = 0
lto = "off"
incremental = true
[profile.release]
opt-level = 3
debug = false
strip = true
lto = "fat"
panic = "abort"
codegen-units = 1