mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Merge pull request #1018 from zenador/fix-gated-sqlite-storage-rustls
Fix app build errors when using items gated behind sqlite-storage with rustls
This commit is contained in:
commit
df59ceee24
3 changed files with 4 additions and 3 deletions
|
@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Fix typos in documentation ([PR 953](https://github.com/teloxide/teloxide/pull/953))
|
- Fix typos in documentation ([PR 953](https://github.com/teloxide/teloxide/pull/953))
|
||||||
- Use `Seconds` instead of `String` in `InlineQueryResultAudio` for `audio_duration` ([PR 994](https://github.com/teloxide/teloxide/pull/994))
|
- Use `Seconds` instead of `String` in `InlineQueryResultAudio` for `audio_duration` ([PR 994](https://github.com/teloxide/teloxide/pull/994))
|
||||||
- High CPU usage on network errors ([PR 1002](https://github.com/teloxide/teloxide/pull/1002), [Issue 780](https://github.com/teloxide/teloxide/issues/780))
|
- High CPU usage on network errors ([PR 1002](https://github.com/teloxide/teloxide/pull/1002), [Issue 780](https://github.com/teloxide/teloxide/issues/780))
|
||||||
|
- Fix app build errors when using items gated behind sqlite-storage with the feature sqlite-storage-rustls ([PR 1018](https://github.com/teloxide/teloxide/pull/1018))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
#[cfg(feature = "redis-storage")]
|
#[cfg(feature = "redis-storage")]
|
||||||
pub use self::{RedisStorage, RedisStorageError};
|
pub use self::{RedisStorage, RedisStorageError};
|
||||||
|
|
||||||
#[cfg(feature = "sqlite-storage-nativetls")]
|
#[cfg(any(feature = "sqlite-storage-nativetls", feature = "sqlite-storage-rustls"))]
|
||||||
pub use self::{SqliteStorage, SqliteStorageError};
|
pub use self::{SqliteStorage, SqliteStorageError};
|
||||||
|
|
||||||
pub use get_chat_id::GetChatId;
|
pub use get_chat_id::GetChatId;
|
||||||
|
|
|
@ -6,7 +6,7 @@ mod trace_storage;
|
||||||
#[cfg(feature = "redis-storage")]
|
#[cfg(feature = "redis-storage")]
|
||||||
mod redis_storage;
|
mod redis_storage;
|
||||||
|
|
||||||
#[cfg(feature = "sqlite-storage-nativetls")]
|
#[cfg(any(feature = "sqlite-storage-nativetls", feature = "sqlite-storage-rustls"))]
|
||||||
mod sqlite_storage;
|
mod sqlite_storage;
|
||||||
|
|
||||||
use futures::future::BoxFuture;
|
use futures::future::BoxFuture;
|
||||||
|
@ -22,7 +22,7 @@ pub use redis_storage::{RedisStorage, RedisStorageError};
|
||||||
pub use serializer::Serializer;
|
pub use serializer::Serializer;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
#[cfg(feature = "sqlite-storage-nativetls")]
|
#[cfg(any(feature = "sqlite-storage-nativetls", feature = "sqlite-storage-rustls"))]
|
||||||
pub use sqlite_storage::{SqliteStorage, SqliteStorageError};
|
pub use sqlite_storage::{SqliteStorage, SqliteStorageError};
|
||||||
|
|
||||||
/// A storage with an erased error type.
|
/// A storage with an erased error type.
|
||||||
|
|
Loading…
Reference in a new issue