[package]
edition = "2024"
rust-version = "1.85.0"
name = "archery"
version = "1.2.3"
authors = ["Diogo Sousa <diogogsousa@gmail.com>"]
build = false
include = [
"/src/**/*.rs",
"/Cargo.toml",
"/LICENSE.md",
"/README.md",
"/release-notes.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Abstract over the atomicity of reference-counting pointers"
homepage = "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"
repository = "https://github.com/orium/archery"
[package.metadata.docs.rs]
features = [
"triomphe",
"serde",
]
[badges.codecov]
branch = "main"
repository = "orium/archery"
service = "github"
[features]
serde = ["dep:serde"]
triomphe = ["dep:triomphe"]
[lib]
name = "archery"
path = "src/lib.rs"
bench = false
[dependencies.serde]
version = "1.0.229"
optional = true
default-features = false
[dependencies.triomphe]
version = "0.1.16"
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[dev-dependencies.serde_json]
version = "1.0.150"
[dev-dependencies.static_assertions]
version = "1.1.0"
[lints.clippy]
explicit-deref-methods = "allow"
if-not-else = "allow"
inline-always = "allow"
match-bool = "allow"
missing-errors-doc = "allow"
missing-safety-doc = "allow"
module-name-repetitions = "allow"
partialeq-ne-impl = "allow"
similar-names = "allow"
single-match-else = "allow"
use-self = "allow"
wildcard-imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -2
[lints.rustdoc]
redundant-explicit-links = "allow"