# 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" rust-version = "1.70" name = "rustler" version = "0.35.0" authors = ["Hansihe "] description = "Safe Rust wrappers for creating Erlang NIF functions" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/rusterlium/rustler" [package.metadata.docs.rs] all-features = true [[package.metadata.release.pre-release-replacements]] file = "../rustler_mix/mix.exs" replace = "version: \"{{version}}\", # Auto updated by cargo release, do not modify this line." search = "version: \"[^\"]+\", # Auto updated by cargo release, do not modify this line." [[package.metadata.release.pre-release-replacements]] file = "../rustler_mix/lib/rustler.ex" replace = "def rustler_version, do: \"{{version}}\"" search = "def rustler_version, do: \"[^\"]+\"" [[package.metadata.release.pre-release-replacements]] file = "../rustler_codegen/Cargo.toml" replace = """ # rustler_codegen version version = \"{{version}}\"""" search = """ # rustler_codegen version version = \"[^\"]+\"""" [dependencies.inventory] version = "0.3" [dependencies.libloading] version = "0.8" [dependencies.num-bigint] version = "0.4" optional = true [dependencies.rustler_codegen] version = "0.35.0" [dependencies.serde] version = "1" optional = true [build-dependencies.regex-lite] version = "0.1" [features] allocator = [] alternative_nif_init_name = [] big_integer = ["dep:num-bigint"] default = ["nif_version_2_15"] derive = [] nif_version_2_14 = [] nif_version_2_15 = ["nif_version_2_14"] nif_version_2_16 = ["nif_version_2_15"] nif_version_2_17 = ["nif_version_2_16"] serde = ["dep:serde"]