|
| 1 | +[package] |
| 2 | +name = "gix-merge" |
| 3 | +version = "0.0.0" |
| 4 | +repository = "https://github.com/Byron/gitoxide" |
| 5 | +license = "MIT OR Apache-2.0" |
| 6 | +description = "A crate of the gitoxide project implementing merge algorithms" |
| 7 | +authors = [ "Sebastian Thiel <[email protected]>"] |
| 8 | +edition = "2021" |
| 9 | +rust-version = "1.65" |
| 10 | + |
| 11 | +[lints] |
| 12 | +workspace = true |
| 13 | + |
| 14 | +[lib] |
| 15 | +doctest = false |
| 16 | + |
| 17 | +[features] |
| 18 | +default = ["blob"] |
| 19 | +## Enable diffing of blobs using imara-diff, which also allows for a generic rewrite tracking implementation. |
| 20 | +blob = ["dep:imara-diff", "dep:gix-filter", "dep:gix-worktree", "dep:gix-path", "dep:gix-fs", "dep:gix-command", "dep:gix-tempfile", "dep:gix-trace", "dep:gix-quote"] |
| 21 | +## Data structures implement `serde::Serialize` and `serde::Deserialize`. |
| 22 | +serde = ["dep:serde", "gix-hash/serde", "gix-object/serde"] |
| 23 | + |
| 24 | +[dependencies] |
| 25 | +gix-hash = { version = "^0.14.2", path = "../gix-hash" } |
| 26 | +gix-object = { version = "^0.44.0", path = "../gix-object" } |
| 27 | +gix-filter = { version = "^0.13.0", path = "../gix-filter", optional = true } |
| 28 | +gix-worktree = { version = "^0.36.0", path = "../gix-worktree", default-features = false, features = ["attributes"], optional = true } |
| 29 | +gix-command = { version = "^0.3.9", path = "../gix-command", optional = true } |
| 30 | +gix-path = { version = "^0.10.11", path = "../gix-path", optional = true } |
| 31 | +gix-fs = { version = "^0.11.3", path = "../gix-fs", optional = true } |
| 32 | +gix-tempfile = { version = "^14.0.0", path = "../gix-tempfile", optional = true } |
| 33 | +gix-trace = { version = "^0.1.10", path = "../gix-trace", optional = true } |
| 34 | +gix-quote = { version = "^0.4.12", path = "../gix-quote", optional = true } |
| 35 | + |
| 36 | +thiserror = "1.0.63" |
| 37 | +imara-diff = { version = "0.1.7", optional = true } |
| 38 | +bstr = { version = "1.5.0", default-features = false } |
| 39 | +serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } |
| 40 | + |
| 41 | +document-features = { version = "0.2.0", optional = true } |
| 42 | + |
| 43 | +[dev-dependencies] |
| 44 | +gix-testtools = { path = "../tests/tools" } |
| 45 | +pretty_assertions = "1.4.0" |
| 46 | + |
| 47 | +[package.metadata.docs.rs] |
| 48 | +all-features = true |
| 49 | +features = ["document-features"] |
0 commit comments