-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (50 loc) · 2.45 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "ferroflex"
version = "0.1.0"
authors = ["The Wondersmith <[email protected]>"]
edition = "2021"
description = "A Python DB-API v2 compliant interface for DataFlex flat-file databases"
homepage = "https://github.com/the-wondersmith/ferroflex"
documentation = "https://github.com/the-wondersmith/ferroflex"
repository = "https://github.com/the-wondersmith/ferroflex"
license = "AGPL-3.0-or-later"
keywords = ["dataflex", "python", "flat-file", "database", "db-api"]
categories = ["database", "database-implementations", "data-structures", "parser-implementations"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "ferroflex" # The name of the target.
crate-type = ["cdylib", "rlib"] # The crate types to generate.
# path = "src/lib.rs" # The source file of the target.
# test = true # Is tested by default.
# doctest = true # Documentation examples are tested by default.
# bench = true # Is benchmarked by default.
# doc = true # Is documented by default.
# plugin = false # Used as a compiler plugin (deprecated).
# proc-macro = false # Set to `true` for a proc-macro library.
# harness = true # Use libtest harness.
# edition = "2021" # The edition of the target.
# required-features = [] # Features required to build this target (N/A for lib).
[dependencies]
bstr = "^0.2"
caseless = "^0.2"
byteorder = "^1.4"
itertools = "^0.10"
lazy_static = "^1.4"
async-trait = "0.1.52"
prettytable-rs = "^0.8"
pyo3-build-config = "^0.15"
pyo3-chrono = { version = "^0.3", features = ["serde"] }
pyo3 = { version = "^0.15", features = ["serde", "nightly", "extension-module"] }
num = { version = "^0.4", default-features = false, features = ["std", "alloc", "serde"] }
serde = { version = "^1.0", default-features = false, features = ["rc", "std", "alloc", "derive", "unstable"] }
gluesql = { version = "^0.10", default-features = false } # features = ["index", "metadata", "alter-table", "transaction"]
[dev-dependencies]
cargo-x = "^0.3"
[features]
extension-module = ["pyo3/extension-module"]
default = ["extension-module"]
[package.metadata.x]
build = "poetry run maturin build"
build-dev = "poetry run maturin develop"
clean = "bash -c 'rm -f ferroflex/*.so && cargo clean'"
pytest = "poetry run pytest tests/"