Debian Codegraph @

.cargo/vendor/num-rational/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.60"
15 name = "num-rational"
16 version = "0.4.2"
17 authors = ["The Rust Project Developers"]
18 exclude = [
19 "/ci/*",
20 "/.github/*",
21 ]
22 description = "Rational numbers implementation for Rust"
23 homepage = "https://github.com/rust-num/num-rational"
24 documentation = "https://docs.rs/num-rational"
25 readme = "README.md"
26 keywords = [
27 "mathematics",
28 "numerics",
29 "fractions",
30 ]
31 categories = [
32 "algorithms",
33 "data-structures",
34 "science",
35 "no-std",
36 ]
37 license = "MIT OR Apache-2.0"
38 repository = "https://github.com/rust-num/num-rational"
39
40 [package.metadata.docs.rs]
41 features = [
42 "std",
43 "num-bigint-std",
44 "serde",
45 ]
46
47 [dependencies.num-bigint]
48 version = "0.4.0"
49 optional = true
50 default-features = false
51
52 [dependencies.num-integer]
53 version = "0.1.42"
54 features = ["i128"]
55 default-features = false
56
57 [dependencies.num-traits]
58 version = "0.2.18"
59 features = ["i128"]
60 default-features = false
61
62 [dependencies.serde]
63 version = "1.0.0"
64 optional = true
65 default-features = false
66
67 [features]
68 default = [
69 "num-bigint",
70 "std",
71 ]
72 num-bigint = ["dep:num-bigint"]
73 num-bigint-std = ["num-bigint/std"]
74 serde = ["dep:serde"]
75 std = [
76 "num-bigint?/std",
77 "num-integer/std",
78 "num-traits/std",
79 ]