• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2018"
14rust-version = "1.36"
15name = "ryu"
16version = "1.0.20"
17authors = ["David Tolnay <dtolnay@gmail.com>"]
18build = false
19exclude = [
20    "build.rs",
21    "performance.png",
22    "chart/**",
23]
24autolib = false
25autobins = false
26autoexamples = false
27autotests = false
28autobenches = false
29description = "Fast floating point to string conversion"
30documentation = "https://docs.rs/ryu"
31readme = "README.md"
32keywords = ["float"]
33categories = [
34    "value-formatting",
35    "no-std",
36    "no-std::no-alloc",
37]
38license = "Apache-2.0 OR BSL-1.0"
39repository = "https://github.com/dtolnay/ryu"
40
41[package.metadata.docs.rs]
42rustdoc-args = [
43    "--generate-link-to-definition",
44    "--extern-html-root-url=core=https://doc.rust-lang.org",
45    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
46    "--extern-html-root-url=std=https://doc.rust-lang.org",
47]
48targets = ["x86_64-unknown-linux-gnu"]
49
50[features]
51small = []
52
53[lib]
54name = "ryu"
55path = "src/lib.rs"
56
57[[example]]
58name = "upstream_benchmark"
59path = "examples/upstream_benchmark.rs"
60
61[[test]]
62name = "common_test"
63path = "tests/common_test.rs"
64
65[[test]]
66name = "d2s_intrinsics_test"
67path = "tests/d2s_intrinsics_test.rs"
68
69[[test]]
70name = "d2s_table_test"
71path = "tests/d2s_table_test.rs"
72
73[[test]]
74name = "d2s_test"
75path = "tests/d2s_test.rs"
76
77[[test]]
78name = "exhaustive"
79path = "tests/exhaustive.rs"
80
81[[test]]
82name = "f2s_test"
83path = "tests/f2s_test.rs"
84
85[[test]]
86name = "s2d_test"
87path = "tests/s2d_test.rs"
88
89[[test]]
90name = "s2f_test"
91path = "tests/s2f_test.rs"
92
93[[bench]]
94name = "bench"
95path = "benches/bench.rs"
96
97[dependencies.no-panic]
98version = "0.1"
99optional = true
100
101[dev-dependencies.num_cpus]
102version = "1.8"
103
104[dev-dependencies.rand]
105version = "0.9"
106
107[dev-dependencies.rand_xorshift]
108version = "0.4"
109