# 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 = "sapling-minibytes" version = "0.1.0" authors = ["Meta Source Control Team "] description = "Shared reference-counted bytes and str with zero-copy slicing support." homepage = "https://sapling-scm.com/" license = "MIT" repository = "https://github.com/facebook/sapling" [lib] name = "minibytes" [dependencies.bytes] version = "1.6.0" features = ["serde"] optional = true [dependencies.memmap2] version = "0.5.10" optional = true [dependencies.serde] version = "1.0.185" features = [ "derive", "rc", ] [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.serde_cbor] version = "0.11" [features] default = [ "frombytes", "frommmap", "non-zerocopy-into", ] frombytes = ["bytes"] frommmap = ["memmap2"] non-zerocopy-into = []