The docs for aws-smithy-runtime say very explicitly to not enable the test-util feature in production.
https://github.com/awslabs/smithy-rs/blob/a42c818b4af8d20b94c53486f952f255ff0e4dff/rust-runtime/aws-smithy-runtime/src/lib.rs#L12
Does this just mean that users shouldn't USE features from that flag in production, or that there should be different feature configurations for this crate in test vs release builds as in rust-lang/cargo#2911 (comment)?
Also, why shouldn't it be used in production? I could imagine something like the upcoming live-capture functionality being potentialy useful during runtime. Does the test-util feature have any security implications?
The docs for
aws-smithy-runtimesay very explicitly to not enable thetest-utilfeature in production.https://github.com/awslabs/smithy-rs/blob/a42c818b4af8d20b94c53486f952f255ff0e4dff/rust-runtime/aws-smithy-runtime/src/lib.rs#L12
Does this just mean that users shouldn't USE features from that flag in production, or that there should be different feature configurations for this crate in test vs release builds as in rust-lang/cargo#2911 (comment)?
Also, why shouldn't it be used in production? I could imagine something like the upcoming live-capture functionality being potentialy useful during runtime. Does the
test-utilfeature have any security implications?