solar-codegen 0.2.0

Solidity MIR and EVM code generation
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-codegen"
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 = "Solidity MIR and EVM code generation"
homepage = "https://github.com/paradigmxyz/solar/tree/main/crates/codegen"
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"

[features]
nightly = [
    "solar-ast/nightly",
    "solar-data-structures/nightly",
    "solar-interface/nightly",
    "solar-sema/nightly",
]

[lib]
name = "solar_codegen"
path = "src/lib.rs"

[dependencies.alloy-primitives]
version = "1.3"

[dependencies.derive_more]
version = "2.0"
features = ["full"]

[dependencies.smallvec]
version = "1"
features = [
    "const_generics",
    "union",
]

[dependencies.solar-ast]
version = "=0.2.0"
default-features = false

[dependencies.solar-config]
version = "=0.2.0"
default-features = false

[dependencies.solar-data-structures]
version = "=0.2.0"
default-features = false

[dependencies.solar-interface]
version = "=0.2.0"
default-features = false

[dependencies.solar-sema]
version = "=0.2.0"
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.snapbox]
version = "1.2"
features = ["json"]

[dev-dependencies.tempfile]
version = "3.9"

[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"