Skip to content

Commit c9062ec

Browse files
committed
make this into a library
1 parent f033dab commit c9062ec

4 files changed

Lines changed: 10 additions & 152 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "calcs"
2+
name = "measures"
33
version = "0.1.0"
44
edition = "2018"
55

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Measures
22

3-
This project includes a naescent unit-of-measure library I will call _measures_.
3+
A unit-of-measure library, _measures_.
44
This enables you to write type-checked expressions in terms of SI units.
55

66
There is also a representation of Thevenin and Norton equivalent circuits for

src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#![allow(non_upper_case_globals)]
2+
// #![no_std] almost - using println!() from std
3+
4+
mod elec;
5+
mod macros;
6+
mod rcnet;
7+
mod scale;
8+
mod units;

src/main.rs

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)