use once_cell::sync::Lazy;
#[cfg(not(target_arch = "wasm32"))]
#[allow(dead_code)]
pub const MAX_CONCURRENT_TASKS: usize = 64;
pub static MAX_COMPUTATION_DEPTH: Lazy<u8> = Lazy::new(|| {
option_env!("SURREAL_MAX_COMPUTATION_DEPTH").and_then(|s| s.parse::<u8>().ok()).unwrap_or(120)
});
pub const PROTECTED_PARAM_NAMES: &[&str] = &["auth", "scope", "token", "session"];
pub const ID_CHARS: [char; 36] = [
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
];
pub const SERVER_NAME: &str = "SurrealDB";
pub const PROCESSOR_BATCH_SIZE: u32 = 50;
pub static INSECURE_FORWARD_SCOPE_ERRORS: Lazy<bool> = Lazy::new(|| {
option_env!("SURREAL_INSECURE_FORWARD_SCOPE_ERRORS")
.and_then(|s| s.parse::<bool>().ok())
.unwrap_or(false)
});