stripe_types/
lib.rs

1//! This crate provides Rust bindings for core types to the Stripe HTTP API.
2#![warn(clippy::missing_errors_doc, clippy::missing_panics_doc)]
3#![deny(missing_docs, missing_debug_implementations)]
4#![forbid(unsafe_code)]
5
6mod currency;
7mod error;
8mod expandable;
9mod ids;
10mod pagination;
11mod params;
12
13pub use currency::{Currency, ParseCurrencyError};
14pub use error::StripeParseError;
15pub use expandable::*;
16pub use pagination::*;
17pub use params::*;
18pub use serde_helpers::{with_serde_json, with_serde_json_opt};
19
20miniserde::make_place!(Place);
21
22#[doc(hidden)]
23pub mod miniserde_helpers;
24
25#[doc(hidden)]
26pub mod serde_helpers;
27
28// Allow generated code to use absolute paths starting with `stripe_types` instead of `crate`
29extern crate self as stripe_types;