From ef709022690d960831b055410271856feec56fb4 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Wed, 29 May 2024 13:06:05 +0700 Subject: [PATCH] fix: cargo toml --- .../c509-certificate/Cargo.toml | 49 +++++++++++++++---- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/catalyst-gateway-crates/c509-certificate/Cargo.toml b/catalyst-gateway-crates/c509-certificate/Cargo.toml index 3bd02d9f8a..204f878f23 100644 --- a/catalyst-gateway-crates/c509-certificate/Cargo.toml +++ b/catalyst-gateway-crates/c509-certificate/Cargo.toml @@ -2,17 +2,48 @@ name = "c509-certificate" description = "c509 certificate implementation" keywords = ["cardano", "catalyst", "c509 certificate", "certificate", "x509"] -version.workspace = true -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true +version = "0.0.1" +authors = [ + "Arissara Chotivichit " +] +homepage = "https://input-output-hk.github.io/catalyst-voices" +repository = "https://github.com/input-output-hk/catalyst-voices" +license = "MIT OR Apache-2.0" +edition = "2021" -[lib] -crate-type = ["cdylib"] +[lints.rust] +warnings = "deny" +missing_docs = "deny" +let_underscore_drop = "deny" +non_ascii_idents = "deny" +single_use_lifetimes = "deny" +trivial_casts = "deny" +trivial_numeric_casts = "deny" -[lints] -workspace = true +[lints.rustdoc] +broken_intra_doc_links = "deny" +invalid_codeblock_attributes = "deny" +invalid_html_tags = "deny" +invalid_rust_codeblocks = "deny" +bare_urls = "deny" +unescaped_backticks = "deny" + +[lints.clippy] +pedantic = "deny" +unwrap_used = "deny" +expect_used = "deny" +exit = "deny" +get_unwrap = "deny" +index_refutable_slice = "deny" +indexing_slicing = "deny" +match_on_vec_items = "deny" +match_wild_err_arm = "deny" +missing_panics_doc = "deny" +panic = "deny" +string_slice = "deny" +unchecked_duration_subtraction = "deny" +unreachable = "deny" +missing_docs_in_private_items = "deny" [dependencies] wasm-bindgen = "0.2"