Skip to content

Commit

Permalink
fix: add products to features list in cargo.toml and export from reso…
Browse files Browse the repository at this point in the history
…urses
  • Loading branch information
addacub authored and arlyon committed Feb 27, 2024
1 parent c521251 commit d26860f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ full = [
"terminal",
"webhook-endpoints",
"tax-calculation",
"products",
]

stream = []
Expand All @@ -58,6 +59,7 @@ sigma = []
terminal = []
webhook-endpoints = []
tax-calculation = []
products = []

# deserialize events from webhooks
webhook-events = ["events", "hmac", "sha2", "chrono", "hex"]
Expand Down
9 changes: 9 additions & 0 deletions src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d26860f

Please sign in to comment.