-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
103 lines (87 loc) · 2.55 KB
/
Cargo.toml
File metadata and controls
103 lines (87 loc) · 2.55 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# SPDX-License-Identifier: MIT
# Copyright (c) 2026 Tom F. (https://github.com/tomtom215/duckdb-behavioral)
[package]
name = "duckdb-behavioral"
version = "0.4.0"
edition = "2021"
rust-version = "1.84.1"
authors = ["Tom F <tomtom215@users.noreply.github.com>"]
description = "Behavioral analytics functions for DuckDB: sessionize, retention, funnels, sequence matching"
license = "MIT"
repository = "https://github.com/tomtom215/duckdb-behavioral"
homepage = "https://tomtom215.github.io/duckdb-behavioral"
documentation = "https://tomtom215.github.io/duckdb-behavioral"
keywords = ["duckdb", "analytics", "funnel", "retention", "behavioral"]
categories = ["database", "science"]
[lib]
name = "behavioral"
crate-type = ["cdylib", "rlib"]
[dependencies]
quack-rs = "0.7.1"
libduckdb-sys = { version = "=1.10501.0", features = ["loadable-extension"] }
[dev-dependencies]
duckdb = { version = "=1.10501.0", features = ["bundled"] }
criterion = { version = "0.8", features = ["html_reports"] }
proptest = "1"
[[bench]]
name = "sessionize_bench"
harness = false
[[bench]]
name = "retention_bench"
harness = false
[[bench]]
name = "window_funnel_bench"
harness = false
[[bench]]
name = "sequence_bench"
harness = false
[[bench]]
name = "sort_bench"
harness = false
[[bench]]
name = "sequence_next_node_bench"
harness = false
[[bench]]
name = "sequence_match_events_bench"
harness = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.profiling]
inherits = "release"
strip = false
debug = true
[profile.bench]
opt-level = 3
lto = "thin"
[lints.rust]
unsafe_op_in_unsafe_fn = "allow"
missing_docs = "warn"
[lints.clippy]
# Lint groups (priority -1 so individual overrides take precedence)
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
# Mathematical/analytics code allowances
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
cast_possible_wrap = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
# FFI code allowances
ptr_as_ptr = "allow"
too_many_arguments = "allow"
wildcard_imports = "allow"
# DuckDB interval struct requires reading from raw byte pointers at known offsets
cast_ptr_alignment = "allow"
# extern "C" FFI callback functions cannot be const despite only using size_of
missing_const_for_fn = "allow"
# Dependency version duplicates (transitive through duckdb)
multiple_crate_versions = "allow"