# @generated by autocargo from //eden/scm/lib/util:util [package] name = "sapling-util" version = "0.1.0" authors = ["Meta Source Control Team "] edition = "2021" description = "Misc utilities used by Sapling." homepage = "https://sapling-scm.com/" repository = "https://github.com/facebook/sapling" license = "MIT" [lib] name = "util" [dependencies] anyhow = "1.0.86" dirs = "2.0" fn-error-context = "0.2" fs2 = "0.4" rand = { version = "0.8", features = ["small_rng"] } sapling-atomicfile = { version = "0.1.0", path = "../atomicfile" } sapling-lazystr = { version = "0.1.0", path = "../lazystr" } sapling-rewrite-macros = { version = "0.1.0", path = "rewrite-macros" } shell-escape = "0.1.5" shellexpand = "2.1.2" thiserror = "1.0.64" [dev-dependencies] memmap2 = "0.5.10" tempfile = "3.8" [target.'cfg(target_os = "linux")'.dependencies] libc = "0.2.139" once_cell = "1.12" tempfile = "3.8" [target.'cfg(target_os = "macos")'.dependencies] libc = "0.2.139" once_cell = "1.12" tempfile = "3.8" [target.'cfg(target_os = "windows")'.dependencies] widestring = "1.0.2" winapi = { version = "0.3", features = ["fileapi", "handleapi", "winbase", "winnt"] } [target.'cfg(target_os = "windows")'.dev-dependencies] tempfile = "3.8"