Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: rohankumardubey
- License: mit
- Language: Rust
- Default Branch: master
- Size: 1.01 GB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Difftastic is an experimental diff tool that compares files based on their syntax.
See the manual to get started.
Basic Example

In this JavaScript example, we can see:
(1) Difftastic understands nesting. It highlights the matching { and
}, but understands that foo() hasn't changed despite the leading
whitespace.
(2) Difftastic understands which lines should be aligned. It's aligned
bar() on the left with bar(1) on the right, despite their changes.
(3) Difftastic understands that line-wrapping isn't
meaningful. "eric" is now on a new line, but it hasn't changed.
One Minute Demo
This one minute screencast demonstrates difftastic usage with both standalone files and git.
Languages
Difftastic supports the following languages:
- Bash
- C
- C++
- C#
- Clojure
- Common Lisp
- CSS
- Dart
- Elixir
- Emacs Lisp
- Go
- Haskell
- Java
- JavaScript (and JSX)
- JSON
- OCaml
- PHP
- Python
- Ruby
- Rust
- Scala
- TypeScript (and TSX)
If a file has an unrecognised extension, difftastic uses a textual diff with word highlighting.
Known Issues
Performance. Difftastic scales relatively poorly on files with a large number of changes, and can use a lot of memory.
Display. Difftastic has a side-by-side display which usually works well, but can be confusing.
Robustness. Difftastic regularly has releases that fix crashes.
Non-goals
Patching. Difftastic output is intended for human consumption, and it
does not generate patches that you can apply later. Use diff if you
need a patch.
Merging. AST merging is a hard problem that difftastic does not address.
License
Difftastic is open source under the MIT license, see LICENSE for more details.
Files in sample_files/ are also under the MIT license unless stated
otherwise in their header.
Owner
- Name: Rohan Dubey
- Login: rohankumardubey
- Kind: user
- Location: India
- Company: Pokerstars
- Website: https://rohankumardubey.github.io/
- Twitter: rohanku43485614
- Repositories: 1
- Profile: https://github.com/rohankumardubey
if (brain != empty) { keepCoding(); } else { orderCoffee(); }
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v2 composite
- codecov/codecov-action v1 composite
- JamesIves/github-pages-deploy-action 4.1.6 composite
- actions-rs/cargo v1 composite
- actions-rs/toolchain v1 composite
- actions/checkout v2 composite
- peaceiris/actions-mdbook v1 composite
- actions-rs/cargo v1 composite
- actions-rs/toolchain v1 composite
- actions/checkout v2 composite
- aho-corasick 0.7.18
- ansi_term 0.12.1
- archery 0.4.0
- atty 0.2.14
- autocfg 1.0.1
- bitflags 1.3.2
- cc 1.0.72
- cfg-if 1.0.0
- clap 3.0.13
- const_format 0.2.22
- const_format_proc_macros 0.2.22
- crossbeam-channel 0.5.1
- crossbeam-deque 0.8.1
- crossbeam-epoch 0.9.5
- crossbeam-utils 0.8.7
- ctor 0.1.21
- diff 0.1.12
- either 1.6.1
- env_logger 0.7.1
- hashbrown 0.11.2
- hermit-abi 0.1.19
- humantime 1.3.0
- indexmap 1.8.0
- itertools 0.10.3
- lazy_static 1.4.0
- libc 0.2.112
- libmimalloc-sys 0.1.23
- log 0.4.14
- memchr 2.4.1
- memoffset 0.6.5
- mimalloc 0.1.27
- num_cpus 1.13.1
- os_str_bytes 6.0.0
- output_vt100 0.1.2
- owo-colors 3.2.0
- pretty_assertions 1.0.0
- pretty_env_logger 0.4.0
- proc-macro2 1.0.36
- quick-error 1.2.3
- quote 1.0.13
- radix-heap 0.4.2
- rayon 1.5.1
- rayon-core 1.9.1
- regex 1.5.4
- regex-syntax 0.6.25
- rpds 0.10.0
- rustc-hash 1.1.0
- same-file 1.0.6
- scopeguard 1.1.0
- static_assertions 1.1.0
- strsim 0.10.0
- syn 1.0.84
- term_size 0.3.2
- termcolor 1.1.2
- textwrap 0.14.2
- tree-sitter 0.20.5
- typed-arena 2.0.1
- unicode-xid 0.2.2
- walkdir 2.3.2
- winapi 0.3.9
- winapi-i686-pc-windows-gnu 0.4.0
- winapi-util 0.1.5
- winapi-x86_64-pc-windows-gnu 0.4.0
- wu-diff 0.1.2
- pretty_assertions 1.0.0 development
- atty 0.2.14
- clap 3.0.13
- const_format 0.2.22
- itertools 0.10.1
- lazy_static 1.4.0
- libc 0.2.108
- log 0.4.14
- mimalloc 0.1.26
- owo-colors 3.2.0
- pretty_env_logger 0.4.0
- radix-heap 0.4.2
- regex 1.5.4
- rpds 0.10.0
- rustc-hash 1.1.0
- strsim 0.10.0
- term_size 0.3.2
- tree-sitter 0.20.5
- typed-arena 2.0.1
- walkdir 2.3.2
- wu-diff 0.1.2
