[package] name = "rust-gmp-serde" version = "0.5.0" authors = [ "thestinger ", "Bartłomiej Kamiński " ] description = "Rust bindings for GMP, added serde support" repository = "https://github.com/fizyk20/rust-gmp" documentation = "https://docs.rs/rust-gmp" license = "MIT" keywords = [ "gmp", "multi", "precision", "arithmetic", "bignum" ] [lib] name = "gmp" [features] default = [] # Feature for enabling de/serialization of Mpz serde_support = ["serde", "serde_derive", "serde_json"] [dependencies] libc = "~0.2" num-traits = "0.2" serde = { version = "1.0", optional = true } serde_derive = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true }