Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (69 loc) · 2.22 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (69 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
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
[package]
name = "archery"
description = "Abstract over the atomicity of reference-counting pointers"
version = "1.2.4-pre"
authors = ["Diogo Sousa <diogogsousa@gmail.com>"]
edition = "2024"
rust-version = "1.85.0"
repository = "https://github.com/orium/archery"
documentation = "https://docs.rs/archery"
readme = "README.md"
keywords = ["rc", "arc", "reference-counting", "no_std"]
categories = ["concurrency", "memory-management", "rust-patterns"]
license = "MIT"
# What to include when packaging.
include = ["/src/**/*.rs", "/Cargo.toml", "/LICENSE.md", "/README.md", "/release-notes.md"]
[badges]
codecov = { repository = "orium/archery", branch = "main", service = "github" }
[dependencies]
serde = { version = "1.0.229", optional = true, default-features = false }
triomphe = { version = "0.1.16", optional = true, default-features = false }
[dev-dependencies]
criterion = { version = "0.8.2", features = ["html_reports"] }
pretty_assertions = "1.4.1"
serde_json = "1.0.150"
static_assertions = "1.1.0"
[features]
triomphe = ["dep:triomphe"]
serde = ["dep:serde"]
[lints.clippy]
all = { level = "warn", priority = -2 }
correctness = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -2 }
explicit_deref_methods = "allow"
if_not_else = "allow"
inline_always = "allow"
match_bool = "allow"
missing_errors_doc = "allow"
missing_safety_doc = "allow"
partialeq_ne_impl = "allow"
similar_names = "allow"
single_match_else = "allow"
wildcard_imports = "allow"
[lib]
# Disable libtest to make sure criterion can parse the command line flags.
# See https://bheisler.github.io/criterion.rs/book/faq.html and https://github.com/rust-lang/rust/issues/47241.
bench = false
[[bench]]
name = "std_rc"
path = "benches/std_rc.rs"
harness = false
[[bench]]
name = "std_arc"
path = "benches/std_arc.rs"
harness = false
[[bench]]
name = "archery_shared_pointer_rc"
path = "benches/archery_shared_pointer_rc.rs"
harness = false
[[bench]]
name = "archery_shared_pointer_arc"
path = "benches/archery_shared_pointer_arc.rs"
harness = false
[[bench]]
name = "archery_shared_pointer_arct"
path = "benches/archery_shared_pointer_arct.rs"
harness = false
required-features = ["triomphe"]
[package.metadata.docs.rs]
features = ["triomphe", "serde"]