apistos-core 0.6.0

Actix-web OpenAPI v3.0 documentation generator
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.0"
name = "apistos-core"
version = "0.6.0"
authors = ["Netwo <oss@netwo.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Actix-web OpenAPI v3.0 documentation generator"
readme = "README.md"
keywords = [
    "actix",
    "actix-web",
    "openapi",
    "oas3",
    "documentation",
]
categories = ["web-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/netwo-io/apistos"
resolver = "2"

[features]
actix = [
    "dep:actix-web",
    "dep:pin-project",
]
actix-session = [
    "actix",
    "dep:serde",
    "dep:actix-session",
]
actix-web-grants = ["dep:actix-web-grants"]
chrono = [
    "dep:chrono",
    "schemars/chrono",
]
default = [
    "actix",
    "query",
]
extras = [
    "chrono",
    "multipart",
    "rust_decimal",
    "uuid",
    "url",
]
garde = [
    "actix",
    "dep:garde-actix-web",
]
lab_query = [
    "actix",
    "dep:actix-web-lab",
    "garde-actix-web?/lab_query",
]
multipart = [
    "actix",
    "dep:serde",
    "dep:actix-multipart",
]
qs_query = [
    "actix",
    "dep:serde_qs",
    "garde-actix-web?/serde_qs",
]
query = []
rust_decimal = [
    "dep:rust_decimal",
    "schemars/rust_decimal",
]
url = [
    "dep:url",
    "schemars/url",
]
uuid = [
    "dep:uuid",
    "schemars/uuid1",
]

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

[dependencies.actix-multipart]
version = "0.7"
optional = true

[dependencies.actix-session]
version = "0.10"
optional = true

[dependencies.actix-web]
version = "4"
optional = true

[dependencies.actix-web-grants]
version = "4"
optional = true

[dependencies.actix-web-lab]
version = "0.24"
optional = true

[dependencies.apistos-models]
version = "0.6.0"
features = ["deserialize"]

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.garde-actix-web]
version = "0.11"
optional = true

[dependencies.pin-project]
version = "1"
optional = true

[dependencies.rust_decimal]
version = "1"
optional = true

[dependencies.schemars]
version = "0.8"
features = [
    "chrono",
    "uuid1",
    "url",
    "rust_decimal",
]
package = "apistos-schemars"

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_qs]
version = "0.14"
features = ["actix4"]
optional = true

[dependencies.url]
version = "2"
optional = true

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]
optional = true

[dev-dependencies.assert-json-diff]
version = "2.0.2"

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

[lints.clippy]
bool_to_int_with_if = "warn"
branches_sharing_code = "warn"
case_sensitive_file_extension_comparisons = "warn"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
copy_iterator = "warn"
create_dir = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
derive_partial_eq_without_eq = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
empty_drop = "warn"
empty_line_after_outer_attr = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
exit = "warn"
expect_used = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
fallible_impl_from = "warn"
filetype_is_file = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
fn_to_numeric_cast_any = "warn"
from_iter_instead_of_collect = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
items_after_statements = "warn"
iter_not_returning_iterator = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
iter_with_drain = "warn"
large_digit_groups = "warn"
large_include_file = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_clamp = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
many_single_char_names = "warn"
match_bool = "warn"
match_on_vec_items = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
maybe_infinite_iter = "warn"
mem_forget = "warn"
mismatching_type_param_order = "warn"
mixed_read_write_in_expression = "warn"
mut_mut = "warn"
mutex_atomic = "warn"
mutex_integer = "warn"
needless_bitwise_bool = "warn"
needless_collect = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_value = "warn"
negative_feature_names = "warn"
no_effect_underscore_binding = "warn"
nonstandard_macro_braces = "warn"
option_option = "warn"
or_fun_call = "warn"
panic = "warn"
path_buf_push_overwrite = "warn"
print_stderr = "warn"
print_stdout = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
ref_binding_to_reference = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_functions_in_if_condition = "warn"
same_name_method = "warn"
significant_drop_in_scrutinee = "warn"
string_slice = "warn"
suspicious_operation_groupings = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
trivially_copy_pass_by_ref = "warn"
try_err = "warn"
type_repetition_in_bounds = "warn"
unchecked_duration_subtraction = "warn"
unicode_not_nfc = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
unsafe_derive_deserialize = "warn"
unused_async = "warn"
unused_peekable = "warn"
unused_rounding = "warn"
unused_self = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
useless_let_if_seq = "warn"
verbose_file_reads = "warn"
wildcard_dependencies = "warn"
wildcard_imports = "warn"
zero_sized_map_values = "warn"

[lints.rust]
macro_use_extern_crate = "warn"
non-ascii-idents = "warn"
noop_method_call = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused-lifetimes = "warn"
unused_crate_dependencies = "warn"
unused_import_braces = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"