serc-cli 0.1.8

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.8"
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 = "bare_yield"
path = "tests/bare_yield.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "yield_from_tuple"
path = "tests/yield_from_tuple.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"
features = ["no_thp"]
default-features = false

[dependencies.rayon]
version = "1.10.0"

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

[dependencies.serc]
version = "0.1.8"

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