jsonschema_rs 0.49.9
“High-performance JSON Schema validator with support for Draft 4, 6, 7, 2019-09, and 2020-12.”
File is named extconf.rb
SHA-2567c295cbe272bc822d4e69baff600810f876bea623bd231f117162f81234f76b6
MaleculeH(Os)Md(Bk₂)
Evidence
1# frozen_string_literal: true
2
3require "mkmf"
4require "rb_sys/mkmf"
5
6create_rust_makefile("jsonschema/jsonschema_rb") do |r|
⋯4 lines
11 File.exist?("/etc/alpine-release") ||
12 begin
13 `ldd --version 2>&1` =~ /musl/
14 rescue StandardError
15 false
16 end ||
17 `rustc -vV 2>/dev/null`[/host: (.+)/, 1]&.include?("musl")
18
19 if musl_target
20 # Disable static CRT on musl.
21 r.extra_rustflags = ["-C", "target-feature=-crt-static"]
22 end
23end
1# frozen_string_literal: true
2
3require_relative "jsonschema/version"
4
5begin
6 RUBY_VERSION =~ /(\d+\.\d+)/
7 require "jsonschema/#{Regexp.last_match(1)}/jsonschema_rb"
8rescue LoadError
9 require "jsonschema/jsonschema_rb"
10end
9:18… ps://github.com/Stranger6667/jsonschema"
10publish = false
11
12[lib]
13crate-type = ["cdylib"]
14
15[dependencies]
16jsonschema = { version = "0.49.9", default-features = false, features = ["magnus", "arbitrary-precision", "res …
⋯4 lines
6
7[lib]
8crate-type = ["cdylib"]
9name = "jsonschema_rb"
10path = "../../src/lib.rs"
11
12[dependencies]
13jsonschema = { version = "0.49.9", default-features = false, …
No evidence locations were recorded for this file. Raw result