[package]
name = "lino-objects-codec"
version = "0.9.1"
edition = "2024"
rust-version = "1.87"
description = "A library to encode/decode objects to/from links notation"
license = "Unlicense"
repository = "https://github.com/link-foundation/lino-objects-codec"
documentation = "https://docs.rs/lino-objects-codec"
readme = "README.md"
keywords = ["links-notation", "serialization", "codec", "object-graph", "circular-references"]
categories = ["encoding", "parser-implementations"]
[features]
default = []
serde_json = ["dep:serde_json"]
[dependencies]
links-notation = "0.25.2"
base64 = "0.23.1"
serde_json = { version = "1.0.154", optional = true, features = ["preserve_order", "arbitrary_precision"] }
[dev-dependencies]
serde_json = "1.0.154"
proptest = { version = "1.12.0", default-features = false, features = ["std"] }
[[example]]
name = "json_bridge"
required-features = ["serde_json"]
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
use_self = "allow"
unreadable_literal = "allow"
missing_const_for_fn = "allow"
cast_precision_loss = "allow"
cast_lossless = "allow"
must_use_candidate = "allow"
redundant_closure_for_method_calls = "allow"
ignored_unit_patterns = "allow"
uninlined_format_args = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
option_if_let_else = "allow"
unused_self = "allow"
if_not_else = "allow"
too_many_lines = "allow"
redundant_clone = "allow"
assigning_clones = "allow"
inefficient_to_string = "allow"
approx_constant = "allow"
similar_names = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true