crawlberg 1.11.0-x86_64-linux

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.
@@ -0,0 +1,42 @@
1
+ # This file is auto-generated by alef — DO NOT EDIT.
2
+ # alef:hash:250b27ae33dca5fc53a5d4ba444b1759ca0977e9dbf24546d07b20cc13b55aee
3
+ # To regenerate: alef generate
4
+ # To verify freshness: alef verify
5
+
6
+ [package]
7
+ name = "crawlberg-rb"
8
+ version = "1.11.0"
9
+ edition = "2024"
10
+ authors = ["Na'aman Hirschfeld <naaman@xberg.io>", "Tobias Perlstein <tobias@xberg.io>"]
11
+ license = "MIT"
12
+ description = "High-performance web crawling engine"
13
+ readme = false
14
+ keywords = ["crawl", "scrape", "spider", "web"]
15
+ categories = []
16
+
17
+ [package.metadata.cargo-machete]
18
+ ignored = ["rb-sys"]
19
+
20
+ [lib]
21
+ name = "crawlberg_rb"
22
+ path = "../src/lib.rs"
23
+ crate-type = ["cdylib"]
24
+
25
+ [dependencies]
26
+ crawlberg = { version = "1.11.0", features = ["interact", "browser-chromiumoxide"] }
27
+ futures = "0.3"
28
+ magnus = "0.9"
29
+ rb-sys = ">=0.9.130, <0.10"
30
+ serde = { version = "1", features = ["derive"] }
31
+ serde_json = "1"
32
+ tokio = { version = "1", features = ["rt-multi-thread"] }
33
+
34
+ # This crate deliberately does not use `[lints]` / `workspace = true`: its C-ABI /
35
+ # PyO3 / napi / ext-php-rs / NIF boundary requires `unsafe` code. Local lint tables
36
+ # avoid inheriting workspace policies that could reject these boundaries, and select
37
+ # the lints this binding can actually satisfy. ~keep
38
+ [lints.clippy]
39
+ all = { level = "warn", priority = -1 }
40
+ dbg_macro = "deny"
41
+ print_stderr = "deny"
42
+ print_stdout = "deny"
@@ -0,0 +1,19 @@
1
+ # This file is auto-generated by alef — DO NOT EDIT.
2
+ # alef:hash:5326e03e26baf331d1f85eb82de9b52903317cf694aa9d920b1b22dc6c1f009f
3
+ # To regenerate: alef generate
4
+ # To verify freshness: alef verify
5
+
6
+ # frozen_string_literal: true
7
+
8
+ require "mkmf"
9
+ require "rb_sys/mkmf"
10
+
11
+ default_profile = ENV.fetch("CARGO_PROFILE", "release")
12
+
13
+ create_rust_makefile("crawlberg_rb") do |config|
14
+ config.profile = default_profile.to_sym
15
+ # extconf.rb and Cargo.toml are siblings under ext/crawlberg_rb/native/; rb_sys interprets
16
+ # ext_dir relative to extconf.rb, so "." finds the sibling Cargo.toml. "native" would
17
+ # resolve to native/native/Cargo.toml and break `gem install` on end-user machines.
18
+ config.ext_dir = "."
19
+ end