Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from TTWNO/feature/conditionalCompilation
Browse files Browse the repository at this point in the history
Added conditional compilation for critical section dependency for uni…
  • Loading branch information
TTWNO authored Jun 29, 2024
2 parents 89eab4e + bc5ce20 commit b39c2c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fry_normalize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ regex = "1.10.4"
num-bigfloat = { version = "1.7.1", default-features = false }
once_cell = { version = "1.19.0", default-features = false, features = ["critical-section"] }
derive_more = { version = "0.99.17", default-features = false, features = ["display"] }

[target.'cfg(target_family = "windows")'.dependencies]
once_cell = { version = "1.19.0", default-features = false, features = ["std"] }

[target.'cfg(target_family = "unix")'.dependencies]
once_cell = { version = "1.19.0", default-features = false, features = ["std"] }

0 comments on commit b39c2c5

Please sign in to comment.