Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump version to 0.5.1 #83

Merged
merged 3 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# v0.5.1
## Fixes
- Fix feature gates on square root / cube root implementation.
- Remove unused code lints in new rust version (@jedbrown)
- Restore no_std (@jedbrown, see #77)
- Use maintained HDF5 fork to allow HDF5 versions of 1.14.x (see #78, #79)

# v0.5.0
## Features
- `no_std` support (@jedbrown, see #55, #60)
Expand Down
18 changes: 12 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
[package]
name = "diman"
version = "0.5.0"
edition = "2021"
description = "Zero-cost compile-time dimensional analysis."
authors = ["Toni Peter <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tehforsch/diman"
categories = ["science"]
keywords = ["units", "dimensional-analysis"]
readme = "README.md"
version.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true

[workspace]
members = ["crates/*"]

[workspace.package]
version = "0.5.1"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tehforsch/diman"
edition = "2021"

[features]
num-traits-libm = ["diman_unit_system/num-traits-libm", "diman_lib/num-traits-libm"]
glam = ["dep:glam", "diman_unit_system/glam"]
Expand Down Expand Up @@ -42,8 +48,8 @@ hdf5 = { package = "hdf5-metno", version = "0.9.0", optional = true}
mpi = { version = "0.7", default-features = false, features = ["derive"], optional = true }
once_cell = { version = "1.18.0", optional = true }

diman_unit_system = { path = "crates/diman_unit_system", version = "0.5", default-features = false }
diman_lib = { path = "crates/diman_lib", version = "0.5" }
diman_unit_system = { path = "crates/diman_unit_system", version = "0.5.1", default-features = false }
diman_lib = { path = "crates/diman_lib", version = "0.5.1" }

[dev-dependencies]
serde_yaml = "0.9.27"
Expand Down
8 changes: 4 additions & 4 deletions crates/diman_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "diman_lib"
version = "0.5.0"
edition = "2021"
authors = [
"Toni Peter <[email protected]>",
]
description = "Commonly used types for internal use in diman."
license = "MIT OR Apache-2.0"
repository = "https://github.com/tehforsch/diman"
version.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true

[features]
std = []
Expand Down
10 changes: 5 additions & 5 deletions crates/diman_unit_system/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "diman_unit_system"
version = "0.5.0"
edition = "2021"
authors = [
"Toni Peter <[email protected]>",
]
description = "Internal procedural macros for diman."
license = "MIT OR Apache-2.0"
repository = "https://github.com/tehforsch/diman"
repository.workspace = true
version.workspace = true
license.workspace = true
edition.workspace = true

[features]
glam = []
Expand All @@ -31,7 +31,7 @@ default = ["f32", "f64"]
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
diman_lib = { path = "../diman_lib", version = "0.5" }
diman_lib = { path = "../diman_lib", version = "0.5.1" }

[lib]
proc-macro = true
Expand Down
1 change: 0 additions & 1 deletion tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![allow(incomplete_features)]
#![feature(generic_const_exprs, adt_const_params)]
#![feature(const_fn_floating_point_arithmetic)]

pub mod example_system;
pub mod utils;
Expand Down