[package] name = "decmathlib-rs" version = "0.3.3" edition = "2021" authors = ["Carlos Guzmán Álvarez"] description = "Port of the Intel Decimal Floating-Point Math Library decimal128 type to Rust." readme = "README.md" repository = "https://github.com/carlosga/decmathlib-rs" license = "MIT" # https://doc.rust-lang.org/cargo/reference/profiles.html [profile.dev] overflow-checks = false # Disable integer overflow checks. [profile.profiling] inherits = "release" debug = true [profile.bench] codegen-units = 1 lto = true opt-level = 3 [profile.release] codegen-units = 1 lto = true opt-level = 3 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] serde = ["serde/default", "serde_json/default"] sqlx-postgres = ["sqlx/default", "sqlx/postgres", "byteorder/default", "async-std/default"] decimal_tiny_detection_after_rounding = [] [dependencies] forward_ref = { version = "1.0.0" } byteorder = { version = "1.5.0", features = ["default"], default-features = false, optional = true } serde = { version = "1.0", default-features = false, optional = true } serde_json = { version = "1.0", default-features = false, optional = true } sqlx = { version = "0.8.1", features = [ "postgres", "runtime-async-std", "runtime-async-std-rustls" ], default-features = false, optional = true } async-std = { version = "1.12.0", features = ["default"], default-features = false, optional = true } [dev-dependencies] criterion = { version = "0.5.1", features = ["html_reports"] } [[bench]] name = "decmathlib" harness = false