Add lib entry

This commit is contained in:
Austen Adler 2023-03-19 12:20:27 -04:00
parent 0b56093e83
commit 0e72baa72c
4 changed files with 14 additions and 21 deletions

View File

@ -1,11 +1,8 @@
use super::{Entry, Number, Vector, VectorDirection}; use super::{Entry, Number, Vector, VectorDirection};
use crate::{ use crate::calc::{
calc::{ entries::CalculatorEntry,
errors::{CalculatorError, CalculatorResult}, errors::{CalculatorError, CalculatorResult},
types::CalculatorAngleMode, types::{CalculatorAngleMode, CalculatorDisplayMode},
CalculatorDisplayMode,
},
CalculatorEntry,
}; };
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::fmt; use std::fmt;

View File

@ -1,11 +1,8 @@
use super::{Entry, Matrix, Vector}; use super::{Entry, Matrix, Vector};
use crate::{ use crate::calc::{
calc::{ entries::CalculatorEntry,
errors::{CalculatorError, CalculatorResult}, errors::{CalculatorError, CalculatorResult},
types::CalculatorAngleMode, types::{CalculatorAngleMode, CalculatorDisplayMode},
CalculatorDisplayMode,
},
CalculatorEntry,
}; };
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::fmt; use std::fmt;

View File

@ -1,11 +1,8 @@
use super::{Entry, Matrix, Number}; use super::{Entry, Matrix, Number};
use crate::{ use crate::calc::{
calc::{ entries::CalculatorEntry,
errors::{CalculatorError, CalculatorResult}, errors::{CalculatorError, CalculatorResult},
types::CalculatorAngleMode, types::{CalculatorAngleMode, CalculatorDisplayMode},
CalculatorDisplayMode,
},
CalculatorEntry,
}; };
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::fmt; use std::fmt;

2
src/lib.rs Normal file
View File

@ -0,0 +1,2 @@
pub mod calc;
pub mod event;