diff --git a/Cargo.toml b/Cargo.toml index 4bed7d14f..6d0c14476 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,7 @@ full = [ "terminal", "webhook-endpoints", "tax-calculation", + "products", ] stream = [] @@ -58,6 +59,7 @@ sigma = [] terminal = [] webhook-endpoints = [] tax-calculation = [] +products = [] # deserialize events from webhooks webhook-events = ["events", "hmac", "sha2", "chrono", "hex"] diff --git a/src/resources.rs b/src/resources.rs index a4adeca74..42ced2ae0 100644 --- a/src/resources.rs +++ b/src/resources.rs @@ -191,6 +191,15 @@ pub use { }, }; +#[rustfmt::skip] +#[cfg(feature = "products")] +pub use { + products::{ + product_ext::*, + price_ext::*, + } +}; + #[rustfmt::skip] #[cfg(feature = "billing")] pub use {