smelt-stdlib 0.1.1

Shared standard-library shims and diagnostic categories used across the Smelt transpiler.
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.85"
name = "smelt-stdlib"
version = "0.1.1"
authors = ["Lorenzo Micheli"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared standard-library shims and diagnostic categories used across the Smelt transpiler."
homepage = "https://github.com/Bombatomica64/smelt"
readme = false
keywords = [
    "smelt",
    "stdlib",
    "compiler",
    "transpiler",
]
categories = [
    "compilers",
    "development-tools",
]
license = "GPL-3.0-only"
repository = "https://github.com/Bombatomica64/smelt"
resolver = "2"

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

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.150"

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "warn"
as_conversions = "warn"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
default_numeric_fallback = "deny"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
exit = "deny"
expect_used = "warn"
get_unwrap = "deny"
if_then_some_else_none = "warn"
implicit_clone = "deny"
indexing_slicing = "warn"
integer_division = "warn"
map_err_ignore = "deny"
missing_assert_message = "deny"
missing_docs_in_private_items = "warn"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
multiple_inherent_impl = "allow"
panic = "warn"
panic_in_result_fn = "deny"
print_stderr = "warn"
print_stdout = "warn"
pub_without_shorthand = "deny"
same_name_method = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
str_to_string = "deny"
string_add = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "warn"
unwrap_in_result = "deny"
unwrap_used = "warn"
use_debug = "warn"
wildcard_enum_match_arm = "warn"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
let_underscore_drop = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "deny"
missing_docs = "warn"
non_ascii_idents = "deny"
noop_method_call = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rust.keyword_idents]
level = "deny"
priority = -1

[lints.rust.unused]
level = "deny"
priority = -1