From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- vendor/num-rational/Cargo.toml | 79 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 vendor/num-rational/Cargo.toml (limited to 'vendor/num-rational/Cargo.toml') diff --git a/vendor/num-rational/Cargo.toml b/vendor/num-rational/Cargo.toml new file mode 100644 index 0000000..b2608a9 --- /dev/null +++ b/vendor/num-rational/Cargo.toml @@ -0,0 +1,79 @@ +# 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 = "2018" +name = "num-rational" +version = "0.4.1" +authors = ["The Rust Project Developers"] +exclude = [ + "/bors.toml", + "/ci/*", + "/.github/*", +] +description = "Rational numbers implementation for Rust" +homepage = "https://github.com/rust-num/num-rational" +documentation = "https://docs.rs/num-rational" +readme = "README.md" +keywords = [ + "mathematics", + "numerics", + "fractions", +] +categories = [ + "algorithms", + "data-structures", + "science", + "no-std", +] +license = "MIT OR Apache-2.0" +repository = "https://github.com/rust-num/num-rational" + +[package.metadata.docs.rs] +features = [ + "std", + "num-bigint-std", + "serde", +] + +[dependencies.num-bigint] +version = "0.4.0" +optional = true +default-features = false + +[dependencies.num-integer] +version = "0.1.42" +features = ["i128"] +default-features = false + +[dependencies.num-traits] +version = "0.2.11" +features = ["i128"] +default-features = false + +[dependencies.serde] +version = "1.0.0" +optional = true +default-features = false + +[build-dependencies.autocfg] +version = "1.0.0" + +[features] +default = [ + "num-bigint-std", + "std", +] +num-bigint-std = ["num-bigint/std"] +std = [ + "num-integer/std", + "num-traits/std", +] -- cgit v1.2.3