magic-db 0.5.0

This crate provides a precompiled magic database for file type identification. It allows any program to perform magic file detection without the burden of compiling rules from source.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

#------------------------------------------------------------------------------
# $File: rst,v 1.4 2023/07/27 18:26:32 christos Exp $
# rst: ReStructuredText http://docutils.sourceforge.net/rst.html
0	search/256	\=\=
!:strength + 30
>&0	regex/256	\^[\=]+$
>>&0	search/512	:Author:		ReStructuredText file
>>&0	search/512	\012Authors:		ReStructuredText file
>>&0	search/512	\012Author:		ReStructuredText file
>>&0	default		x
>>>&0	regex/512	\^\\.\\.[A-Za-z]	ReStructuredText file
!:ext	rst