Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (41 loc) · 1.58 KB
/
Copy pathCargo.toml
File metadata and controls
46 lines (41 loc) · 1.58 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
43
44
45
46
[workspace]
resolver = "3"
members = ["crates/dynamoxy-core", "crates/dynamoxy-py"]
# The single version of the project: the Python package takes it from the binding crate.
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.94"
license = "MIT"
repository = "https://github.com/kalaspuff/dynamoxy"
homepage = "https://github.com/kalaspuff/dynamoxy"
authors = ["Carl Oscar Aaro <hello@carloscar.com>"]
[workspace.dependencies]
dynamoxy-core = { path = "crates/dynamoxy-core", version = "0.1.0" }
async-trait = "0.1"
aws-config = { version = "1.12", features = ["behavior-version-latest"] }
aws-credential-types = { version = "1.3", features = ["hardcoded-credentials"] }
aws-sdk-dynamodb = { version = "1.130", features = ["behavior-version-latest"] }
fastrand = "2"
parking_lot = "0.12"
pyo3 = { version = "0.29", features = ["abi3-py312"] }
# tokio-runtime: implements the bridge's JoinError trait for Tokio (needed by runtime.rs).
pyo3-async-runtimes = { version = "0.29", features = ["tokio-runtime"] }
pythonize = "0.29"
serde = { version = "1", features = ["derive"] }
thiserror = "2"
tokio = { version = "1.53", features = ["rt-multi-thread", "time", "sync", "macros"] }
tokio-util = { version = "0.7", features = ["rt"] }
# Local/editable builds: optimized but quick to compile.
[profile.release]
lto = false
codegen-units = 16
strip = "symbols"
# Published wheels (`maturin build --profile dist`): maximum optimization.
[profile.dist]
inherits = "release"
lto = "fat"
codegen-units = 1
# Dependencies stay reasonably fast in debug builds and tests.
[profile.dev.package."*"]
opt-level = 1