-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (46 loc) · 1.04 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 = "ulid-rs-py"
version = "0.2.1"
description = "Use rust ulid crate to rewrite python ulid library"
authors = [
"vvanglro <[email protected]>"
]
license = "MIT"
edition = "2021"
keywords = ["ulid"]
readme = "README.md"
homepage = "https://github.com/rp-libs/ulid-rs-py"
repository = "https://github.com/rp-libs/ulid-rs-py"
include = [
"/Cargo.toml",
"/pyproject.toml",
"/build.rs",
"/LICENSE",
"/README.md",
"/src",
"/ulid",
"/tests",
"!__pycache__",
"!tests/.pytest_cache",
"!tests/.benchmarks",
"!tests/benchmarks",
"!*.so",
]
[lib]
name = "_ulid_rs_py"
crate-type = ["cdylib"]
[dependencies]
chrono = "0.4.26"
pyo3 = { version = "=0.20.1", features = ["extension-module", "generate-import-lib"] }
ulid = { version = "1.1.2", features = ["uuid"] }
uuid = "1.4.1"
[build-dependencies]
pyo3-build-config = { version = "=0.20.1", features = ["resolve-config"] }
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = "fat"
opt-level = 3
panic = "abort"
strip = true