-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (54 loc) · 1.68 KB
/
Cargo.toml
File metadata and controls
62 lines (54 loc) · 1.68 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
[package]
name = "fastpfor"
version = "0.9.0"
description = "FastPFOR lib with C++ Rust wrapper and pure Rust implementation"
authors = [
"Francisco Jimenez <jjcfrank@gmail.com>",
"Yuri Astrakhan <YuriAstrakhan@gmail.com>",
]
repository = "https://github.com/jjcfrancisco/fastpfor"
edition = "2024"
license = "MIT OR Apache-2.0"
keywords = ["fastpfor", "compression"]
categories = ["compression"]
rust-version = "1.86.0"
[package.metadata.docs.rs]
all-features = true
[[bench]]
name = "fastpfor_benchmark"
required-features = ["rust"]
harness = false
[features]
default = ["rust"]
# Used internally for testing and benchmarking. Not intended for public use.
_all_compatible = ["cpp_portable", "rust"]
# Use portable C++ code that will not rely on the latest CPU features. This is the default for the C++ bindings.
cpp_portable = ["cpp"]
# Optimize FastPFOR for the current CPU.
cpp_native = ["cpp"]
cpp = ["dep:cmake", "dep:cxx", "dep:cxx-build"]
rust = ["dep:bytes"]
[dependencies]
bytemuck = { version = "1.25.0", features = ["min_const_generics"] }
bytes = { version = "1.11", optional = true }
cxx = { version = "1.0.194", optional = true }
thiserror = "2.0.18"
[build-dependencies]
cmake = { version = "0.1.57", optional = true }
cxx-build = { version = "1.0.194", optional = true }
[dev-dependencies]
criterion = "0.8"
rand = "0.10.0"
[lints.rust]
unused_qualifications = "warn"
missing_docs = "warn"
[lints.clippy]
cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
use_self = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unreadable_literal = "allow"