Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/smol_str/Cargo.toml')
| -rw-r--r-- | lib/smol_str/Cargo.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/smol_str/Cargo.toml b/lib/smol_str/Cargo.toml new file mode 100644 index 0000000000..118b25993f --- /dev/null +++ b/lib/smol_str/Cargo.toml @@ -0,0 +1,37 @@ +[package] +name = "smol_str" +version = "0.3.4" +description = "small-string optimized string type with O(1) clone" +license = "MIT OR Apache-2.0" +repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/smol_str" +authors = ["Aleksey Kladov <[email protected]>", "Lukas Wirth <[email protected]>"] +edition = "2024" +rust-version = "1.89" + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true + +[dependencies] +serde_core = { version = "1.0.220", optional = true, default-features = false } +borsh = { version = "1.4.0", optional = true, default-features = false } +arbitrary = { version = "1.3", optional = true } + +[dev-dependencies] +proptest = "1.5" +serde_json = "1.0" +serde = { version = "1.0", features = ["derive"] } +criterion = "0.7" +rand = "0.9.2" + +[features] +default = ["std"] +std = ["serde_core?/std", "borsh?/std"] +serde = ["dep:serde_core"] + +[[bench]] +name = "bench" +harness = false + +[lints] +workspace = true |