# 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 = "blockchyp" version = "2.20.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "This is the SDK for Rust. Like all BlockChyp SDKs, it provides a full client for the BlockChyp gateway and BlockChyp payment terminals." documentation = "https://docs.blockchyp.com/#overview" readme = "README.md" keywords = [ "payments", "blockchain", ] license-file = "LICENSE" repository = "https://github.com/blockchyp/blockchyp-rust" [lib] name = "blockchyp" path = "src/lib.rs" [[example]] name = "activate_terminal_example" path = "examples/activate_terminal_example.rs" [[example]] name = "add_gateway_merchant_example" path = "examples/add_gateway_merchant_example.rs" [[example]] name = "add_test_merchant_example" path = "examples/add_test_merchant_example.rs" [[example]] name = "balance_example" path = "examples/balance_example.rs" [[example]] name = "batch_details_example" path = "examples/batch_details_example.rs" [[example]] name = "batch_history_example" path = "examples/batch_history_example.rs" [[example]] name = "boolean_prompt_example" path = "examples/boolean_prompt_example.rs" [[example]] name = "cancel_payment_link_example" path = "examples/cancel_payment_link_example.rs" [[example]] name = "capture_example" path = "examples/capture_example.rs" [[example]] name = "capture_signature_example" path = "examples/capture_signature_example.rs" [[example]] name = "card_metadata_example" path = "examples/card_metadata_example.rs" [[example]] name = "cash_discount_example" path = "examples/cash_discount_example.rs" [[example]] name = "charge_example" path = "examples/charge_example.rs" [[example]] name = "clear_example" path = "examples/clear_example.rs" [[example]] name = "close_batch_example" path = "examples/close_batch_example.rs" [[example]] name = "customer_example" path = "examples/customer_example.rs" [[example]] name = "customer_search_example" path = "examples/customer_search_example.rs" [[example]] name = "deactivate_terminal_example" path = "examples/deactivate_terminal_example.rs" [[example]] name = "delete_branding_asset_example" path = "examples/delete_branding_asset_example.rs" [[example]] name = "delete_customer_example" path = "examples/delete_customer_example.rs" [[example]] name = "delete_media_asset_example" path = "examples/delete_media_asset_example.rs" [[example]] name = "delete_merchant_platforms_example" path = "examples/delete_merchant_platforms_example.rs" [[example]] name = "delete_queued_transaction_example" path = "examples/delete_queued_transaction_example.rs" [[example]] name = "delete_slide_show_example" path = "examples/delete_slide_show_example.rs" [[example]] name = "delete_survey_question_example" path = "examples/delete_survey_question_example.rs" [[example]] name = "delete_test_merchant_example" path = "examples/delete_test_merchant_example.rs" [[example]] name = "delete_token_example" path = "examples/delete_token_example.rs" [[example]] name = "enroll_example" path = "examples/enroll_example.rs" [[example]] name = "get_merchants_example" path = "examples/get_merchants_example.rs" [[example]] name = "gift_activate_example" path = "examples/gift_activate_example.rs" [[example]] name = "invite_merchant_user_example" path = "examples/invite_merchant_user_example.rs" [[example]] name = "link_token_example" path = "examples/link_token_example.rs" [[example]] name = "list_queued_transactions_example" path = "examples/list_queued_transactions_example.rs" [[example]] name = "locate_example" path = "examples/locate_example.rs" [[example]] name = "media_asset_example" path = "examples/media_asset_example.rs" [[example]] name = "media_example" path = "examples/media_example.rs" [[example]] name = "merchant_credential_generation_example" path = "examples/merchant_credential_generation_example.rs" [[example]] name = "merchant_invoice_detail_example" path = "examples/merchant_invoice_detail_example.rs" [[example]] name = "merchant_invoices_example" path = "examples/merchant_invoices_example.rs" [[example]] name = "merchant_platforms_example" path = "examples/merchant_platforms_example.rs" [[example]] name = "merchant_profile_example" path = "examples/merchant_profile_example.rs" [[example]] name = "merchant_users_example" path = "examples/merchant_users_example.rs" [[example]] name = "message_example" path = "examples/message_example.rs" [[example]] name = "new_transaction_display_example" path = "examples/new_transaction_display_example.rs" [[example]] name = "partner_commission_breakdown_example" path = "examples/partner_commission_breakdown_example.rs" [[example]] name = "partner_statement_detail_example" path = "examples/partner_statement_detail_example.rs" [[example]] name = "partner_statements_example" path = "examples/partner_statements_example.rs" [[example]] name = "payment_link_status_example" path = "examples/payment_link_status_example.rs" [[example]] name = "ping_example" path = "examples/ping_example.rs" [[example]] name = "preauth_example" path = "examples/preauth_example.rs" [[example]] name = "pricing_policy_example" path = "examples/pricing_policy_example.rs" [[example]] name = "reboot_example" path = "examples/reboot_example.rs" [[example]] name = "refund_example" path = "examples/refund_example.rs" [[example]] name = "resend_payment_link_example" path = "examples/resend_payment_link_example.rs" [[example]] name = "reverse_example" path = "examples/reverse_example.rs" [[example]] name = "send_payment_link_example" path = "examples/send_payment_link_example.rs" [[example]] name = "slide_show_example" path = "examples/slide_show_example.rs" [[example]] name = "slide_shows_example" path = "examples/slide_shows_example.rs" [[example]] name = "submit_application_example" path = "examples/submit_application_example.rs" [[example]] name = "survey_question_example" path = "examples/survey_question_example.rs" [[example]] name = "survey_questions_example" path = "examples/survey_questions_example.rs" [[example]] name = "survey_results_example" path = "examples/survey_results_example.rs" [[example]] name = "tc_delete_template_example" path = "examples/tc_delete_template_example.rs" [[example]] name = "tc_entry_example" path = "examples/tc_entry_example.rs" [[example]] name = "tc_log_example" path = "examples/tc_log_example.rs" [[example]] name = "tc_template_example" path = "examples/tc_template_example.rs" [[example]] name = "tc_templates_example" path = "examples/tc_templates_example.rs" [[example]] name = "tc_update_template_example" path = "examples/tc_update_template_example.rs" [[example]] name = "terminal_branding_example" path = "examples/terminal_branding_example.rs" [[example]] name = "terminal_status_example" path = "examples/terminal_status_example.rs" [[example]] name = "terminals_example" path = "examples/terminals_example.rs" [[example]] name = "terms_and_conditions_example" path = "examples/terms_and_conditions_example.rs" [[example]] name = "text_prompt_example" path = "examples/text_prompt_example.rs" [[example]] name = "token_metadata_example" path = "examples/token_metadata_example.rs" [[example]] name = "transaction_history_example" path = "examples/transaction_history_example.rs" [[example]] name = "transaction_status_example" path = "examples/transaction_status_example.rs" [[example]] name = "unlink_token_example" path = "examples/unlink_token_example.rs" [[example]] name = "update_branding_asset_example" path = "examples/update_branding_asset_example.rs" [[example]] name = "update_customer_example" path = "examples/update_customer_example.rs" [[example]] name = "update_merchant_example" path = "examples/update_merchant_example.rs" [[example]] name = "update_merchant_platforms_example" path = "examples/update_merchant_platforms_example.rs" [[example]] name = "update_slide_show_example" path = "examples/update_slide_show_example.rs" [[example]] name = "update_survey_question_example" path = "examples/update_survey_question_example.rs" [[example]] name = "update_transaction_display_example" path = "examples/update_transaction_display_example.rs" [[example]] name = "upload_media_example" path = "examples/upload_media_example.rs" [[example]] name = "upload_status_example" path = "examples/upload_status_example.rs" [[example]] name = "void_example" path = "examples/void_example.rs" [[test]] name = "activate_terminal_tests" path = "tests/activate_terminal_tests.rs" [[test]] name = "add_gateway_merchant_tests" path = "tests/add_gateway_merchant_tests.rs" [[test]] name = "add_test_merchant_tests" path = "tests/add_test_merchant_tests.rs" [[test]] name = "batch_history_tests" path = "tests/batch_history_tests.rs" [[test]] name = "boolean_prompt_tests" path = "tests/boolean_prompt_tests.rs" [[test]] name = "cancel_payment_link_tests" path = "tests/cancel_payment_link_tests.rs" [[test]] name = "capture_signature_tests" path = "tests/capture_signature_tests.rs" [[test]] name = "deactivate_terminal_tests" path = "tests/deactivate_terminal_tests.rs" [[test]] name = "delete_branding_asset_tests" path = "tests/delete_branding_asset_tests.rs" [[test]] name = "delete_customer_tests" path = "tests/delete_customer_tests.rs" [[test]] name = "delete_media_asset_tests" path = "tests/delete_media_asset_tests.rs" [[test]] name = "delete_queued_transaction_tests" path = "tests/delete_queued_transaction_tests.rs" [[test]] name = "delete_slide_show_tests" path = "tests/delete_slide_show_tests.rs" [[test]] name = "delete_survey_question_tests" path = "tests/delete_survey_question_tests.rs" [[test]] name = "delete_test_merchant_tests" path = "tests/delete_test_merchant_tests.rs" [[test]] name = "delete_token_tests" path = "tests/delete_token_tests.rs" [[test]] name = "empty_branding_asset_tests" path = "tests/empty_branding_asset_tests.rs" [[test]] name = "empty_slide_show_tests" path = "tests/empty_slide_show_tests.rs" [[test]] name = "gateway_timeout_tests" path = "tests/gateway_timeout_tests.rs" [[test]] name = "get_customer_tests" path = "tests/get_customer_tests.rs" [[test]] name = "get_merchants_tests" path = "tests/get_merchants_tests.rs" [[test]] name = "invite_merchant_user_tests" path = "tests/invite_merchant_user_tests.rs" [[test]] name = "link_token_tests" path = "tests/link_token_tests.rs" [[test]] name = "list_queued_transactions_tests" path = "tests/list_queued_transactions_tests.rs" [[test]] name = "list_terminals_tests" path = "tests/list_terminals_tests.rs" [[test]] name = "media_asset_tests" path = "tests/media_asset_tests.rs" [[test]] name = "media_tests" path = "tests/media_tests.rs" [[test]] name = "media_upload_tests" path = "tests/media_upload_tests.rs" [[test]] name = "merchant_credential_generation_tests" path = "tests/merchant_credential_generation_tests.rs" [[test]] name = "merchant_invoice_detail_tests" path = "tests/merchant_invoice_detail_tests.rs" [[test]] name = "merchant_invoices_tests" path = "tests/merchant_invoices_tests.rs" [[test]] name = "merchant_platforms_tests" path = "tests/merchant_platforms_tests.rs" [[test]] name = "merchant_profile_tests" path = "tests/merchant_profile_tests.rs" [[test]] name = "merchant_users_tests" path = "tests/merchant_users_tests.rs" [[test]] name = "new_transaction_display_tests" path = "tests/new_transaction_display_tests.rs" [[test]] name = "pan_charge_tests" path = "tests/pan_charge_tests.rs" [[test]] name = "pan_enroll_tests" path = "tests/pan_enroll_tests.rs" [[test]] name = "pan_preauth_tests" path = "tests/pan_preauth_tests.rs" [[test]] name = "partial_refund_tests" path = "tests/partial_refund_tests.rs" [[test]] name = "partner_commission_breakdown_tests" path = "tests/partner_commission_breakdown_tests.rs" [[test]] name = "partner_statement_detail_tests" path = "tests/partner_statement_detail_tests.rs" [[test]] name = "partner_statements_tests" path = "tests/partner_statements_tests.rs" [[test]] name = "payment_link_status_tests" path = "tests/payment_link_status_tests.rs" [[test]] name = "pricing_policy_tests" path = "tests/pricing_policy_tests.rs" [[test]] name = "resend_payment_link_tests" path = "tests/resend_payment_link_tests.rs" [[test]] name = "search_customer_tests" path = "tests/search_customer_tests.rs" [[test]] name = "send_payment_link_tests" path = "tests/send_payment_link_tests.rs" [[test]] name = "simple_batch_close_tests" path = "tests/simple_batch_close_tests.rs" [[test]] name = "simple_capture_tests" path = "tests/simple_capture_tests.rs" [[test]] name = "simple_gift_activate_tests" path = "tests/simple_gift_activate_tests.rs" [[test]] name = "simple_locate_tests" path = "tests/simple_locate_tests.rs" [[test]] name = "simple_message_tests" path = "tests/simple_message_tests.rs" [[test]] name = "simple_ping_tests" path = "tests/simple_ping_tests.rs" [[test]] name = "simple_refund_tests" path = "tests/simple_refund_tests.rs" [[test]] name = "simple_reversal_tests" path = "tests/simple_reversal_tests.rs" [[test]] name = "simple_void_tests" path = "tests/simple_void_tests.rs" [[test]] name = "slide_show_tests" path = "tests/slide_show_tests.rs" [[test]] name = "slide_shows_tests" path = "tests/slide_shows_tests.rs" [[test]] name = "submit_application_tests" path = "tests/submit_application_tests.rs" [[test]] name = "survey_question_tests" path = "tests/survey_question_tests.rs" [[test]] name = "survey_questions_tests" path = "tests/survey_questions_tests.rs" [[test]] name = "survey_results_tests" path = "tests/survey_results_tests.rs" [[test]] name = "tc_delete_template_tests" path = "tests/tc_delete_template_tests.rs" [[test]] name = "tc_entry_tests" path = "tests/tc_entry_tests.rs" [[test]] name = "tc_log_tests" path = "tests/tc_log_tests.rs" [[test]] name = "tc_template_tests" path = "tests/tc_template_tests.rs" [[test]] name = "tc_template_update_tests" path = "tests/tc_template_update_tests.rs" [[test]] name = "tc_templates_tests" path = "tests/tc_templates_tests.rs" [[test]] name = "terminal_branding_tests" path = "tests/terminal_branding_tests.rs" [[test]] name = "terminal_charge_tests" path = "tests/terminal_charge_tests.rs" [[test]] name = "terminal_clear_tests" path = "tests/terminal_clear_tests.rs" [[test]] name = "terminal_ebt_balance_tests" path = "tests/terminal_ebt_balance_tests.rs" [[test]] name = "terminal_ebt_charge_tests" path = "tests/terminal_ebt_charge_tests.rs" [[test]] name = "terminal_enroll_tests" path = "tests/terminal_enroll_tests.rs" [[test]] name = "terminal_gift_card_balance_tests" path = "tests/terminal_gift_card_balance_tests.rs" [[test]] name = "terminal_keyed_charge_tests" path = "tests/terminal_keyed_charge_tests.rs" [[test]] name = "terminal_manual_ebt_charge_tests" path = "tests/terminal_manual_ebt_charge_tests.rs" [[test]] name = "terminal_preauth_tests" path = "tests/terminal_preauth_tests.rs" [[test]] name = "terminal_queued_transaction_tests" path = "tests/terminal_queued_transaction_tests.rs" [[test]] name = "terminal_status_tests" path = "tests/terminal_status_tests.rs" [[test]] name = "terminal_timeout_tests" path = "tests/terminal_timeout_tests.rs" [[test]] name = "terms_and_conditions_tests" path = "tests/terms_and_conditions_tests.rs" [[test]] name = "test_utils" path = "tests/test_utils.rs" [[test]] name = "text_prompt_tests" path = "tests/text_prompt_tests.rs" [[test]] name = "token_metadata_tests" path = "tests/token_metadata_tests.rs" [[test]] name = "transaction_history_tests" path = "tests/transaction_history_tests.rs" [[test]] name = "unlink_token_tests" path = "tests/unlink_token_tests.rs" [[test]] name = "update_branding_asset_tests" path = "tests/update_branding_asset_tests.rs" [[test]] name = "update_customer_tests" path = "tests/update_customer_tests.rs" [[test]] name = "update_merchant_platforms_tests" path = "tests/update_merchant_platforms_tests.rs" [[test]] name = "update_merchant_tests" path = "tests/update_merchant_tests.rs" [[test]] name = "update_slide_show_tests" path = "tests/update_slide_show_tests.rs" [[test]] name = "update_survey_question_tests" path = "tests/update_survey_question_tests.rs" [[test]] name = "update_transaction_display_tests" path = "tests/update_transaction_display_tests.rs" [[test]] name = "upload_status_tests" path = "tests/upload_status_tests.rs" [dependencies.aes] version = "0.8.4" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.form_urlencoded] version = "1.0" [dependencies.hex] version = "0.4" [dependencies.hmac] version = "0.12" [dependencies.rand] version = "0.8.4" [dependencies.reqwest] version = "0.11" features = [ "blocking", "json", "rustls-tls", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "1.0" [dependencies.uuid] version = "1.8" features = ["v4"] [dev-dependencies.assert-json-diff] version = "1.0"