Added deprecated CurveType export
@@ -7,6 +7,15 @@ mod vector;
pub use hash::Base58CryptoHash;
pub use integers::{I128, I64, U128, U64};
pub use vector::Base64VecU8;
+
+// This deprecated attribute doesn't work for the current rust version (1.52)
+// but will likely work in the future. Also included just to note that it is
+// indeed deprecated and not just a random export.
+#[deprecated(
+ sinec = "4.0.0",
+ note = "This import is deprecated. Best to import directly from near_sdk"
+)]
+pub use crate::types::CurveType;
use crate::types::PublicKey;
#[deprecated(
