diff --git a/Cargo.toml b/Cargo.toml index 4447373..beaf587 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,4 +5,12 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] + +# Make `StackString` a `Copy` type +# +# This can be useful for small values of `SIZE`, but it will cause a lot of unneeded and redundant copying of large values of `SIZE`. +# Therefore, it is avdised to only be enabled if using only small `StackString`s. +copy = [] + [dependencies]