-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (56 loc) · 2.22 KB
/
Cargo.toml
File metadata and controls
63 lines (56 loc) · 2.22 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
[package]
name = "ringbeam"
version = "0.1.0"
edition = "2024"
# Most of it is licensed under BSD-3-Clause because it's based on DPDK
# but cache_padding.rs is licensed under MIT OR Apache-2.0 as it's from Crossbeam.
license = "BSD-3-Clause AND (MIT OR Apache-2.0)"
description = "A blazingly fast channel based on DPDK ringbuffers"
repository = "https://github.com/kriskras99/ringbeam"
categories = ["algorithms", "concurrency", "data-structures"]
keywords = ["channel", "dpdk", "ringbuffer"]
[package.metadata.docs.rs]
# Documentation is not different on other targets
targets = []
[dependencies]
loom = { version = "0.7.1", default-features = false, features = ["checkpoint"], optional = true }
shuttle = { version = "0.8.1", default-features = false, features = [], optional = true}
[dev-dependencies]
[features]
# Emit branch hints using `std::hint::cold_path`, requires nightly.
cold_path = []
# Implement `std::iter::TrustedLen` for `RecvValues`, requires nightly.
trusted_len = []
# Internal feature. Test the implementation using `_loom`, conflicts with `_shuttle`.
_loom = ["dep:loom", "_safe_maybeuninit"]
# Internal feature. Test the implementation using `_shuttle`, conflicts with `_loom`.
_shuttle = ["dep:shuttle", "_safe_maybeuninit"]
# Internal feature. Use a safe variant of MaybeUninit to detect overwriting/uninitialized reads in tests.
_safe_maybeuninit = []
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
missing_assert_message = "warn"
missing_docs_in_private_items = "warn"
missing_errors_doc = "warn"
missing_inline_in_public_items = "warn"
missing_panics_doc = "warn"
renamed_function_params = "warn"
semicolon_inside_block = "warn"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
# This needs to be done constantly, because N needs to be usize but the calculations u32
cast_possible_truncation = "allow"
cast_lossless = "allow"
# .deref() looks beter than &*
explicit_deref_methods = "allow"
[lints.rust]
missing_docs = "warn"
[lints.rustdoc]
missing_crate_level_docs = "warn"
private_doc_tests = "warn"
unescaped_backticks = "warn"