# @generated by autocargo from //eden/scm/lib/minibytes:minibytes [package] name = "sapling-minibytes" version = "0.1.0" authors = ["Meta Source Control Team "] edition = "2021" description = "Shared reference-counted bytes and str with zero-copy slicing support." homepage = "https://sapling-scm.com/" repository = "https://github.com/facebook/sapling" license = "MIT" [lib] name = "minibytes" [dependencies] bytes = { version = "1.6.0", features = ["serde"], optional = true } memmap2 = { version = "0.5.10", optional = true } serde = { version = "1.0.185", features = ["derive", "rc"] } [dev-dependencies] quickcheck = "1.0" serde_cbor = "0.11" [features] default = ["frombytes", "frommmap", "non-zerocopy-into"] frombytes = ["bytes"] frommmap = ["memmap2"] non-zerocopy-into = []