mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-10 19:10:57 +00:00
Update bitflags, rusqlite dependencies
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
This commit is contained in:
parent
f162239fcc
commit
974b3a5305
17
Cargo.lock
generated
17
Cargo.lock
generated
@ -237,6 +237,9 @@ name = "bitflags"
|
|||||||
version = "2.4.0"
|
version = "2.4.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
|
checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
|
||||||
|
dependencies = [
|
||||||
|
"serde",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "block"
|
name = "block"
|
||||||
@ -1138,9 +1141,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libsqlite3-sys"
|
name = "libsqlite3-sys"
|
||||||
version = "0.25.2"
|
version = "0.26.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa"
|
checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pkg-config",
|
"pkg-config",
|
||||||
"vcpkg",
|
"vcpkg",
|
||||||
@ -1240,7 +1243,7 @@ name = "meli"
|
|||||||
version = "0.7.3"
|
version = "0.7.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-task",
|
"async-task",
|
||||||
"bitflags 1.3.2",
|
"bitflags 2.4.0",
|
||||||
"crossbeam",
|
"crossbeam",
|
||||||
"flate2",
|
"flate2",
|
||||||
"futures",
|
"futures",
|
||||||
@ -1278,7 +1281,7 @@ version = "0.8.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"async-stream",
|
"async-stream",
|
||||||
"base64 0.13.1",
|
"base64 0.13.1",
|
||||||
"bitflags 1.3.2",
|
"bitflags 2.4.0",
|
||||||
"data-encoding",
|
"data-encoding",
|
||||||
"encoding",
|
"encoding",
|
||||||
"encoding_rs",
|
"encoding_rs",
|
||||||
@ -1809,11 +1812,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rusqlite"
|
name = "rusqlite"
|
||||||
version = "0.28.0"
|
version = "0.29.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a"
|
checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 1.3.2",
|
"bitflags 2.4.0",
|
||||||
"fallible-iterator",
|
"fallible-iterator",
|
||||||
"fallible-streaming-iterator",
|
"fallible-streaming-iterator",
|
||||||
"hashlink",
|
"hashlink",
|
||||||
|
@ -29,7 +29,7 @@ required-features = ["melib/imap"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-task = "^4.2.0"
|
async-task = "^4.2.0"
|
||||||
bitflags = "1.0"
|
bitflags = { version = "2.4", features = ["serde"] }
|
||||||
crossbeam = { version = "^0.8" }
|
crossbeam = { version = "^0.8" }
|
||||||
flate2 = { version = "1", optional = true }
|
flate2 = { version = "1", optional = true }
|
||||||
futures = "0.3.5"
|
futures = "0.3.5"
|
||||||
|
@ -755,6 +755,7 @@ bitflags::bitflags! {
|
|||||||
/// // Combination.
|
/// // Combination.
|
||||||
/// let comb = Attr::UNDERLINE | Attr::REVERSE;
|
/// let comb = Attr::UNDERLINE | Attr::REVERSE;
|
||||||
/// ```
|
/// ```
|
||||||
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
pub struct Attr: u8 {
|
pub struct Attr: u8 {
|
||||||
/// Terminal default.
|
/// Terminal default.
|
||||||
const DEFAULT = 0b000_0000;
|
const DEFAULT = 0b000_0000;
|
||||||
|
@ -21,7 +21,7 @@ path = "src/lib.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
async-stream = "^0.3"
|
async-stream = "^0.3"
|
||||||
base64 = { version = "^0.13", optional = true }
|
base64 = { version = "^0.13", optional = true }
|
||||||
bitflags = "1.0"
|
bitflags = { version = "2.4", features = ["serde"] }
|
||||||
data-encoding = { version = "2.1.1" }
|
data-encoding = { version = "2.1.1" }
|
||||||
encoding = { version = "0.2.33", default-features = false }
|
encoding = { version = "0.2.33", default-features = false }
|
||||||
encoding_rs = { version = "^0.8" }
|
encoding_rs = { version = "^0.8" }
|
||||||
@ -42,7 +42,7 @@ nom = { version = "7" }
|
|||||||
notify = { version = "4.0.15", optional = true }
|
notify = { version = "4.0.15", optional = true }
|
||||||
polling = "2.8"
|
polling = "2.8"
|
||||||
regex = { version = "1" }
|
regex = { version = "1" }
|
||||||
rusqlite = { version = "^0.28", default-features = false, optional = true }
|
rusqlite = { version = "^0.29", default-features = false, optional = true }
|
||||||
serde = { version = "1.0", features = ["rc", ] }
|
serde = { version = "1.0", features = ["rc", ] }
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
serde_json = { version = "1.0", features = ["raw_value",] }
|
serde_json = { version = "1.0", features = ["raw_value",] }
|
||||||
|
@ -145,7 +145,7 @@ pub(crate) fn common_attributes() -> MacroOrMessageDataItemNames<'static> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[derive(Default, Serialize, Deserialize)]
|
#[derive(Default, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
|
||||||
pub struct Flag: u8 {
|
pub struct Flag: u8 {
|
||||||
const PASSED = 0b0000_0001;
|
const PASSED = 0b0000_0001;
|
||||||
const REPLIED = 0b0000_0010;
|
const REPLIED = 0b0000_0010;
|
||||||
|
@ -85,6 +85,7 @@ pub enum GpgmeFlag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
|
#[derive(Default, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
pub struct LocateKey: u8 {
|
pub struct LocateKey: u8 {
|
||||||
/// Locate a key using DNS CERT, as specified in RFC-4398.
|
/// Locate a key using DNS CERT, as specified in RFC-4398.
|
||||||
const CERT = 0b1;
|
const CERT = 0b1;
|
||||||
|
@ -48,7 +48,7 @@ use crate::{
|
|||||||
const UNTAGGED_PREFIX: &[u8] = b"* ";
|
const UNTAGGED_PREFIX: &[u8] = b"* ";
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[derive(Default, Serialize, Deserialize)]
|
#[derive(Default, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
pub struct RequiredResponses: u64 {
|
pub struct RequiredResponses: u64 {
|
||||||
const CAPABILITY = 0b0000_0000_0000_0001;
|
const CAPABILITY = 0b0000_0000_0000_0001;
|
||||||
const BYE = 0b0000_0000_0000_0010;
|
const BYE = 0b0000_0000_0000_0010;
|
||||||
@ -66,13 +66,13 @@ bitflags! {
|
|||||||
const SEARCH = 0b0010_0000_0000_0000;
|
const SEARCH = 0b0010_0000_0000_0000;
|
||||||
const FETCH = 0b0100_0000_0000_0000;
|
const FETCH = 0b0100_0000_0000_0000;
|
||||||
const NO_REQUIRED = 0b1000_0000_0000_0000;
|
const NO_REQUIRED = 0b1000_0000_0000_0000;
|
||||||
const CAPABILITY_REQUIRED = Self::CAPABILITY.bits;
|
const CAPABILITY_REQUIRED = Self::CAPABILITY.bits();
|
||||||
const LOGOUT_REQUIRED = Self::BYE.bits;
|
const LOGOUT_REQUIRED = Self::BYE.bits();
|
||||||
const SELECT_REQUIRED = Self::FLAGS.bits | Self::EXISTS.bits | Self::RECENT.bits | Self::UNSEEN.bits | Self::PERMANENTFLAGS.bits | Self::UIDNEXT.bits | Self::UIDVALIDITY.bits;
|
const SELECT_REQUIRED = Self::FLAGS.bits() | Self::EXISTS.bits() | Self::RECENT.bits() | Self::UNSEEN.bits() | Self::PERMANENTFLAGS.bits() | Self::UIDNEXT.bits() | Self::UIDVALIDITY.bits();
|
||||||
const EXAMINE_REQUIRED = Self::FLAGS.bits | Self::EXISTS.bits | Self::RECENT.bits | Self::UNSEEN.bits | Self::PERMANENTFLAGS.bits | Self::UIDNEXT.bits | Self::UIDVALIDITY.bits;
|
const EXAMINE_REQUIRED = Self::FLAGS.bits() | Self::EXISTS.bits() | Self::RECENT.bits() | Self::UNSEEN.bits() | Self::PERMANENTFLAGS.bits() | Self::UIDNEXT.bits() | Self::UIDVALIDITY.bits();
|
||||||
const LIST_REQUIRED = Self::LIST.bits;
|
const LIST_REQUIRED = Self::LIST.bits();
|
||||||
const LSUB_REQUIRED = Self::LSUB.bits;
|
const LSUB_REQUIRED = Self::LSUB.bits();
|
||||||
const FETCH_REQUIRED = Self::FETCH.bits;
|
const FETCH_REQUIRED = Self::FETCH.bits();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user