const_units's People
Forkers
lechevspaceconst_units's Issues
Constify Ratio<T>
Maybe this should be the RatioConst type already implemented, where PartialEq and Eq can be derived (needed for it to be a const param), because all functions defined on the Ratio immediately reduce it?
Consider moving this to an own crate. (seems very useful in general)
Reimplement Generic Units
- add the feature
- replace constants with this
Add the feature
pub type MilliMeter: Unit<StorageDt> = Unit<StroageDt, UName::Meter, Prefix::from(PName::Milli), {Quantity{name: QName::Length, dimensions: SystemDim::SiExtended(SiExtended{ l: 1, ..SiExtended::None})}}>;
Note bound StorageDt: QuantitiyDataTraits
is not enforced
Replace constants with this
pub const millimeter_u16 = MilliMeter<u16>::new();
add constants
`cvec` is defined as local path dependency
Hey,
I've been following the uom issue for the const generics UoM implementation and I'm really happy to finally take a look at your WIP crate!
I just tried to build the docs but the cvec
dependency is defined with path
.
Are there any significant changes to cvec
and can we fix this dependency?
Thank you very much for working on this!
add CI
following things should be added:
- Building
- clippy
- fmt
- book
- msrv (Minimum supported Rust Version)
- auditing maybe using this
- unused dependencies maybe using this
- update dependencies maybe using this or that. Determine Difference!!
- releases to crates.io maybe using this
Documentation (in Code as well as in the README.md)
Document the following things:
- structure of the output code
- structure of the input data
- code architecture (responsibilities of crates and modules)
- anticipated features
implement conversion
- design concept
- pseudo-code and architectural drawings
- implementation (awaiting const trait impls)
add units from uom
declutter parsing.rs
move the different parsing functionalities into different modules
Constify num-traits
implement displaying of Units
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.