| # 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" |
| name = "smol_str" |
| version = "0.3.1" |
| authors = [ |
| "Aleksey Kladov <[email protected]>", |
| "Lukas Wirth <[email protected]>", |
| ] |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "small-string optimized string type with O(1) clone" |
| readme = "README.md" |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/rust-analyzer/smol_str" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [lib] |
| name = "smol_str" |
| path = "src/lib.rs" |
| |
| [[test]] |
| name = "test" |
| path = "tests/test.rs" |
| |
| [[test]] |
| name = "tidy" |
| path = "tests/tidy.rs" |
| |
| [dependencies.arbitrary] |
| version = "1.3" |
| optional = true |
| |
| [dependencies.borsh] |
| version = "1.4.0" |
| optional = true |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0" |
| optional = true |
| default-features = false |
| |
| [dev-dependencies.proptest] |
| version = "1.5" |
| |
| [dev-dependencies.serde] |
| version = "1.0" |
| features = ["derive"] |
| |
| [dev-dependencies.serde_json] |
| version = "1.0" |
| |
| [features] |
| default = ["std"] |
| std = [ |
| "serde?/std", |
| "borsh?/std", |
| ] |