zsv 1.4.4-x86_64-linux-gnu

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +187 -0
  3. data/LICENSE +21 -0
  4. data/README.md +203 -0
  5. data/ext/zsv/ZSV_UPSTREAM +7 -0
  6. data/ext/zsv/common.h +22 -0
  7. data/ext/zsv/extconf.rb +102 -0
  8. data/ext/zsv/options.c +126 -0
  9. data/ext/zsv/options.h +28 -0
  10. data/ext/zsv/options_internal.h +8 -0
  11. data/ext/zsv/parser.c +503 -0
  12. data/ext/zsv/parser.h +75 -0
  13. data/ext/zsv/row.c +169 -0
  14. data/ext/zsv/row.h +45 -0
  15. data/ext/zsv/upstream.rb +55 -0
  16. data/ext/zsv/vendor/zsv/LICENSE +21 -0
  17. data/ext/zsv/vendor/zsv/VENDORED_FROM +2 -0
  18. data/ext/zsv/vendor/zsv/configure +1212 -0
  19. data/ext/zsv/vendor/zsv/include/zsv/api.h +375 -0
  20. data/ext/zsv/vendor/zsv/include/zsv/common.h +397 -0
  21. data/ext/zsv/vendor/zsv/include/zsv/ext/implementation.h +62 -0
  22. data/ext/zsv/vendor/zsv/include/zsv/ext/implementation_private.h +113 -0
  23. data/ext/zsv/vendor/zsv/include/zsv/ext/sheet.h +80 -0
  24. data/ext/zsv/vendor/zsv/include/zsv/ext.h +333 -0
  25. data/ext/zsv/vendor/zsv/include/zsv/utils/appname.h +51 -0
  26. data/ext/zsv/vendor/zsv/include/zsv/utils/arg.h +139 -0
  27. data/ext/zsv/vendor/zsv/include/zsv/utils/cache.h +49 -0
  28. data/ext/zsv/vendor/zsv/include/zsv/utils/clock.h +36 -0
  29. data/ext/zsv/vendor/zsv/include/zsv/utils/compiler.h +69 -0
  30. data/ext/zsv/vendor/zsv/include/zsv/utils/db.h +19 -0
  31. data/ext/zsv/vendor/zsv/include/zsv/utils/dirs.h +149 -0
  32. data/ext/zsv/vendor/zsv/include/zsv/utils/dl.h +22 -0
  33. data/ext/zsv/vendor/zsv/include/zsv/utils/emcc/fs_api.h +28 -0
  34. data/ext/zsv/vendor/zsv/include/zsv/utils/err.h +22 -0
  35. data/ext/zsv/vendor/zsv/include/zsv/utils/file-mem.h +18 -0
  36. data/ext/zsv/vendor/zsv/include/zsv/utils/file.h +125 -0
  37. data/ext/zsv/vendor/zsv/include/zsv/utils/jq.h +65 -0
  38. data/ext/zsv/vendor/zsv/include/zsv/utils/json.h +19 -0
  39. data/ext/zsv/vendor/zsv/include/zsv/utils/mem.h +19 -0
  40. data/ext/zsv/vendor/zsv/include/zsv/utils/memmem.h +13 -0
  41. data/ext/zsv/vendor/zsv/include/zsv/utils/os.h +145 -0
  42. data/ext/zsv/vendor/zsv/include/zsv/utils/output.h +34 -0
  43. data/ext/zsv/vendor/zsv/include/zsv/utils/overwrite.h +71 -0
  44. data/ext/zsv/vendor/zsv/include/zsv/utils/overwrite_writer.h +53 -0
  45. data/ext/zsv/vendor/zsv/include/zsv/utils/prop.h +119 -0
  46. data/ext/zsv/vendor/zsv/include/zsv/utils/rng.h +35 -0
  47. data/ext/zsv/vendor/zsv/include/zsv/utils/signal.h +25 -0
  48. data/ext/zsv/vendor/zsv/include/zsv/utils/sql.h +13 -0
  49. data/ext/zsv/vendor/zsv/include/zsv/utils/string.h +173 -0
  50. data/ext/zsv/vendor/zsv/include/zsv/utils/utf8.h +41 -0
  51. data/ext/zsv/vendor/zsv/include/zsv/utils/win/dl.h +25 -0
  52. data/ext/zsv/vendor/zsv/include/zsv/utils/writer.h +109 -0
  53. data/ext/zsv/vendor/zsv/include/zsv/zsv_export.h +33 -0
  54. data/ext/zsv/vendor/zsv/include/zsv.h.in +18 -0
  55. data/ext/zsv/vendor/zsv/src/Makefile +238 -0
  56. data/ext/zsv/vendor/zsv/src/vector_delim.c +60 -0
  57. data/ext/zsv/vendor/zsv/src/zsv.c +622 -0
  58. data/ext/zsv/vendor/zsv/src/zsv_internal.c +789 -0
  59. data/ext/zsv/vendor/zsv/src/zsv_scan_delim.c +285 -0
  60. data/ext/zsv/vendor/zsv/src/zsv_scan_delim_fast.c +741 -0
  61. data/ext/zsv/vendor/zsv/src/zsv_scan_fixed.c +88 -0
  62. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_avx2.h +89 -0
  63. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_neon.h +80 -0
  64. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_sse2.h +93 -0
  65. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_wasm.h +79 -0
  66. data/ext/zsv/vendor/zsv/src/zsv_strencode.c +84 -0
  67. data/ext/zsv/zsv_ext.c +417 -0
  68. data/lib/zsv/3.3/zsv.so +0 -0
  69. data/lib/zsv/3.4/zsv.so +0 -0
  70. data/lib/zsv/4.0/zsv.so +0 -0
  71. data/lib/zsv/errors.rb +32 -0
  72. data/lib/zsv/input.rb +88 -0
  73. data/lib/zsv/options.rb +132 -0
  74. data/lib/zsv/strict_validator.rb +124 -0
  75. data/lib/zsv/version.rb +5 -0
  76. data/lib/zsv.rb +183 -0
  77. metadata +196 -0
