Skip to content

Commit

Permalink
Update compatible version to 1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Dec 17, 2024
1 parent 404529c commit a400172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub static mut malloc_conf: *const c_char = c"percpu_arena:phycpu,tcache:false,d
pub static mut _rjem_malloc_conf: *const c_char = c"percpu_arena:phycpu,tcache:false,dirty_decay_ms:1000,muzzy_decay_ms:0".as_ptr();

const VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), "-", env!("VERGEN_GIT_SHA"));
pub const CLIENT_VERSION: &str = "1.6.3";
pub const CLIENT_VERSION: &str = "1.6.4";
const MAX_KEY_TIME_DRIFT: RangeInclusive<i64> = -300..=300;

#[derive(Parser)]
Expand Down
2 changes: 1 addition & 1 deletion src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use crate::{
util::{create_http_client, string_to_hash},
};

const API_VERSION: i32 = 169; // For server check capabilities.
const API_VERSION: i32 = 176; // For server check capabilities.
const DEFAULT_SERVER: &str = "rpc.hentaiathome.net";

type RequestError = Box<dyn std::error::Error + Send + Sync>;
Expand Down

0 comments on commit a400172

Please sign in to comment.