pub const PROTOCOL_VERSION: u32 = 3;
#[cfg(test)]
pub(crate) const OPERATIONS: &[(&str, &[&str])] = &[
("web", &["web.capabilities"]),
("url", &["url.parse", "url.set"]),
("url-pattern", &["urlpattern.parse", "urlpattern.match"]),
(
"compression",
&[
"compression.open",
"compression.write",
"compression.finish",
"compression.read",
"compression.close",
],
),
(
"crypto",
&[
"crypto.random",
"crypto.digest",
"crypto.generateKey",
"crypto.importKey",
"crypto.exportKey",
"crypto.sign",
"crypto.verify",
"crypto.encrypt",
"crypto.decrypt",
"crypto.deriveBits",
],
),
(
"node-crypto",
&[
"nodeCrypto.hash",
"nodeCrypto.hmac",
"nodeCrypto.pbkdf2",
"nodeCrypto.hkdf",
"nodeCrypto.scrypt",
],
),
];