solar-data-structures 0.2.0

Common data structures and utilities for the Solar compiler
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95"
name = "solar-data-structures"
version = "0.2.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.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"