@@ -0,0 +1,124 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'strscan'
4
+
5
+ module ZSV
6
+ # Checks that input is well-formed CSV the way Ruby's CSV does in its
7
+ # default (non-liberal) mode. zsv itself never rejects input, so this pass
8
+ # is what backs +liberal_parsing: false+.
9
+ #
10
+ # The input is read one physical line at a time. A line without a quote is
11
+ # accepted as is, and a line that is one well-formed record is accepted by a
12
+ # single regexp match; only the rest (fields spanning lines, errors) is
13
+ # scanned field by field.
14
+ #
15
+ # Errors carry the number CSV reports: the 1-based record, where a quoted
16
+ # field that spans several lines counts once. Records are told apart by
17
+ # "\n" (so "\r\n" works too); input using a lone "\r" is one record here.
18
+ class StrictValidator
19
+ QUOTE = '"'
20
+ BOM = "\xEF\xBB\xBF".b.freeze
21
+ ROW_END = /\r\n|\n|\r/
22
+ QUOTED_BODY = /(?:[^"]+|"")*/
23
+
24
+ # @param string [String] CSV data
25
+ # @param col_sep [String] single-character column separator
26
+ # @raise [MalformedCSVError, InvalidEncodingError]
27
+ def self.validate_string(string, col_sep:)
28
+ unless string.valid_encoding?
29
+ new(col_sep, string.encoding).validate(string.each_line("\n"))
30
+ return
31
+ end
32
+ return unless string.include?(QUOTE)
33
+
34
+ new(col_sep, nil).validate(string.each_line("\n"))
35
+ end
36
+
37
+ # @param path [String] file to check
38
+ # @param col_sep [String] single-character column separator
39
+ # @param encoding [Encoding] encoding the fields will be labelled with
40
+ # @raise [MalformedCSVError, InvalidEncodingError]
41
+ def self.validate_file(path, col_sep:, encoding:)
42
+ File.open(path, 'rb') do |file|
43
+ new(col_sep, encoding).validate(file.each_line("\n"))
44
+ end
45
+ end
46
+
47
+ # @param col_sep [String] single-character column separator
48
+ # @param encoding [Encoding, nil] encoding to verify each line against, nil to skip
49
+ def initialize(col_sep, encoding)
50
+ separator = Regexp.escape(col_sep)
51
+ field = /(?>"(?>[^"]+|"")*"|[^"#{separator}\r\n]*)/
52
+ @col_sep = col_sep
53
+ @unquoted = /[^"#{separator}\r\n]*/
54
+ @complete_record = /\A#{field}(?>#{separator}#{field})*\r?\n?\z/
55
+ @encoding = encoding
56
+ end
57
+
58
+ # @param lines [Enumerable<String>] physical lines, including their "\n"
59
+ # @raise [MalformedCSVError, InvalidEncodingError]
60
+ # @return [void]
61
+ def validate(lines)
62
+ record = 0
63
+ in_quotes = false
64
+
65
+ lines.each_with_index do |line, index|
66
+ record += 1 unless in_quotes
67
+ check_encoding(line, record, first_line: index.zero?)
68
+ next if !in_quotes && (!line.include?(QUOTE) || line.match?(@complete_record))
69
+
70
+ in_quotes = scan(line, in_quotes, record, first_line: index.zero?)
71
+ end
72
+
73
+ raise MalformedCSVError.new('Unclosed quoted field', record) if in_quotes
74
+ end
75
+
76
+ private
77
+
78
+ def check_encoding(line, record, first_line:)
79
+ return unless @encoding
80
+
81
+ line = line.byteslice(BOM.bytesize..) if first_line && line.b.start_with?(BOM)
82
+ return if line.force_encoding(@encoding).valid_encoding?
83
+
84
+ raise InvalidEncodingError.new("Invalid byte sequence in #{@encoding}", record)
85
+ end
86
+
87
+ # Scans one physical line. Returns true when it ends inside a quoted field.
88
+ def scan(line, in_quotes, record, first_line:)
89
+ scanner = StringScanner.new(line.b)
90
+ scanner.skip(BOM) if first_line
91
+
92
+ until scanner.eos?
93
+ if in_quotes
94
+ return true unless close_quoted_field(scanner, record)
95
+
96
+ in_quotes = false
97
+ elsif scanner.skip(QUOTE)
98
+ in_quotes = true
99
+ else
100
+ skip_unquoted_field(scanner, record)
101
+ end
102
+ end
103
+ in_quotes
104
+ end
105
+
106
+ # Returns false when the line ends before the closing quote.
107
+ def close_quoted_field(scanner, record)
108
+ scanner.skip(QUOTED_BODY)
109
+ return false if scanner.eos?
110
+
111
+ scanner.skip(QUOTE)
112
+ return true if scanner.eos? || scanner.skip(@col_sep) || scanner.skip(ROW_END)
113
+
114
+ raise MalformedCSVError.new("Any value after quoted field isn't allowed", record)
115
+ end
116
+
117
+ def skip_unquoted_field(scanner, record)
118
+ scanner.skip(@unquoted)
119
+ return if scanner.eos? || scanner.skip(@col_sep) || scanner.skip(ROW_END)
120
+
121
+ raise MalformedCSVError.new('Illegal quoting', record)
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ZSV
4
+ VERSION = '1.4.4'
5
+ end
data/lib/zsv.rb ADDED
@@ -0,0 +1,183 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'zsv/version'
4
+ # Load the C extension: precompiled gems ship one per Ruby minor
5
+ # (lib/zsv/3.4/zsv.so); source installs build lib/zsv/zsv.so.
6
+ begin
7
+ require_relative "zsv/#{RUBY_VERSION[/\A\d+\.\d+/]}/zsv"
8
+ rescue LoadError
9
+ require_relative 'zsv/zsv'
10
+ end
11
+ require_relative 'zsv/errors'
12
+ require_relative 'zsv/options'
13
+ require_relative 'zsv/strict_validator'
14
+ require_relative 'zsv/input'
15
+
16
+ # ZSV - SIMD-accelerated CSV parser
17
+ #
18
+ # A fast CSV reader built on the zsv C library, with an API modelled on the
19
+ # reading half of Ruby's CSV stdlib. Rows are plain Arrays (or Hashes with
20
+ # +headers:+) of frozen Strings. See docs/API_REFERENCE.md for the exact
21
+ # differences from CSV.
22
+ #
23
+ # @example Basic usage
24
+ # ZSV.foreach("data.csv") do |row|
25
+ # puts row.inspect
26
+ # end
27
+ #
28
+ # @example With headers
29
+ # ZSV.foreach("data.csv", headers: true) do |row|
30
+ # puts row["name"]
31
+ # end
32
+ #
33
+ # @example Parse string
34
+ # rows = ZSV.parse("a,b,c\n1,2,3\n")
35
+ #
36
+ module ZSV
37
+ # Ruby front of the module functions defined by the C extension: validates
38
+ # options and input before handing over to C.
39
+ module ModuleMethods
40
+ # Parse a CSV String and return all rows.
41
+ #
42
+ # @param string [String] CSV data
43
+ # @param options [Hash] parser options, see docs/API_REFERENCE.md
44
+ # @return [Array<Array<String>>, Array<Hash>] all rows
45
+ # @raise [ArgumentError] for unknown or unsupported options
46
+ # @raise [MalformedCSVError] for malformed input with +liberal_parsing: false+
47
+ def parse(string, **options)
48
+ super(*Input.data(string, options))
49
+ end
50
+
51
+ # Parse a single CSV line.
52
+ #
53
+ # @param line [String] one CSV record
54
+ # @param options [Hash] parser options
55
+ # @return [Array<String>, Hash, nil] the first row, nil for an empty line
56
+ def parse_line(line, **)
57
+ parse(line, **).first
58
+ end
59
+
60
+ # Lazily enumerate the rows of a CSV String, a path or an IO.
61
+ #
62
+ # @param source [String, #to_path, #read] CSV data, a path or an IO
63
+ # @param options [Hash] parser options
64
+ # @return [Enumerator] rows, parsed as they are consumed
65
+ def parse_enum(source, **)
66
+ parser = Parser.new(source, **)
67
+
68
+ Enumerator.new do |yielder|
69
+ parser.each { |row| yielder << row }
70
+ ensure
71
+ parser.close
72
+ end
73
+ end
74
+
75
+ # Stream the rows of a CSV file.
76
+ #
77
+ # @param path [String, #to_path] file to read
78
+ # @param mode [String] read mode ("r", "rb", "r:bom|utf-8")
79
+ # @param options [Hash] parser options
80
+ # @yieldparam row [Array<String>, Hash]
81
+ # @return [nil, Enumerator] an Enumerator when no block is given
82
+ def foreach(path, mode = 'r', **options, &block)
83
+ unless block
84
+ Options.normalize(options) # report bad options now, not at the first row
85
+ return to_enum(__method__, path, mode, **options)
86
+ end
87
+
88
+ super(*Input.path(path, mode, options), &block)
89
+ end
90
+
91
+ # Read a whole CSV file.
92
+ #
93
+ # @param path [String, #to_path] file to read
94
+ # @param options [Hash] parser options
95
+ # @return [Array<Array<String>>, Array<Hash>] all rows
96
+ def read(path, **options)
97
+ super(*Input.path(path, 'r', options))
98
+ end
99
+
100
+ # Open a CSV file for reading.
101
+ #
102
+ # @param path [String, #to_path] file to read
103
+ # @param mode [String] read mode ("r", "rb", "r:bom|utf-8")
104
+ # @param options [Hash] parser options
105
+ # @yieldparam parser [Parser] closed when the block returns
106
+ # @return [Parser, Object] the parser, or the block's value
107
+ def open(path, mode = 'r', **options, &)
108
+ path, native = Input.path(path, mode, options)
109
+ super(path, native, &)
110
+ end
111
+
112
+ # Create a parser for CSV data, a path or an IO. See Parser.new.
113
+ #
114
+ # @return [Parser]
115
+ def new(source, **)
116
+ Parser.new(source, **)
117
+ end
118
+ end
119
+ singleton_class.prepend(ModuleMethods)
120
+
121
+ # Ruby front of Parser.new.
122
+ module ParserConstruction
123
+ # @param source [String, #read, #to_path] CSV data, a path or an IO.
124
+ # A String holding a line ending is data; otherwise it is a path when
125
+ # such a file exists, data when it contains the column separator, and
126
+ # a (missing) path in any other case. Use ZSV.parse or ZSV.open to
127
+ # avoid the guess. An IO is read as the rows are consumed.
128
+ # @param options [Hash] parser options, see docs/API_REFERENCE.md
129
+ # @return [Parser]
130
+ def new(source, **options)
131
+ if source.is_a?(String)
132
+ return from_path(source, **options) unless Input.data?(source, Options.col_sep(options))
133
+
134
+ from_string(source, **options)
135
+ elsif Input.path?(source)
136
+ from_path(source, **options)
137
+ elsif source.respond_to?(:read)
138
+ # Strict parsing has to see the whole input before the first row
139
+ return from_string(source.read.to_s, **options) if Options.strict?(options)
140
+
141
+ super(*Input.io(source, options))
142
+ else
143
+ raise TypeError, "expected CSV data, a path or an IO, got #{source.class}"
144
+ end
145
+ end
146
+
147
+ # Create a parser over CSV data held in a String, never a path.
148
+ #
149
+ # @param string [String] CSV data
150
+ # @param options [Hash] parser options
151
+ # @return [Parser]
152
+ def from_string(string, **options)
153
+ super(*Input.data(string, options))
154
+ end
155
+
156
+ # Create a parser over a file.
157
+ #
158
+ # @param path [String, #to_path] file to read
159
+ # @param options [Hash] parser options
160
+ # @return [Parser]
161
+ def from_path(path, **options)
162
+ super(*Input.path(path, 'r', options))
163
+ end
164
+ end
165
+
166
+ # Ruby front of the Parser instance methods defined by the C extension.
167
+ module ParserMethods
168
+ # Read all remaining rows.
169
+ #
170
+ # @return [Array<Array<String>>, Array<Hash>] remaining rows
171
+ def read
172
+ rows = []
173
+ each { |row| rows << row }
174
+ rows
175
+ end
176
+ alias to_a read
177
+ end
178
+
179
+ class Parser
180
+ singleton_class.prepend(ParserConstruction)
181
+ prepend ParserMethods
182
+ end
183
+ end
metadata ADDED
@@ -0,0 +1,196 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zsv
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.4
5
+ platform: x86_64-linux-gnu
6
+ authors:
7
+ - sebyx07
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: benchmark-ips
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '2.0'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '2.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rake
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '13.0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '13.0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: rake-compiler
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.3'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.3'
54
+ - !ruby/object:Gem::Dependency
55
+ name: rake-compiler-dock
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.12'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.12'
68
+ - !ruby/object:Gem::Dependency
69
+ name: rspec
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.0'
82
+ description: A CSV parser with the reading API of Ruby's CSV stdlib, implemented as
83
+ a C extension over zsv (SIMD-accelerated). Typically several times faster than CSV.
84
+ email:
85
+ - gore.sebyx@yahoo.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - CHANGELOG.md
91
+ - LICENSE
92
+ - README.md
93
+ - ext/zsv/ZSV_UPSTREAM
94
+ - ext/zsv/common.h
95
+ - ext/zsv/extconf.rb
96
+ - ext/zsv/options.c
97
+ - ext/zsv/options.h
98
+ - ext/zsv/options_internal.h
99
+ - ext/zsv/parser.c
100
+ - ext/zsv/parser.h
101
+ - ext/zsv/row.c
102
+ - ext/zsv/row.h
103
+ - ext/zsv/upstream.rb
104
+ - ext/zsv/vendor/zsv/LICENSE
105
+ - ext/zsv/vendor/zsv/VENDORED_FROM
106
+ - ext/zsv/vendor/zsv/configure
107
+ - ext/zsv/vendor/zsv/include/zsv.h.in
108
+ - ext/zsv/vendor/zsv/include/zsv/api.h
109
+ - ext/zsv/vendor/zsv/include/zsv/common.h
110
+ - ext/zsv/vendor/zsv/include/zsv/ext.h
111
+ - ext/zsv/vendor/zsv/include/zsv/ext/implementation.h
112
+ - ext/zsv/vendor/zsv/include/zsv/ext/implementation_private.h
113
+ - ext/zsv/vendor/zsv/include/zsv/ext/sheet.h
114
+ - ext/zsv/vendor/zsv/include/zsv/utils/appname.h
115
+ - ext/zsv/vendor/zsv/include/zsv/utils/arg.h
116
+ - ext/zsv/vendor/zsv/include/zsv/utils/cache.h
117
+ - ext/zsv/vendor/zsv/include/zsv/utils/clock.h
118
+ - ext/zsv/vendor/zsv/include/zsv/utils/compiler.h
119
+ - ext/zsv/vendor/zsv/include/zsv/utils/db.h
120
+ - ext/zsv/vendor/zsv/include/zsv/utils/dirs.h
121
+ - ext/zsv/vendor/zsv/include/zsv/utils/dl.h
122
+ - ext/zsv/vendor/zsv/include/zsv/utils/emcc/fs_api.h
123
+ - ext/zsv/vendor/zsv/include/zsv/utils/err.h
124
+ - ext/zsv/vendor/zsv/include/zsv/utils/file-mem.h
125
+ - ext/zsv/vendor/zsv/include/zsv/utils/file.h
126
+ - ext/zsv/vendor/zsv/include/zsv/utils/jq.h
127
+ - ext/zsv/vendor/zsv/include/zsv/utils/json.h
128
+ - ext/zsv/vendor/zsv/include/zsv/utils/mem.h
129
+ - ext/zsv/vendor/zsv/include/zsv/utils/memmem.h
130
+ - ext/zsv/vendor/zsv/include/zsv/utils/os.h
131
+ - ext/zsv/vendor/zsv/include/zsv/utils/output.h
132
+ - ext/zsv/vendor/zsv/include/zsv/utils/overwrite.h
133
+ - ext/zsv/vendor/zsv/include/zsv/utils/overwrite_writer.h
134
+ - ext/zsv/vendor/zsv/include/zsv/utils/prop.h
135
+ - ext/zsv/vendor/zsv/include/zsv/utils/rng.h
136
+ - ext/zsv/vendor/zsv/include/zsv/utils/signal.h
137
+ - ext/zsv/vendor/zsv/include/zsv/utils/sql.h
138
+ - ext/zsv/vendor/zsv/include/zsv/utils/string.h
139
+ - ext/zsv/vendor/zsv/include/zsv/utils/utf8.h
140
+ - ext/zsv/vendor/zsv/include/zsv/utils/win/dl.h
141
+ - ext/zsv/vendor/zsv/include/zsv/utils/writer.h
142
+ - ext/zsv/vendor/zsv/include/zsv/zsv_export.h
143
+ - ext/zsv/vendor/zsv/src/Makefile
144
+ - ext/zsv/vendor/zsv/src/vector_delim.c
145
+ - ext/zsv/vendor/zsv/src/zsv.c
146
+ - ext/zsv/vendor/zsv/src/zsv_internal.c
147
+ - ext/zsv/vendor/zsv/src/zsv_scan_delim.c
148
+ - ext/zsv/vendor/zsv/src/zsv_scan_delim_fast.c
149
+ - ext/zsv/vendor/zsv/src/zsv_scan_fixed.c
150
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_avx2.h
151
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_neon.h
152
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_sse2.h
153
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_wasm.h
154
+ - ext/zsv/vendor/zsv/src/zsv_strencode.c
155
+ - ext/zsv/zsv_ext.c
156
+ - lib/zsv.rb
157
+ - lib/zsv/3.3/zsv.so
158
+ - lib/zsv/3.4/zsv.so
159
+ - lib/zsv/4.0/zsv.so
160
+ - lib/zsv/errors.rb
161
+ - lib/zsv/input.rb
162
+ - lib/zsv/options.rb
163
+ - lib/zsv/strict_validator.rb
164
+ - lib/zsv/version.rb
165
+ homepage: https://github.com/sebyx07/zsv-ruby
166
+ licenses:
167
+ - MIT
168
+ metadata:
169
+ homepage_uri: https://github.com/sebyx07/zsv-ruby
170
+ source_code_uri: https://github.com/sebyx07/zsv-ruby
171
+ changelog_uri: https://github.com/sebyx07/zsv-ruby/blob/main/CHANGELOG.md
172
+ rubygems_mfa_required: 'true'
173
+ zsv_version: 1.4.4
174
+ zsv_source_uri: https://github.com/liquidaty/zsv
175
+ zsv_license: MIT
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '3.3'
184
+ - - "<"
185
+ - !ruby/object:Gem::Version
186
+ version: 4.1.dev
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: 3.3.22
192
+ requirements: []
193
+ rubygems_version: 4.0.6
194
+ specification_version: 4
195
+ summary: SIMD-accelerated CSV parser wrapping the zsv C library
196
+ test_files: []