serc-cli 0.1.0

An experimental CPython bytecode compiler, written in Rust.
# 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.96.0"
name = "serc-cli"
version = "0.1.0"
authors = ["Charlie Marsh"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "serc"
description = "An experimental CPython bytecode compiler, written in Rust."
homepage = "https://github.com/astral-sh/serc"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/astral-sh/serc"
resolver = "2"

[[bin]]
name = "serc"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "parentheses_limit_regression"
path = "tests/parentheses_limit_regression.rs"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.fs-err]
version = "3.2.2"

[dependencies.libmimalloc-sys]
version = "0.1.49"
default-features = false

[dependencies.mimalloc]
version = "0.1.52"
default-features = false

[dependencies.rayon]
version = "1.10.0"

[dependencies.same-file]
version = "1.0.6"

[dependencies.serc]
version = "0.1.0"

[dependencies.tempfile]
version = "3.14.0"

[dependencies.walkdir]
version = "2.5.0"

[lints.clippy]
char_lit_as_u8 = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
get_unwrap = "warn"
if_not_else = "allow"
implicit_hasher = "allow"
iter_over_hash_type = "warn"
large_stack_arrays = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
unused_peekable = "warn"
use_self = "warn"
used_underscore_binding = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -2

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(codspeed)"]