Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/text-size/Cargo.toml')
-rw-r--r--lib/text-size/Cargo.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/text-size/Cargo.toml b/lib/text-size/Cargo.toml
new file mode 100644
index 0000000000..f889009b0b
--- /dev/null
+++ b/lib/text-size/Cargo.toml
@@ -0,0 +1,28 @@
+[package]
+name = "text-size"
+version = "1.1.1"
+edition = "2024"
+
+authors = [
+ "Aleksey Kladov <[email protected]>",
+ "Christopher Durham (CAD97) <[email protected]>"
+]
+description = "Newtypes for text offsets"
+license = "MIT OR Apache-2.0"
+repository = "https://github.com/rust-analyzer/text-size"
+documentation = "https://docs.rs/text-size"
+
+[dependencies]
+serde = { version = "1.0", optional = true, default-features = false }
+
+[dev-dependencies]
+serde_test = "1.0"
+static_assertions = "1.1"
+
+[[test]]
+name = "serde"
+path = "tests/serde.rs"
+required-features = ["serde"]
+
+[lints]
+workspace = true