diff --git a/Cargo.lock b/Cargo.lock index be1270f4fa2..3b68b5004d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2417,7 +2417,6 @@ dependencies = [ "noirc_errors", "regex", "rustc-hash", - "serde", "serde_json", "small-ord-set", "smol_str", diff --git a/crates/noirc_frontend/Cargo.toml b/crates/noirc_frontend/Cargo.toml index 1f902d2d399..c2d6e579c2c 100644 --- a/crates/noirc_frontend/Cargo.toml +++ b/crates/noirc_frontend/Cargo.toml @@ -16,7 +16,6 @@ iter-extended.workspace = true chumsky.workspace = true thiserror.workspace = true smol_str.workspace = true -serde.workspace = true serde_json.workspace = true rustc-hash = "1.1.0" small-ord-set = "0.1.3" diff --git a/crates/noirc_frontend/src/ast/expression.rs b/crates/noirc_frontend/src/ast/expression.rs index b1ef26a7cd8..8b15f6e3b9d 100644 --- a/crates/noirc_frontend/src/ast/expression.rs +++ b/crates/noirc_frontend/src/ast/expression.rs @@ -382,8 +382,7 @@ pub enum FunctionReturnType { /// Describes the types of smart contract functions that are allowed. /// - All Noir programs in the non-contract context can be seen as `Secret`. -#[derive(serde::Serialize, serde::Deserialize, Debug, Copy, Clone, PartialEq, Eq)] -#[serde(rename_all = "snake_case")] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub enum ContractFunctionType { /// This function will be executed in a private /// context.