[dependencies.bigdecimal]
default-features = false
optional = true
version = "0.4.6"
[dependencies.num-bigint]
default-features = false
optional = true
version = "0.4.6"
[dependencies.ordered-float]
default-features = false
optional = true
version = "5.0"
[dependencies.serde]
default-features = false
features = ["alloc"]
optional = true
version = "^1.0"
[dev-dependencies.serde_derive]
version = "^1.0"
[[example]]
name = "get-nth"
path = "examples/get-nth.rs"
[[example]]
name = "read_quotes"
path = "examples/read_quotes.rs"
[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["derive"]
[features]
arbitrary-nums = ["bigdecimal", "num-bigint"]
default = ["floats", "std"]
derive = ["serde"]
floats = ["ordered-float"]
full = ["default", "arbitrary-nums", "derive"]
std = []
[lib]
name = "clojure_reader"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
indexing_slicing = "warn"
inline_always = "allow"
must_use_candidate = "allow"
unwrap_used = "warn"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
future-incompatible = "warn"
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[package]
authors = ["Kevin Nakamura <grinkers@grinkers.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A Clojure reader"
edition = "2024"
keywords = ["EDN", "no_std", "clojure", "serde"]
license = "Zlib"
name = "clojure-reader"
readme = "README.md"
repository = "https://github.com/grinkers/clojure-reader"
resolver = "2"
version = "0.5.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "de"
path = "tests/de.rs"
[[test]]
name = "display"
path = "tests/display.rs"
[[test]]
name = "error_messages"
path = "tests/error_messages.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "hash"
path = "tests/hash.rs"
[[test]]
name = "invalid"
path = "tests/invalid.rs"
[[test]]
name = "navigation"
path = "tests/navigation.rs"
[[test]]
name = "read"
path = "tests/read.rs"
[[test]]
name = "read_big_nums"
path = "tests/read_big_nums.rs"
[[test]]
name = "read_floats"
path = "tests/read_floats.rs"
[[test]]
name = "ser"
path = "tests/ser.rs"