If you check the documentation of bigdecimal, there's a serde feature flag. This is conventional.
As for chrono, there's no such feature flag. You have to decide how you want to serialize the duration (e.g. convert it to a string in ISO-8601 format), and then you can write a function to use with the #[serde(with = …)] attribute.