diff --git a/Cargo.toml b/Cargo.toml index fecc95c..f4bbab8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,9 +34,6 @@ default = ["std"] std = ["hex?/std", "serde?/std", "alloc"] alloc = ["hex?/alloc", "serde?/alloc"] -# Forces generic implementation, overriding any specialized implementation (e.g. x86 or aarch64) -force-generic = [] - # Serde support. Use with `#[serde(with = "const_hex")]` serde = ["hex?/serde", "dep:serde"] @@ -44,6 +41,9 @@ serde = ["hex?/serde", "dep:serde"] # This should not be needed most of the time. hex = ["dep:hex"] +# Forces generic implementation, overriding any specialized implementation (e.g. x86 or aarch64) +force-generic = [] + # Support for the `portable-simd` nightly feature. # Note that `-Zbuild-std` may be necessary to unlock better performance than # the specialized implementations. diff --git a/README.md b/README.md index 879cee8..0fdde7a 100644 --- a/README.md +++ b/README.md @@ -41,18 +41,24 @@ test format_std::bench3_4096 ... bench: 61,688 ns/iter (+/- 1,994) ## Acknowledgements -- [`hex`] for the initial encoding/decoding implementations -- [dtolnay]/[itoa] for the initial crate/library API layout +- [`hex`] for the initial encoding/decoding implementations +- [dtolnay]/[itoa] for the initial crate/library API layout [`hex`]: https://crates.io/crates/hex [dtolnay]: https://github.com/dtolnay [itoa]: https://github.com/dtolnay/itoa -## License +#### License -Licensed under either of [Apache License, Version 2.0](./LICENSE-APACHE) or -[MIT license](./LICENSE-MIT) at your option. + +Licensed under either of Apache License, Version +2.0 or MIT license at your option. + +
+ + Unless you explicitly state otherwise, any contribution intentionally submitted -for inclusion in this crate by you, as defined in the Apache-2.0 license, shall -be dual licensed as above, without any additional terms or conditions. +for inclusion in these crates by you, as defined in the Apache-2.0 license, +shall be dual licensed as above, without any additional terms or conditions. +