[package]
edition = "2024"
rust-version = "1.98"
name = "solar-data-structures"
version = "0.3.0"
authors = ["DaniPopes <57450786+DaniPopes@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common data structures and utilities for the Solar compiler"
homepage = "https://github.com/paradigmxyz/solar/tree/main/crates/data-structures"
readme = "README.md"
keywords = [
"ethereum",
"solidity",
"solc",
"crypto",
"compiler",
]
categories = [
"compilers",
"cryptography",
"cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/solar"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"-Zunstable-options",
"--generate-link-to-definition",
"--show-type-layout",
]
[features]
nightly = [
"parking_lot/nightly",
"smallvec/may_dangle",
"smallvec/specialization",
]
[lib]
name = "solar_data_structures"
path = "src/lib.rs"
[dependencies.bumpalo]
version = "3.14"
[dependencies.diff]
version = "0.1"
[dependencies.indexmap]
version = "2.2"
[dependencies.oxc_index]
version = "5.0"
features = ["nonmax"]
[dependencies.parking_lot]
version = "0.12"
[dependencies.rayon]
version = "1.8"
[dependencies.rustc-hash]
version = "2.0"
[dependencies.smallvec]
version = "1"
features = [
"const_generics",
"union",
]
[lints.clippy]
dbg_macro = "warn"
manual_string_new = "warn"
redundant_clone = "warn"
test_attr_in_doctest = "allow"
uninlined_format_args = "warn"
use_self = "warn"
[lints.rust]
redundant_lifetimes = "warn"
rust_2018_idioms = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unused_crate_dependencies = "warn"
unused_must_use = "warn"
[lints.rustdoc]
all = "warn"