mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 19:22:01 +03:00
remove old sub and arithmetic gadget files
This commit is contained in:
parent
522e3b6ea6
commit
e7745bad80
@ -1,18 +0,0 @@
|
|||||||
// Copyright (C) 2019-2021 Aleo Systems Inc.
|
|
||||||
// This file is part of the Leo library.
|
|
||||||
|
|
||||||
// The Leo library is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License as published by
|
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// (at your option) any later version.
|
|
||||||
|
|
||||||
// The Leo library is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
|
|
||||||
// You should have received a copy of the GNU General Public License
|
|
||||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// pub mod sub;
|
|
||||||
// pub use self::sub::*;
|
|
@ -1,28 +0,0 @@
|
|||||||
// // Copyright (C) 2019-2021 Aleo Systems Inc.
|
|
||||||
// // This file is part of the Leo library.
|
|
||||||
//
|
|
||||||
// // The Leo library is free software: you can redistribute it and/or modify
|
|
||||||
// // it under the terms of the GNU General Public License as published by
|
|
||||||
// // the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// // (at your option) any later version.
|
|
||||||
//
|
|
||||||
// // The Leo library is distributed in the hope that it will be useful,
|
|
||||||
// // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// // GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// // You should have received a copy of the GNU General Public License
|
|
||||||
// // along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// use snarkvm_fields::Field;
|
|
||||||
// use snarkvm_r1cs::ConstraintSystem;
|
|
||||||
//
|
|
||||||
// /// Returns subtraction of `self` - `other` in the constraint system.
|
|
||||||
// pub trait Sub<F: Field, Rhs = Self>
|
|
||||||
// where
|
|
||||||
// Self: std::marker::Sized,
|
|
||||||
// {
|
|
||||||
// type ErrorType;
|
|
||||||
//
|
|
||||||
// fn sub<CS: ConstraintSystem<F>>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType>;
|
|
||||||
// }
|
|
@ -17,8 +17,6 @@
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate thiserror;
|
extern crate thiserror;
|
||||||
|
|
||||||
// pub mod arithmetic;
|
|
||||||
|
|
||||||
pub mod bits;
|
pub mod bits;
|
||||||
|
|
||||||
pub mod errors;
|
pub mod errors;
|
||||||
|
Loading…
Reference in New Issue
Block a user