# 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 = "2021" rust-version = "1.81.0" name = "aranya-capi-codegen" version = "0.1.0" authors = ["SpiderOak, Inc."] build = 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" [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 [features] debug = [] default = [] [lints.clippy] arithmetic_side_effects = "warn" cast_lossless = "warn" cast_possible_wrap = "warn" cast_precision_loss = "warn" cast_sign_loss = "warn" panic = "warn" unwrap_used = "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