[package]
edition = "2024"
rust-version = "1.85"
name = "serde_jcs"
version = "0.2.0"
authors = ["l1h3r <5410284+l1h3r@users.noreply.github.com>"]
build = false
exclude = [
".github",
"release.toml",
"rustfmt.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON Canonicalization Scheme (JCS) for Serde"
homepage = "https://github.com/l1h3r/serde_jcs"
documentation = "https://docs.rs/serde_jcs"
readme = "README.md"
keywords = [
"json",
"serde",
"serialization",
]
categories = ["encoding"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/l1h3r/serde_jcs"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = [
"--generate-link-to-definition",
"--generate-macro-expansion",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
]
[lib]
name = "serde_jcs"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[dependencies.ryu-js]
version = "0.2"
default-features = false
[dependencies.serde]
version = "1.0"
default-features = false
[dependencies.serde_json]
version = "1.0"
features = [
"std",
"float_roundtrip",
]
default-features = false
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust.deprecated-safe]
level = "deny"
priority = -1
[lints.rust.future-incompatible]
level = "deny"
priority = -1
[lints.rust.keyword-idents]
level = "deny"
priority = -1
[lints.rust.let-underscore]
level = "deny"
priority = -1
[lints.rust.nonstandard-style]
level = "deny"
priority = -1
[lints.rust.refining-impl-trait]
level = "deny"
priority = -1
[lints.rust.rust-2018-compatibility]
level = "deny"
priority = -1
[lints.rust.rust-2018-idioms]
level = "deny"
priority = -1
[lints.rust.rust-2021-compatibility]
level = "deny"
priority = -1
[lints.rust.rust-2024-compatibility]
level = "deny"
priority = -1
[lints.rust.unused]
level = "deny"
priority = -1
[lints.rust.warnings]
level = "deny"
priority = -1
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
missing_crate_level_docs = "deny"
private_doc_tests = "deny"
private_intra_doc_links = "deny"
redundant_explicit_links = "deny"
unescaped_backticks = "deny"