-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
39 lines (33 loc) · 1.19 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
[package]
name = "rlbot_flatbuffers"
version = "0.16.1"
edition = "2024"
description = "A Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers"
repository = "https://github.com/VirxEC/rlbot_flatbuffers_py"
build = "codegen/main.rs"
license = "MIT"
readme = "README.md"
exclude = [".github", "pytest.py", "pybench.py", "rustfmt.toml", ".gitignore", ".gitmodules", "flatc*", "FLATBUFFERS-LICENSE", "**/README.md"]
publish = false
[lints.clippy]
all = "warn"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.24.0", features = [] }
serde = "1.0.217"
flatbuffers = "=25.2.10"
# get-size appears to be unmaintained but it's too useful here
# forked and updated deps
get-size = { git = "https://github.com/VirxEC/get-size", branch = "update", features = ["derive"] }
[build-dependencies]
reqwest = { version = "0.12.15", features = ["blocking", "rustls-tls"], default-features = false }
zip = { version = "2.6.1", features = ["deflate"], default-features = false }
[profile.dev]
opt-level = 2
[profile.release]
lto = true
strip = true
codegen-units = 1
panic = "abort"