# 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" name = "freighter-api-types" version = "1.0.0" authors = [ "Noah Kennedy ", "Kornel LesiƄski ", ] publish = [ "crates-io", "freighter", "freighter-staging", ] description = "Cloudflare's third-party Rust registry implementation" keywords = [ "registries", "freighter", ] categories = [] license = "MIT OR Apache-2.0" repository = "https://github.com/cloudflare/freighter" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.anyhow] version = "1.0.79" optional = true [dependencies.async-trait] version = "0.1.77" optional = true [dependencies.axum] version = "0.6.9" optional = true default-features = false [dependencies.bytes] version = "1.5.0" optional = true [dependencies.chrono] version = "0.4.26" features = [ "std", "serde", ] optional = true default-features = false [dependencies.postgres-types] version = "0.2.6" features = [ "derive", "with-chrono-0_4", ] optional = true [dependencies.semver] version = "1.0.21" features = ["serde"] optional = true [dependencies.serde] version = "1.0.195" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.56" optional = true [dependencies.tracing] version = "0.1.40" optional = true [features] auth = [] client = ["dep:serde"] index = [ "dep:chrono", "dep:semver", "dep:axum", "dep:anyhow", "dep:thiserror", "dep:async-trait", "dep:tracing", "dep:serde", ] ownership = [] postgres = ["dep:postgres-types"] server = ["dep:serde"] storage = [ "dep:axum", "dep:anyhow", "dep:async-trait", "dep:bytes", "dep:thiserror", "dep:tracing", ] [lints.clippy] cast_possible_wrap = "allow" cast_sign_loss = "allow" doc_markdown = "allow" inline_always = "allow" items_after_statements = "allow" match_same_arms = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" needless_pass_by_value = "allow" redundant_closure_for_method_calls = "allow" struct_field_names = "allow" [lints.clippy.pedantic] level = "warn" priority = -1