File: Cargo.toml

package info (click to toggle)
sqlglot 28.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,672 kB
  • sloc: python: 84,517; sql: 22,534; makefile: 48
file content (35 lines) | stat: -rw-r--r-- 953 bytes parent folder | download
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
[package]
name = "sqlglotrs"
version = "0.10.0"
edition = "2021"
license = "MIT"

[lib]
name = "sqlglotrs"
crate-type = ["cdylib", "rlib"]
bench = false

[[bench]]
name = "long"
harness = false

[features]
# Enable this feature to use the serde and serde_json crates for profiling purposes
default = []
profiling = ["serde", "serde_json"]

[dependencies]
# https://www.maturin.rs/distribution.html#cross-compile-to-windows - explains `features`
pyo3 = { version ="0.25", features = ["extension-module", "generate-import-lib"] }
rustc-hash = { version = "2.1" }

# Optional dependencies used for profiling
serde = { version = "1", features = ["derive"] , optional = true }
serde_json = { version = "1", optional = true }

[dev-dependencies]
criterion = "0.5"
serde = { version = "1", features = ["derive"]  }
serde_json = { version = "1" }
sqlglotrs = { path = "." , features = ["profiling"] }
pyo3 = { version = "0.25", features = ["auto-initialize"] }