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