# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "runtime_units" version = "0.3.0" authors = ["Matt Jackson "] description = "A run-time Rust library for working with units of measurement and conversions between them." readme = "README.md" keywords = [ "units", "measurement", "SI", "dimensional-analysis", ] license = "MIT" repository = "https://github.com/mattrjackson/runtime_units_rs" [profile.test] opt-level = 3 debug = 2 [dependencies.bitfield-struct] version = "0.6.0" [dependencies.paste] version = "1.0.14" [dependencies.serde] version = "1.0.197" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.114" optional = true [dependencies.utoipa] version = "4.2.0" features = [ "axum_extras", "uuid", "chrono", "url", "time", "openapi_extensions", ] optional = true [features] Absement = [ "Length", "Time", ] AbsorbedDose = [ "Length", "Time", ] Acceleration = [ "Length", "Time", ] Action = ["Energy"] All = [ "Absement", "AbsorbedDose", "Acceleration", "Action", "AmountOfSubstance", "Angle", "AngularAcceleration", "AngularJerk", "AngularVelocity", "ArealDensityOfStates", "ArealMassDensity", "ArealNumberDensity", "ArealNumberRate", "Area", "AvailableEnergy", "Capacitance", "CatalyticActivityConcentration", "CatalyticActivity", "Curvature", "DiffusionCoefficient", "DoseEquivalent", "DynamicViscosity", "ElectricalConductance", "ElectricalConductivity", "ElectricalMobility", "ElectricalResistance", "ElectricalResistivity", "ElectricChargeArealDensity", "ElectricChargeLinearDensity", "ElectricCharge", "ElectricChargeVolumetricDensity", "ElectricCurrentDensity", "ElectricCurrent", "ElectricDipoleMoment", "ElectricDisplacementField", "ElectricField", "ElectricFlux", "ElectricPermittivity", "ElectricPotential", "ElectricQuadrupoleMoment", "Energy", "Force", "FrequencyDrift", "Frequency", "HeatCapacity", "HeatFluxDensity", "HeatTransfer", "Inductance", "InformationRate", "Information", "Jerk", "Length", "LinearDensityOfStates", "LinearMassDensity", "LinearNumberDensity", "LinearNumberRate", "LinearPowerDensity", "Luminance", "LuminousIntensity", "MagneticFieldStrength", "MagneticFluxDensity", "MagneticFlux", "MagneticMoment", "MagneticPermeability", "MassConcentration", "MassDensity", "MassFlux", "MassRate", "Mass", "Molality", "MolarConcentration", "MolarEnergy", "MolarFlux", "MolarHeatCapacity", "MolarMass", "MolarRadioactivity", "MolarVolume", "MomentOfInertia", "Momentum", "Power", "PressureImpulse", "Pressure", "RadiantExposure", "Radioactivity", "Ratio", "ReciprocalLength", "SolidAngle", "SpecificArea", "SpecificHeatCapacity", "SpecificRadioactivity", "SpecificVolume", "SurfaceElectricCurrentDensity", "TemperatureCoefficient", "TemperatureGradient", "TemperatureInterval", "ThermalConductivity", "ThermodynamicTemperature", "Time", "Torque", "Velocity", "VolumeRate", "Volume", "VolumetricDensityOfStates", "VolumetricHeatCapacity", "VolumetricNumberDensity", "VolumetricNumberRate", "VolumetricPowerDensity", ] AmountOfSubstance = [] Angle = [] AngularAcceleration = [ "Angle", "Time", ] AngularJerk = [ "Angle", "Time", ] AngularVelocity = [ "Angle", "Time", ] Area = ["Length"] ArealDensityOfStates = [ "Mass", "Energy", "Length", "Time", ] ArealMassDensity = [ "Mass", "Length", ] ArealNumberDensity = [ "Length", "Area", ] ArealNumberRate = [ "Length", "Area", "Time", ] AvailableEnergy = [ "Length", "Time", "Energy", "Mass", ] Capacitance = [ "Length", "Mass", "ElectricCurrent", "ElectricPotential", "Time", ] CatalyticActivity = [ "AmountOfSubstance", "Time", ] CatalyticActivityConcentration = [ "AmountOfSubstance", "Time", "Length", "Volume", "CatalyticActivity", ] Curvature = [ "Angle", "Length", ] DiffusionCoefficient = [ "Length", "Time", "Area", ] DoseEquivalent = [] DynamicViscosity = [ "Pressure", "Time", ] ElectricCharge = [ "ElectricCurrent", "Time", ] ElectricChargeArealDensity = [ "ElectricCharge", "Area", "Length", "ElectricCurrent", ] ElectricChargeLinearDensity = [ "ElectricCharge", "Length", "ElectricCurrent", ] ElectricChargeVolumetricDensity = [ "ElectricCharge", "Volume", "Length", "ElectricCurrent", ] ElectricCurrent = [] ElectricCurrentDensity = [ "Area", "Length", "ElectricCurrent", ] ElectricDipoleMoment = [ "ElectricCharge", "Length", ] ElectricDisplacementField = [ "ElectricCharge", "Area", "Length", ] ElectricField = [ "Length", "Energy", "ElectricCharge", "ElectricPotential", ] ElectricFlux = [ "Length", "ElectricPotential", ] ElectricPermittivity = [ "Capacitance", "Length", ] ElectricPotential = [ "Length", "Mass", "ElectricCurrent", "Time", ] ElectricQuadrupoleMoment = [ "ElectricCharge", "Length", "Area", ] ElectricalConductance = [] ElectricalConductivity = [] ElectricalMobility = [] ElectricalResistance = [] ElectricalResistivity = [] Energy = [] Force = [] Frequency = [] FrequencyDrift = [] HeatCapacity = [] HeatFluxDensity = [] HeatTransfer = [] Inductance = [] Information = [] InformationRate = [] Jerk = [] Length = [] LinearDensityOfStates = [] LinearMassDensity = [] LinearNumberDensity = [] LinearNumberRate = [] LinearPowerDensity = [] Luminance = [] LuminousIntensity = [] MagneticFieldStrength = [] MagneticFlux = [] MagneticFluxDensity = [] MagneticMoment = [] MagneticPermeability = [] Mass = [] MassConcentration = [] MassDensity = [] MassFlux = [] MassRate = [] Molality = [] MolarConcentration = [] MolarEnergy = [] MolarFlux = [] MolarHeatCapacity = [] MolarMass = [] MolarRadioactivity = [] MolarVolume = [] MomentOfInertia = [] Momentum = [] Power = [] Pressure = [] PressureImpulse = [] RadiantExposure = [] Radioactivity = [] Ratio = [] ReciprocalLength = [] SolidAngle = [] SpecificArea = [] SpecificHeatCapacity = [] SpecificRadioactivity = [] SpecificVolume = [] SurfaceElectricCurrentDensity = [] TemperatureCoefficient = [] TemperatureGradient = [] TemperatureInterval = [] ThermalConductivity = [] ThermodynamicTemperature = [] Time = [] Torque = [] Velocity = [] Volume = [] VolumeRate = [] VolumetricDensityOfStates = [] VolumetricHeatCapacity = [] VolumetricNumberDensity = [] VolumetricNumberRate = [] VolumetricPowerDensity = [] default = [ "std", "Length", "Mass", "Angle", "Luminance", "TemperatureInterval", "AmountOfSubstance", "ElectricCurrent", "Time", ] serde = [ "dep:serde", "dep:serde_json", ] std = [] utoipa = [ "dep:utoipa", "std", ]