Skip to content

Commit

Permalink
Remove some reexports
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubarov committed Jan 24, 2024
1 parent 9018f01 commit deccf90
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions basic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ use valida_cpu::{
use valida_cpu::{CpuChip, MachineWithCpuChip};
use valida_derive::Machine;
use valida_machine::{
AbstractExtensionField, AbstractField, AdviceProvider, BusArgument, Chip, ChipProof,
ExtensionField, Instruction, Machine, MachineProof, PrimeField64, ProgramROM, ValidaAirBuilder,
AdviceProvider, BusArgument, Chip, ChipProof, Instruction, Machine, MachineProof, ProgramROM,
ValidaAirBuilder,
};
use valida_memory::{MachineWithMemoryChip, MemoryChip};
use valida_output::{MachineWithOutputChip, OutputChip, WriteInstruction};
Expand Down
1 change: 1 addition & 0 deletions derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ fn prove_method(chips: &[&Field]) -> TokenStream2 {
{
use ::valida_machine::__internal::*;
use ::valida_machine::__internal::p3_air::{BaseAir};
use ::valida_machine::__internal::p3_field::{AbstractField};
use ::valida_machine::__internal::p3_challenger::{CanObserve, FieldChallenger};
use ::valida_machine::__internal::p3_commit::{Pcs, UnivariatePcs, UnivariatePcsWithLde};
use ::valida_machine::__internal::p3_matrix::{Matrix, dense::RowMajorMatrix};
Expand Down
1 change: 1 addition & 0 deletions machine/src/__internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ pub use crate::symbolic::symbolic_builder::*;
pub use p3_air;
pub use p3_challenger;
pub use p3_commit;
pub use p3_field;
pub use p3_matrix;
pub use p3_util;
3 changes: 2 additions & 1 deletion machine/src/core.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use super::{Field, PrimeField, MEMORY_CELL_BYTES};
use super::MEMORY_CELL_BYTES;
use core::cmp::Ordering;
use core::ops::{Add, BitAnd, BitOr, BitXor, Div, Index, IndexMut, Mul, Shl, Shr, Sub};
use p3_field::{Field, PrimeField};

// Currently stored in big-endian form.
#[derive(Copy, Clone, Debug, Default)]
Expand Down
6 changes: 0 additions & 6 deletions machine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
extern crate alloc;
extern crate self as valida_machine;

pub use crate::core::Word;
pub use chip::{BusArgument, Chip, Interaction, InteractionType, ValidaAirBuilder};
pub use p3_field::{
AbstractExtensionField, AbstractField, ExtensionField, Field, PrimeField, PrimeField64,
};

pub mod __internal;
mod advice;
mod check_constraints;
Expand Down

0 comments on commit deccf90

Please sign in to comment.