aranya-capi-codegen 0.7.0

Code generation for Aranya's C API tooling
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.90.0"
name = "aranya-capi-codegen"
version = "0.7.0"
authors = ["SpiderOak, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generation for Aranya's C API tooling"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/aranya-project/aranya-core"
resolver = "2"

[features]
debug = []
default = []

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

[dependencies.aho-corasick]
version = "1.1.3"

[dependencies.anyhow]
version = "1.0"
features = ["std"]

[dependencies.bimap]
version = "0.6.3"

[dependencies.codespan-reporting]
version = "0.11.1"

[dependencies.prettyplease]
version = "0.2"

[dependencies.proc-macro2]
version = "1.0.80"
features = ["span-locations"]

[dependencies.quote]
version = "1.0"

[dependencies.strum]
version = "0.26.3"
features = ["derive"]

[dependencies.syn]
version = "2.0.59"
features = [
    "extra-traits",
    "full",
    "visit-mut",
]

[dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "std",
]
default-features = false

[lints.clippy]
arithmetic_side_effects = "warn"
assigning_clones = "warn"
borrow_as_ptr = "warn"
cast_lossless = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
derive_partial_eq_without_eq = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
if_not_else = "warn"
ignored_unit_patterns = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
match_wildcard_for_single_variants = "warn"
needless_continue = "warn"
option_as_ref_cloned = "warn"
panic = "warn"
ptr_as_ptr = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
ref_as_ptr = "warn"
return_self_not_must_use = "warn"
semicolon_if_nothing_returned = "warn"
transmute_ptr_to_ptr = "warn"
unnecessary_semicolon = "warn"
unnested_or_patterns = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
use_self = "warn"
wildcard_imports = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1