| # 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 = "2018" |
| name = "tinyvec" |
| version = "1.8.0" |
| authors = ["Lokathor <[email protected]>"] |
| build = false |
| exclude = [ |
| "/.github", |
| "/*.py", |
| "/*.sh", |
| "/src-backup", |
| ] |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "`tinyvec` provides 100% safe vec-like data structures." |
| readme = "README.md" |
| keywords = [ |
| "vec", |
| "no_std", |
| "no-std", |
| ] |
| categories = [ |
| "data-structures", |
| "no-std", |
| ] |
| license = "Zlib OR Apache-2.0 OR MIT" |
| repository = "https://github.com/Lokathor/tinyvec" |
| |
| [package.metadata.docs.rs] |
| features = [ |
| "alloc", |
| "std", |
| "grab_spare_slice", |
| "rustc_1_55", |
| "serde", |
| ] |
| rustdoc-args = [ |
| "--cfg", |
| "docs_rs", |
| ] |
| |
| [package.metadata.playground] |
| features = [ |
| "alloc", |
| "std", |
| "grab_spare_slice", |
| "rustc_1_55", |
| "serde", |
| ] |
| |
| [profile.bench] |
| debug = 2 |
| |
| [lib] |
| name = "tinyvec" |
| path = "src/lib.rs" |
| |
| [[test]] |
| name = "tinyvec" |
| path = "tests/tinyvec.rs" |
| required-features = [ |
| "alloc", |
| "std", |
| ] |
| |
| [[test]] |
| name = "debugger_visualizer" |
| path = "tests/debugger_visualizer.rs" |
| test = false |
| required-features = ["debugger_visualizer"] |
| |
| [[test]] |
| name = "arrayvec" |
| path = "tests/arrayvec.rs" |
| |
| [[bench]] |
| name = "macros" |
| path = "benches/macros.rs" |
| harness = false |
| required-features = ["alloc"] |
| |
| [[bench]] |
| name = "smallvec" |
| path = "benches/smallvec.rs" |
| harness = false |
| required-features = [ |
| "alloc", |
| "real_blackbox", |
| ] |
| |
| [dependencies.arbitrary] |
| version = "1" |
| optional = true |
| |
| [dependencies.serde] |
| version = "1.0" |
| optional = true |
| default-features = false |
| |
| [dependencies.tinyvec_macros] |
| version = "0.1" |
| optional = true |
| |
| [dev-dependencies.criterion] |
| version = "0.3.0" |
| |
| [dev-dependencies.debugger_test] |
| version = "0.1" |
| |
| [dev-dependencies.debugger_test_parser] |
| version = "0.1" |
| |
| [dev-dependencies.serde_test] |
| version = "1.0" |
| |
| [dev-dependencies.smallvec] |
| version = "1" |
| |
| [features] |
| alloc = ["tinyvec_macros"] |
| debugger_visualizer = [] |
| default = [] |
| experimental_write_impl = [] |
| grab_spare_slice = [] |
| nightly_slice_partition_dedup = [] |
| real_blackbox = ["criterion/real_blackbox"] |
| rustc_1_40 = [] |
| rustc_1_55 = [] |
| rustc_1_57 = ["rustc_1_55"] |
| rustc_1_61 = [] |
| std = ["alloc"] |