[package]
name = "recentip"
version = "0.1.0-alpha.6"
edition = "2021"
description = "An opinionated async SOME/IP implementation for Rust — boring by design, backed by Tokio."
license = "GPL-3.0-only"
repository = "https://github.com/daniel-freiermuth/recentip"
keywords = ["someip", "automotive", "rpc", "async", "tokio"]
categories = ["asynchronous", "network-programming"]
include = [
"src/**/*",
"build.rs",
"Cargo.toml",
"LICENSE",
"README.md",
"spec-data/requirements.json",
"scripts/extract_coverage.py",
"tests/compliance/**/*",
"docs/examples/**/*",
"docs/internals.md",
]
[package.metadata.docs.rs]
git-submodules = true
[features]
default = ["turmoil"]
turmoil = ["dep:turmoil"]
slow-tests = []
[dependencies]
tokio = { version = "1", features = ["net", "sync", "time", "rt", "macros", "io-util"] }
bytes = "1"
dashmap = "6"
futures = "0.3"
tracing = "0.1"
socket2 = { version = "0.6", features = ["all"] }
turmoil = { version = "0.7.1", optional = true }
[dev-dependencies]
proptest = "1.9.0"
turmoil = "0.7"
tokio = { version = "1", features = ["net", "sync", "time", "rt", "rt-multi-thread", "macros", "signal"] }
tracing-subscriber = "0.3"
test-log = {version = "0.2.19", default-features = false, features = ["trace"]}
chrono = "0.4"
clap = { version = "4.5.56", features = ["derive"] }
[build-dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[[test]]
name = "api_tests"
path = "tests/api_tests.rs"
required-features = ["turmoil"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_arguments = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cognitive_complexity = "allow"
doc_markdown = "allow"
format_push_string = "allow"
future_not_send = "allow"
large_stack_arrays = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
needless_pass_by_ref_mut = "allow"
nonminimal_bool = "allow"
return_self_not_must_use = "allow"
significant_drop_in_scrutinee = "allow"
type_complexity = "allow"
too_many_lines = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_const_for_fn = "deny"
cargo_common_metadata = "warn"
multiple_crate_versions = "warn"
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
indexing_slicing = "deny"
fallible_impl_from = "deny"
[profile.max-opt]
inherits = "release"
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
[profile.fast-release]
inherits = "release"
opt-level = 2