diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /third_party/rust/litemap/Cargo.toml | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/litemap/Cargo.toml')
-rw-r--r-- | third_party/rust/litemap/Cargo.toml | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/third_party/rust/litemap/Cargo.toml b/third_party/rust/litemap/Cargo.toml new file mode 100644 index 0000000000..dc8b38e665 --- /dev/null +++ b/third_party/rust/litemap/Cargo.toml @@ -0,0 +1,124 @@ +# 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" +rust-version = "1.67" +name = "litemap" +version = "0.7.2" +authors = ["The ICU4X Project Developers"] +include = [ + "data/**/*", + "src/**/*", + "examples/**/*", + "benches/**/*", + "tests/**/*", + "Cargo.toml", + "LICENSE", + "README.md", +] +description = "A key-value Map implementation based on a flat, sorted Vec." +documentation = "https://docs.rs/litemap" +readme = "README.md" +keywords = [ + "sorted", + "vec", + "map", + "hashmap", + "btreemap", +] +license-file = "LICENSE" +repository = "https://github.com/unicode-org/icu4x" + +[package.metadata.cargo-all-features] +denylist = ["bench"] + +[package.metadata.docs.rs] +all-features = true + +[package.metadata.workspaces] +independent = true + +[lib] +bench = false + +[[example]] +name = "litemap_bincode" +path = "examples/litemap_bincode.rs" +required-features = ["serde"] + +[[example]] +name = "litemap_postcard" +path = "examples/litemap_postcard.rs" +required-features = ["serde"] + +[[test]] +name = "serde" +required-features = ["serde"] + +[[test]] +name = "store" +required-features = ["testing"] + +[[bench]] +name = "litemap" +harness = false +required-features = ["serde"] + +[dependencies.databake] +version = "0.1.7" +optional = true +default-features = false + +[dependencies.serde] +version = "1" +features = ["alloc"] +optional = true +default-features = false + +[dependencies.yoke] +version = "0.7.3" +features = ["derive"] +optional = true +default-features = false + +[dev-dependencies.bincode] +version = "1" + +[dev-dependencies.bytecheck] +version = "0.6" + +[dev-dependencies.postcard] +version = "1.0.0" +features = ["use-std"] +default-features = false + +[dev-dependencies.rkyv] +version = "0.7" +features = ["validation"] + +[dev-dependencies.serde] +version = "1" + +[dev-dependencies.serde_json] +version = "1" + +[features] +alloc = [] +bench = ["serde"] +databake = ["dep:databake"] +default = ["alloc"] +serde = ["dep:serde"] +testing = ["alloc"] +yoke = ["dep:yoke"] + +[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] +version = "0.4" |