Skip to content

Commit d0536ba

Browse files
feat: add comprehensive volume conversion module (#1011)
1 parent c6ab1f0 commit d0536ba

File tree

3 files changed

+511
-0
lines changed

3 files changed

+511
-0
lines changed

DIRECTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
* [Speed](https://github.com/TheAlgorithms/Rust/blob/master/src/conversions/speed.rs)
9494
* [Time Units](https://github.com/TheAlgorithms/Rust/blob/master/src/conversions/time_units.rs)
9595
* [Temperature](https://github.com/TheAlgorithms/Rust/blob/master/src/conversions/temperature.rs)
96+
* [Volume](https://github.com/TheAlgorithms/Rust/blob/master/src/conversions/volume.rs)
9697
* [Weight](https://github.com/TheAlgorithms/Rust/blob/master/src/conversions/weight.rs)
9798
* Data Structures
9899
* [AVL Tree](https://github.com/TheAlgorithms/Rust/blob/master/src/data_structures/avl_tree.rs)

src/conversions/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ mod roman_numerals;
2121
mod speed;
2222
mod temperature;
2323
mod time_units;
24+
mod volume;
2425
mod weight;
2526

2627
pub use self::binary_to_decimal::binary_to_decimal;
@@ -48,4 +49,5 @@ pub use self::roman_numerals::{int_to_roman, roman_to_int};
4849
pub use self::speed::{convert_speed, SpeedUnit};
4950
pub use self::temperature::{convert_temperature, TemperatureUnit};
5051
pub use self::time_units::convert_time;
52+
pub use self::volume::{convert_volume, VolumeUnit};
5153
pub use self::weight::{convert_weight, WeightUnit};

0 commit comments

Comments
 (0)