# 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.75" name = "fhir-sdk" version = "0.14.1" authors = ["Flix "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "FHIR Software Development Kit. Library for interfacing with FHIR." homepage = "https://github.com/FlixCoder/fhir-sdk" documentation = "https://docs.rs/fhir-sdk" readme = "README.md" keywords = [ "FHIR", "JSON", "types", ] categories = [ "data-structures", "parser-implementations", "web-programming", ] license = "MIT" repository = "https://github.com/FlixCoder/fhir-sdk" [package.metadata.docs.rs] features = [ "r5", "builders", "client", "docs", ] no-default-features = true [lib] name = "fhir_sdk" path = "src/lib.rs" [[test]] name = "client-hapi" path = "tests/client-hapi.rs" [[test]] name = "client-medplum-r4" path = "tests/client-medplum-r4.rs" [dependencies.async-trait] version = "0.1.68" optional = true [dependencies.fhir-model] version = "0.12.0" default-features = false [dependencies.futures] version = "0.3.28" optional = true [dependencies.reqwest] version = "0.12.2" features = ["json"] optional = true [dependencies.serde] version = "1.0.159" [dependencies.serde_json] version = "1.0.95" optional = true [dependencies.thiserror] version = "1.0.40" optional = true [dependencies.tokio] version = "1.27.0" features = ["sync"] optional = true [dependencies.tokio-retry] version = "0.3.0" optional = true [dependencies.tracing] version = "0.1.4" optional = true [dependencies.uuid] version = "1.4.1" features = ["v4"] optional = true [dev-dependencies.anyhow] version = "1.0.70" [dev-dependencies.tokio] version = "1.27.0" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [dev-dependencies.wiremock] version = "0.6.1" [features] builders = ["fhir-model/builders"] client = [ "builders", "dep:async-trait", "dep:futures", "dep:reqwest", "dep:serde_json", "dep:thiserror", "dep:tokio", "dep:tokio-retry", "dep:tracing", "dep:uuid", ] default = [ "r5", "builders", "client", "docs", ] docs = [] r4b = ["fhir-model/r4b"] r5 = ["fhir-model/r5"] stu3 = ["fhir-model/stu3"] [lints.clippy] branches_sharing_code = "warn" cast_lossless = "warn" cast_possible_wrap = "warn" checked_conversions = "warn" cloned_instead_of_copied = "warn" create_dir = "warn" dbg_macro = "warn" default_trait_access = "warn" expect_used = "warn" expl_impl_clone_on_copy = "warn" fallible_impl_from = "warn" filetype_is_file = "warn" filter_map_next = "warn" flat_map_option = "warn" float_cmp = "warn" fn_params_excessive_bools = "warn" fn_to_numeric_cast_any = "warn" future_not_send = "warn" if_then_some_else_none = "warn" implicit_clone = "warn" implicit_hasher = "warn" implicit_saturating_sub = "warn" imprecise_flops = "warn" indexing_slicing = "warn" inefficient_to_string = "warn" items_after_statements = "warn" iter_not_returning_iterator = "warn" large_digit_groups = "warn" large_stack_arrays = "warn" large_types_passed_by_value = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" manual_let_else = "warn" manual_ok_or = "warn" many_single_char_names = "warn" map_unwrap_or = "warn" mem_forget = "warn" missing_const_for_fn = "warn" missing_docs_in_private_items = "warn" must_use_candidate = "warn" mut_mut = "warn" mutex_atomic = "warn" needless_bitwise_bool = "warn" non_send_fields_in_send_ty = "warn" option_option = "warn" path_buf_push_overwrite = "warn" print_stderr = "warn" print_stdout = "warn" ptr_as_ptr = "warn" range_minus_one = "warn" rc_buffer = "warn" rc_mutex = "warn" redundant_closure_for_method_calls = "warn" ref_binding_to_reference = "warn" ref_option_ref = "warn" return_self_not_must_use = "warn" same_functions_in_if_condition = "warn" same_name_method = "warn" str_to_string = "warn" string_to_string = "warn" suboptimal_flops = "warn" suspicious_operation_groupings = "warn" tabs_in_doc_comments = "allow" too_many_lines = "warn" trait_duplication_in_bounds = "warn" trivially_copy_pass_by_ref = "warn" type_repetition_in_bounds = "warn" undocumented_unsafe_blocks = "warn" unnested_or_patterns = "warn" unreadable_literal = "warn" unseparated_literal_suffix = "warn" unused_async = "warn" unused_self = "warn" unwrap_used = "warn" used_underscore_binding = "warn" useless_let_if_seq = "warn" verbose_file_reads = "warn" [lints.rust] dead_code = "warn" missing_debug_implementations = "warn" missing_docs = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unused_extern_crates = "warn"