-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
33 lines (27 loc) · 688 Bytes
/
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
[package]
name = "pg_tiktoken"
version = "0.0.1"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[features]
default = ["pg13"]
pg11 = ["pgrx/pg11", "pgrx-tests/pg11" ]
pg12 = ["pgrx/pg12", "pgrx-tests/pg12" ]
pg13 = ["pgrx/pg13", "pgrx-tests/pg13" ]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14" ]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15" ]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []
[dependencies]
pgrx = { version = "=0.10.2", features = [ "unsafe-postgres" ] }
tiktoken-rs = { git = "https://github.com/kelvich/tiktoken-rs" }
[dev-dependencies]
pgrx-tests = "=0.10.2"
[profile.dev]
panic = "unwind"
[profile.release]
panic = "unwind"
opt-level = 3
lto = "fat"
codegen-units = 1