# 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-dag" version = "0.1.0" authors = ["Meta Source Control Team "] description = "An implementation of a DAG used for source control." homepage = "https://sapling-scm.com/" license = "MIT" repository = "https://github.com/facebook/sapling" [lib] name = "dag" [dependencies.anyhow] version = "1.0.86" [dependencies.async-trait] version = "0.1.71" [dependencies.bitflags] version = "2.6" features = ["serde"] [dependencies.byteorder] version = "1.3" [dependencies.fail] version = "0.4" features = ["failpoints"] [dependencies.fs2] version = "0.4" optional = true [dependencies.futures] version = "0.3.30" features = [ "async-await", "compat", ] [dependencies.indexmap] version = "2.2.6" features = [ "arbitrary", "rayon", "serde", ] [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.sapling-dag-types] version = "0.1.0" default-features = false [dependencies.sapling-drawdag] version = "0.1.0" [dependencies.sapling-indexedlog] version = "0.1.0" optional = true [dependencies.sapling-mincode] version = "0.1.0" [dependencies.sapling-minibytes] version = "0.1.0" default-features = false [dependencies.sapling-nonblocking] version = "0.1.0" [dependencies.sapling-renderdag] version = "0.1.0" optional = true [dependencies.sapling-vlqencoding] version = "0.1.0" [dependencies.serde] version = "1.0.185" features = [ "derive", "rc", ] [dependencies.tempfile] version = "3.8" optional = true [dependencies.thiserror] version = "1.0.64" [dependencies.tracing] version = "0.1.40" features = [ "attributes", "valuable", ] [dev-dependencies.fs2] version = "0.4" [dev-dependencies.once_cell] version = "1.12" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.sapling-dag-types] version = "0.1.0" [dev-dependencies.sapling-dev-logger] version = "0.1.0" [dev-dependencies.sapling-indexedlog] version = "0.1.0" [dev-dependencies.sapling-renderdag] version = "0.1.0" [dev-dependencies.tempfile] version = "3.8" [dev-dependencies.tokio] version = "1.41.0" features = [ "full", "test-util", "tracing", ] [features] default = [ "indexedlog-backend", "render", ] indexedlog-backend = [ "fs2", "sapling-indexedlog", "tempfile", ] render = ["sapling-renderdag"]