From 2cc85e663775c97c9ab42c4c9e2ae6121f1c65d6 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 23 Feb 2023 14:48:25 +0000 Subject: [PATCH] Hide some constants from public crate interface --- src/constants.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants.rs b/src/constants.rs index 4c19abba6..9af48cc0b 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -190,11 +190,11 @@ pub const DC_LP_AUTH_NORMAL: i32 = 0x4; pub const DC_LP_AUTH_FLAGS: i32 = DC_LP_AUTH_OAUTH2 | DC_LP_AUTH_NORMAL; /// How many existing messages shall be fetched after configuration. -pub const DC_FETCH_EXISTING_MSGS_COUNT: i64 = 100; +pub(crate) const DC_FETCH_EXISTING_MSGS_COUNT: i64 = 100; // max. width/height of an avatar -pub const BALANCED_AVATAR_SIZE: u32 = 256; -pub const WORSE_AVATAR_SIZE: u32 = 128; +pub(crate) const BALANCED_AVATAR_SIZE: u32 = 256; +pub(crate) const WORSE_AVATAR_SIZE: u32 = 128; // max. width/height of images pub const BALANCED_IMAGE_SIZE: u32 = 1280;