Codebase list rust-libslirp / c9d1743
update more cargo dependencies, needed for vendoring latest versions Ximin Luo 2 years ago
44 changed file(s) with 200 addition(s) and 368 deletion(s). Raw diff Collapse all Expand all
0 rust-adler (0.2.3-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
0 rust-adler (1.0.2-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
11
2 * Team upload.
3 * Package adler 1.0.2 from crates.io using debcargo 2.4.4
4
5 [ Daniel Kahn Gillmor ]
26 * Package adler 0.2.3 from crates.io using debcargo 2.4.3
37 * drop unnecessary benchmarking to avoid criterion dependency
48 * clean up test with --no-default-features (fix already upstream
59 but not yet released)
610
7 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 19 Oct 2020 13:04:00 -0400
11 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:03:12 +0100
88
99 Files: debian/*
1010 Copyright:
11 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
11 2020-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1212 2020 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
1313 License: 0BSD or MIT or Apache-2.0
1414
1313
1414 Files: debian/*
1515 Copyright:
16 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
17 2020 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
16 2020-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
17 2020-2021 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
1818 License: 0BSD or MIT or Apache-2.0
1919
2020 License: 0BSD
00 drop-criterion.patch
1 Avoid-test-using-stdi-io-BufReader-without-default.patch
0 rust-bstr (0.2.17-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package bstr 0.2.17 from crates.io using debcargo 2.4.4
4
5 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:04:08 +0100
6
07 rust-bstr (0.2.12-1) unstable; urgency=medium
18
29 * Package bstr 0.2.12 from crates.io using debcargo 2.4.0
1212
1313 Files: debian/*
1414 Copyright:
15 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
15 2019-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1616 2019 Sylvestre Ledru <sylvestre@debian.org>
1717 License: MIT or Apache-2.0
1818
4848
4949 Files: debian/*
5050 Copyright:
51 2019-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
52 2019-2020 Sylvestre Ledru <sylvestre@debian.org>
51 2019-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
52 2019-2021 Sylvestre Ledru <sylvestre@debian.org>
5353 License: MIT or Apache-2.0
5454
5555 License: Apache-2.0
+0
-13
src/bstr/debian/patches/increase-dep-memchr.diff less more
0 Index: bstr/Cargo.toml
1 ===================================================================
2 --- bstr.orig/Cargo.toml
3 +++ bstr/Cargo.toml
4 @@ -33,7 +33,7 @@ version = "1.2"
5 optional = true
6
7 [dependencies.memchr]
8 -version = "2.1.2"
9 +version = "2.2.1"
10 default-features = false
11
12 [dependencies.regex-automata]
+0
-1
src/bstr/debian/patches/series less more
0 increase-dep-memchr.diff
0 rust-getrandom (0.1.14-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
0 rust-getrandom (0.1.16-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
11
22 * Team upload.
3 * Package getrandom 0.1.14 from crates.io using debcargo 2.4.2
3 * Package getrandom 0.1.16 from crates.io using debcargo 2.4.4
44
5 -- Ximin Luo <infinity0@debian.org> Sat, 18 Apr 2020 19:10:02 +0100
5 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:34:16 +0100
66
77 rust-getrandom (0.1.13-4) unstable; urgency=medium
88
176176
177177 Files: debian/*
178178 Copyright:
179 2019-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
180 2019-2020 kpcyrd <git@rxv.cc>
179 2019-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
180 2019-2021 kpcyrd <git@rxv.cc>
181181 License: MIT or Apache-2.0
182182
183183 License: Apache-2.0
0 Index: getrandom/Cargo.toml
1 ===================================================================
2 --- getrandom.orig/Cargo.toml
3 +++ getrandom/Cargo.toml
4 @@ -42,8 +42,6 @@ dummy = []
5 rustc-dep-of-std = ["compiler_builtins", "core"]
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -43,8 +43,6 @@
63 std = []
74 test-in-browser = ["wasm-bindgen"]
5 wasm-bindgen = ["bindgen", "js-sys"]
86 -[target."cfg(target_os = \"wasi\")".dependencies.wasi]
97 -version = "0.9"
108 [target."cfg(unix)".dependencies.libc]
0 rust-libssh2-sys (0.2.23-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package libssh2-sys 0.2.23 from crates.io using debcargo 2.4.4
3
4 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:10:29 +0100
5
06 rust-libssh2-sys (0.2.20-1) unstable; urgency=medium
17
28 * Team upload.
1414
1515 Files: debian/*
1616 Copyright:
17 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
18 2018-2020 Ximin Luo <infinity0@debian.org>
17 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
18 2018-2021 Ximin Luo <infinity0@debian.org>
1919 License: MIT or Apache-2.0
2020
2121 License: Apache-2.0
1919
2020 Files: debian/*
2121 Copyright:
22 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
23 2018-2020 Ximin Luo <infinity0@debian.org>
22 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
23 2018-2021 Ximin Luo <infinity0@debian.org>
2424 License: MIT or Apache-2.0
2525
2626 License: Apache-2.0
00 --- a/Cargo.toml
11 +++ b/Cargo.toml
2 @@ -35,7 +35,7 @@
3 version = "0.3.11"
2 @@ -39,7 +39,6 @@
43
54 [features]
5 openssl-on-win32 = ["openssl-sys"]
66 -vendored-openssl = ["openssl-sys/vendored"]
7 +vendored-openssl = []
87 zlib-ng-compat = ["libz-sys/zlib-ng"]
98 [target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
109 version = "0.2"
00 --- a/build.rs
11 +++ b/build.rs
2 @@ -17,7 +17,7 @@
2 @@ -20,7 +20,7 @@
33 // can lead to having two copies of libssl loaded at once.
44 // See https://github.com/alexcrichton/ssh2-rs/pull/88
55 println!("cargo:rerun-if-env-changed=LIBSSH2_SYS_USE_PKG_CONFIG");
88 if zlib_ng_compat {
99 panic!("LIBSSH2_SYS_USE_PKG_CONFIG set, but cannot use zlib-ng-compat with system libssh2");
1010 }
11 @@ -26,7 +26,7 @@
11 @@ -32,7 +32,7 @@
1212 }
1313 }
1414
0 --- libssh2-sys/Cargo.toml 2020-12-07 00:44:25.527275557 +0000
1 +++ libssh2-sys/Cargo.toml 2020-12-07 00:41:07.631483621 +0000
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
22 @@ -39,7 +39,6 @@
33
44 [features]
5 vendored-openssl = []
5 openssl-on-win32 = ["openssl-sys"]
66 -zlib-ng-compat = ["libz-sys/zlib-ng"]
77 [target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
88 version = "0.2"
0 rust-log (0.4.14-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package log 0.4.14 from crates.io using debcargo 2.4.4
4
5 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:12:57 +0100
6
07 rust-log (0.4.11-2) unstable; urgency=medium
18
29 * Package log 0.4.11 from crates.io using debcargo 2.4.3
77 License: MIT or Apache-2.0
88
99 Files: debian/*
10 Copyright: 2018-2020 Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
10 Copyright: 2018-2021 Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1111 2018-2019 Sylvestre Ledru <sylvestre@debian.org>
1212 2020 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
1313 License: MIT or Apache-2.0
3434
3535 Files: debian/*
3636 Copyright:
37 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
38 2018-2020 Sylvestre Ledru <sylvestre@debian.org>
37 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
38 2018-2021 Sylvestre Ledru <sylvestre@debian.org>
3939 License: MIT or Apache-2.0
4040
4141 License: Apache-2.0
00 overlay = "."
11 uploaders = ["Sylvestre Ledru <sylvestre@debian.org>"]
2 allow_prerelease_deps = true
23
34 [packages."lib+@"]
45 test_is_broken = true
0 Index: log/Cargo.toml
1 ===================================================================
2 --- log.orig/Cargo.toml
3 +++ log/Cargo.toml
4 @@ -24,7 +24,7 @@ categories = ["development-tools::debugg
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -24,7 +24,7 @@
53 license = "MIT OR Apache-2.0"
64 repository = "https://github.com/rust-lang/log"
75 [package.metadata.docs.rs]
8 -features = ["std", "serde", "kv_unstable_sval"]
9 +features = ["std", "serde"]
6 -features = ["std", "serde", "kv_unstable_std", "kv_unstable_sval", "kv_unstable_serde"]
7 +features = ["std", "serde", "kv_unstable_std", "kv_unstable_serde"]
108
119 [[test]]
1210 name = "filters"
13 @@ -41,20 +41,21 @@ version = "1.0"
11 @@ -43,11 +43,6 @@
1412 optional = true
1513 default-features = false
1614
1715 -[dependencies.sval]
18 -version = "0.5.2"
16 -version = "1.0.0-alpha.5"
1917 -optional = true
2018 -default-features = false
21 +# [dependencies.sval]
22 +# version = "0.5.2"
23 +# optional = true
24 +# default-features = false
25 +
19 -
20 [dependencies.value-bag]
21 version = "1.0.0-alpha.6"
22 optional = true
23 @@ -59,10 +54,6 @@
2624 [dev-dependencies.serde_test]
2725 version = "1.0"
2826
2927 -[dev-dependencies.sval]
30 -version = "0.5.2"
31 -features = ["test"]
32 +# [dev-dependencies.sval]
33 +# version = "0.5.2"
34 +# features = ["test"]
35
36 [features]
37 kv_unstable = []
38 -kv_unstable_sval = ["kv_unstable", "sval/fmt"]
39 +kv_unstable_sval = ["kv_unstable"]#, "sval/fmt"]
28 -version = "1.0.0-alpha.5"
29 -features = ["derive"]
30 -
31 [dev-dependencies.value-bag]
32 version = "1.0.0-alpha.6"
33 features = ["test"]
34 @@ -71,7 +62,6 @@
35 kv_unstable = ["value-bag"]
36 kv_unstable_serde = ["kv_unstable_std", "value-bag/serde", "serde"]
37 kv_unstable_std = ["std", "kv_unstable", "value-bag/error"]
38 -kv_unstable_sval = ["kv_unstable", "value-bag/sval", "sval"]
4039 max_level_debug = []
4140 max_level_error = []
4241 max_level_info = []
0 rust-openssl (0.10.36-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package openssl 0.10.36 from crates.io using debcargo 2.4.4
3
4 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:15:56 +0100
5
06 rust-openssl (0.10.29-1) unstable; urgency=medium
17
28 * Package openssl 0.10.29 from crates.io using debcargo 2.4.2
1111
1212 Files: debian/*
1313 Copyright:
14 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
15 2018-2020 Ximin Luo <infinity0@debian.org>
14 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
15 2018-2021 Ximin Luo <infinity0@debian.org>
1616 License: Apache-2.0
1717
1818 License: Apache-2.0
2020
2121 Files: debian/*
2222 Copyright:
23 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
24 2018-2020 Ximin Luo <infinity0@debian.org>
23 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
24 2018-2021 Ximin Luo <infinity0@debian.org>
2525 License: Apache-2.0
2626
2727 License: Apache-2.0
00 --- a/Cargo.toml
11 +++ b/Cargo.toml
2 @@ -51,4 +51,4 @@
2 @@ -50,4 +50,3 @@
33 v102 = []
44 v110 = []
55 v111 = []
6 -vendored = ["openssl-sys/vendored"]
7 +vendored = []
6 -vendored = ["ffi/vendored"]
0 rust-pkg-config (0.3.21-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package pkg-config 0.3.21 from crates.io using debcargo 2.4.4
3
4 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:22:21 +0100
5
06 rust-pkg-config (0.3.18-1) unstable; urgency=medium
17
28 * Package pkg-config 0.3.18 from crates.io using debcargo 2.4.3
2020
2121 Files: debian/*
2222 Copyright:
23 2018-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
24 2018-2020 Ximin Luo <infinity0@debian.org>
23 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
24 2018-2021 Ximin Luo <infinity0@debian.org>
2525 License: MIT or Apache-2.0
2626
2727 License: Apache-2.0
00 --- a/src/lib.rs
11 +++ b/src/lib.rs
2 @@ -399,7 +389,11 @@ impl Config {
2 @@ -414,7 +414,11 @@
33 fn command(&self, name: &str, args: &[&str]) -> Command {
44 let exe = self
5 .env_var_os("PKG_CONFIG")
5 .targetted_env_var("PKG_CONFIG")
66 - .unwrap_or_else(|| OsString::from("pkg-config"));
77 + .unwrap_or_else(|| {
88 + self.env_var_os("DEB_HOST_GNU_TYPE")
+0
-27
src/pkg-config/debian/patches/disable-test.diff less more
0 Index: pkg-config/tests/test.rs
1 ===================================================================
2 --- pkg-config.orig/tests/test.rs
3 +++ pkg-config/tests/test.rs
4 @@ -64,7 +64,6 @@ fn cross_enabled_if_customized() {
5 find("foo").unwrap();
6 }
7
8 -#[test]
9 fn cross_disabled_if_customized() {
10 let _g = LOCK.lock();
11 reset();
12 @@ -72,10 +71,10 @@ fn cross_disabled_if_customized() {
13 env::set_var("HOST", "bar");
14 env::set_var("PKG_CONFIG_ALLOW_CROSS", "0");
15 env::set_var("PKG_CONFIG_SYSROOT_DIR", "/tmp/cross-test");
16 - match find("foo") {
17 - Err(Error::CrossCompilation) => {}
18 - _ => panic!("expected CrossCompilation failure"),
19 - }
20 +// match find("foo") {
21 +// Err(Error::CrossCompilation) => {}
22 +// _ => panic!("expected CrossCompilation failure"),
23 +// }
24 }
25
26 #[test]
00 --- a/src/lib.rs
11 +++ b/src/lib.rs
2 @@ -9,8 +9,6 @@
3 //! A number of environment variables are available to globally configure how
4 //! this crate will invoke `pkg-config`:
5 //!
6 -//! * `PKG_CONFIG_ALLOW_CROSS` - if this variable is not set, then `pkg-config`
7 -//! will automatically be disabled for all cross compiles.
2 @@ -12,13 +12,6 @@
83 //! * `FOO_NO_PKG_CONFIG` - if set, this will disable running `pkg-config` when
94 //! probing for the library named `foo`.
105 //!
11 @@ -106,9 +104,8 @@ pub enum Error {
6 -//! * `PKG_CONFIG_ALLOW_CROSS` - The `pkg-config` command usually doesn't
7 -//! support cross-compilation, and this crate prevents it from selecting
8 -//! incompatible versions of libraries.
9 -//! Setting `PKG_CONFIG_ALLOW_CROSS=1` disables this protection, which is
10 -//! likely to cause linking errors, unless `pkg-config` has been configured
11 -//! to use appropriate sysroot and search paths for the target platform.
12 -//!
13 //! There are also a number of environment variables which can configure how a
14 //! library is linked to (dynamically vs statically). These variables control
15 //! whether the `--static` flag is passed. Note that this behavior can be
16 @@ -110,11 +103,8 @@
1217 /// Contains the name of the responsible environment variable.
1318 EnvNoPkgConfig(String),
1419
15 - /// Cross compilation detected.
20 - /// Detected cross compilation without a custom sysroot.
1621 - ///
17 - /// Override with `PKG_CONFIG_ALLOW_CROSS=1`.
22 - /// Ignore the error with `PKG_CONFIG_ALLOW_CROSS=1`,
23 - /// which may let `pkg-config` select libraries
24 - /// for the host's architecture instead of the target's.
1825 + /// Cross compilation detected. Kept for compatibility;
1926 + /// the Debian package never emits this.
2027 CrossCompilation,
2128
2229 /// Failed to run `pkg-config`.
23 @@ -152,11 +145,6 @@ impl fmt::Display for Error {
30 @@ -145,14 +135,6 @@
2431 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
2532 match *self {
2633 Error::EnvNoPkgConfig(ref name) => write!(f, "Aborted because {} is set", name),
27 - Error::CrossCompilation => write!(
28 - f,
29 - "Cross compilation detected. \
30 - Use PKG_CONFIG_ALLOW_CROSS=1 to override"
34 - Error::CrossCompilation => f.write_str(
35 - "pkg-config has not been configured to support cross-compilation.\n\
36 - \n\
37 - Install a sysroot for the target platform and configure it via\n\
38 - PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a\n\
39 - cross-compiling wrapper for pkg-config and set it via\n\
40 - PKG_CONFIG environment variable.",
3141 - ),
3242 Error::Command {
3343 ref command,
3444 ref cause,
35 @@ -180,7 +168,7 @@ impl fmt::Display for Error {
45 @@ -205,7 +187,7 @@
3646 }
3747 Ok(())
3848 }
4151 }
4252 }
4353 }
44 @@ -341,6 +329,8 @@ impl Config {
54 @@ -371,6 +353,8 @@
4555 if host == target {
4656 return true;
4757 }
5262 // a wrapper script that sets up platform-specific prefixes.
5363 --- a/tests/test.rs
5464 +++ b/tests/test.rs
55 @@ -34,7 +34,6 @@ fn find(name: &str) -> Result<pkg_config
65 @@ -34,7 +34,6 @@
5666 pkg_config::probe_library(name)
5767 }
5868
6070 fn cross_disabled() {
6171 let _g = LOCK.lock();
6272 reset();
63 @@ -46,7 +45,6 @@ fn cross_disabled() {
73 @@ -46,7 +45,6 @@
6474 }
6575 }
6676
6878 fn cross_enabled() {
6979 let _g = LOCK.lock();
7080 reset();
81 @@ -66,7 +64,6 @@
82 find("foo").unwrap();
83 }
84
85 -#[test]
86 fn cross_disabled_if_customized() {
87 let _g = LOCK.lock();
88 reset();
89 @@ -74,10 +71,10 @@
90 env::set_var("HOST", "bar");
91 env::set_var("PKG_CONFIG_ALLOW_CROSS", "0");
92 env::set_var("PKG_CONFIG_SYSROOT_DIR", "/tmp/cross-test");
93 - match find("foo") {
94 - Err(Error::CrossCompilation) => {}
95 - _ => panic!("expected CrossCompilation failure"),
96 - }
97 +// match find("foo") {
98 +// Err(Error::CrossCompilation) => {}
99 +// _ => panic!("expected CrossCompilation failure"),
100 +// }
101 }
102
103 #[test]
00 no-special-snowflake-env.patch
11 debian-auto-cross-compile.patch
2 disable-test.diff
0 rust-regex (1.3.9-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package regex 1.3.9 from crates.io using debcargo 2.4.4
4
5 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:44:24 +0100
6
07 rust-regex (1.3.8-1) experimental; urgency=medium
18
29 * Package regex 1.3.8 from crates.io using debcargo 2.4.4
0 rust-regex-automata (0.1.10-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package regex-automata 0.1.10 from crates.io using debcargo 2.4.4
4
5 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:51:04 +0100
6
07 rust-regex-automata (0.1.8-2) unstable; urgency=medium
18
29 * Team upload.
33 Source: https://github.com/BurntSushi/regex-automata
44
55 Files: *
6 Copyright: 2018-2019 Andrew Gallant <jamslam@gmail.com>
6 Copyright: 2018-2021 Andrew Gallant <jamslam@gmail.com>
77 License: Unlicense or MIT
88
99 Files: debian/*
1010 Copyright:
11 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
11 2019-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1212 2019 Sylvestre Ledru <sylvestre@debian.org>
1313 License: Unlicense or MIT
1414
2020
2121 Files: debian/*
2222 Copyright:
23 2019-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
24 2019-2020 Sylvestre Ledru <sylvestre@debian.org>
23 2019-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
24 2019-2021 Sylvestre Ledru <sylvestre@debian.org>
2525 License: Unlicense or MIT
2626
2727 License: MIT
00 overlay = "."
11 uploaders = ["Sylvestre Ledru <sylvestre@debian.org>"]
2
3 [packages.lib]
4 # some tests require std but they are also configured to run on the no-std feature
5 # there is a proper way to fix it, see the git history of this directory for an
6 # example patch, but it is simply unmaintainable
7 test_is_broken = true
8
9 [packages."lib+std"]
10 test_is_broken = false
+0
-220
src/regex-automata/debian/patches/ignore-std-tests.patch less more
0 --- a/src/dense.rs
1 +++ b/src/dense.rs
2 @@ -119,7 +119,7 @@
3 /// This type implements the [`DFA`](trait.DFA.html) trait, which means it
4 /// can be used for searching. For example:
5 ///
6 -/// ```
7 +#[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
8 /// use regex_automata::{DFA, DenseDFA};
9 ///
10 /// # fn example() -> Result<(), regex_automata::Error> {
11 @@ -502,7 +502,7 @@
12 /// decrease the size of the DFA and to avoid platform specific pitfalls
13 /// such as differing pointer sizes.
14 ///
15 - /// ```
16 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
17 /// use regex_automata::{DFA, DenseDFA};
18 ///
19 /// # fn example() -> Result<(), regex_automata::Error> {
20 @@ -2246,6 +2246,7 @@
21 String::from_utf8(ascii::escape_default(b).collect::<Vec<_>>()).unwrap()
22 }
23
24 +#[cfg(feature = "std")]
25 #[cfg(test)]
26 #[allow(dead_code)]
27 mod tests {
28 --- a/tests/tests.rs
29 +++ b/tests/tests.rs
30 @@ -10,7 +10,10 @@
31 extern crate serde_derive;
32 extern crate toml;
33
34 +#[cfg(feature = "std")]
35 mod collection;
36 +#[cfg(feature = "std")]
37 mod regression;
38 +#[cfg(feature = "std")]
39 mod suite;
40 mod unescape;
41 --- a/src/dfa.rs
42 +++ b/src/dfa.rs
43 @@ -78,7 +78,7 @@
44 /// This example shows how to use this method with a
45 /// [`DenseDFA`](enum.DenseDFA.html).
46 ///
47 - /// ```
48 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
49 /// use regex_automata::{DFA, DenseDFA};
50 ///
51 /// # fn example() -> Result<(), regex_automata::Error> {
52 @@ -104,7 +104,7 @@
53 /// This example shows how to use this method with a
54 /// [`DenseDFA`](enum.DenseDFA.html).
55 ///
56 - /// ```
57 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
58 /// use regex_automata::{DFA, DenseDFA};
59 ///
60 /// # fn example() -> Result<(), regex_automata::Error> {
61 @@ -153,7 +153,7 @@
62 /// both `Sam|Samwise` and `Samwise|Sam` match `Samwise` when using
63 /// leftmost longest semantics.
64 ///
65 - /// ```
66 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
67 /// use regex_automata::{DFA, DenseDFA};
68 ///
69 /// # fn example() -> Result<(), regex_automata::Error> {
70 @@ -187,7 +187,7 @@
71 /// `find` and `rfind` with the same DFA since any particular DFA will only
72 /// support searching in one direction.
73 ///
74 - /// ```
75 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
76 /// use regex_automata::{dense, DFA};
77 ///
78 /// # fn example() -> Result<(), regex_automata::Error> {
79 --- a/src/lib.rs
80 +++ b/src/lib.rs
81 @@ -29,7 +29,7 @@
82 This example shows how to compile a regex using the default configuration
83 and then use it to find matches in a byte string:
84
85 -```
86 +*/#![cfg_attr(feature = "std", doc = "```")] #![cfg_attr(not(feature = "std"), doc = "```ignore")]/*!
87 use regex_automata::Regex;
88
89 let re = Regex::new(r"[0-9]{4}-[0-9]{2}-[0-9]{2}").unwrap();
90 @@ -48,7 +48,7 @@
91 Using sparse DFAs is as easy as using `Regex::new_sparse` instead of
92 `Regex::new`:
93
94 -```
95 +*/#![cfg_attr(feature = "std", doc = "```")] #![cfg_attr(not(feature = "std"), doc = "```ignore")]/*!
96 use regex_automata::Regex;
97
98 # fn example() -> Result<(), regex_automata::Error> {
99 @@ -62,7 +62,7 @@
100 If you already have dense DFAs for some reason, they can be converted to sparse
101 DFAs and used to build a new `Regex`. For example:
102
103 -```
104 +*/#![cfg_attr(feature = "std", doc = "```")] #![cfg_attr(not(feature = "std"), doc = "```ignore")]/*!
105 use regex_automata::Regex;
106
107 # fn example() -> Result<(), regex_automata::Error> {
108 @@ -86,7 +86,7 @@
109 deserialization is guaranteed to be cheap because it will always be a constant
110 time operation.
111
112 -```
113 +*/#![cfg_attr(feature = "std", doc = "```")] #![cfg_attr(not(feature = "std"), doc = "```ignore")]/*!
114 use regex_automata::{DenseDFA, Regex};
115
116 # fn example() -> Result<(), regex_automata::Error> {
117 @@ -139,7 +139,7 @@
118
119 The same process can be achieved with sparse DFAs as well:
120
121 -```
122 +*/#![cfg_attr(feature = "std", doc = "```")] #![cfg_attr(not(feature = "std"), doc = "```ignore")]/*!
123 use regex_automata::{SparseDFA, Regex};
124
125 # fn example() -> Result<(), regex_automata::Error> {
126 --- a/src/regex.rs
127 +++ b/src/regex.rs
128 @@ -86,7 +86,7 @@
129 /// enough to build corresponding sparse DFAs, and then build a regex from
130 /// them:
131 ///
132 -/// ```
133 +#[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
134 /// use regex_automata::Regex;
135 ///
136 /// # fn example() -> Result<(), regex_automata::Error> {
137 @@ -179,7 +179,7 @@
138 ///
139 /// # Example
140 ///
141 - /// ```
142 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
143 /// use regex_automata::Regex;
144 ///
145 /// # fn example() -> Result<(), regex_automata::Error> {
146 @@ -201,7 +201,7 @@
147 ///
148 /// # Example
149 ///
150 - /// ```
151 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
152 /// use regex_automata::Regex;
153 ///
154 /// # fn example() -> Result<(), regex_automata::Error> {
155 @@ -235,7 +235,7 @@
156 ///
157 /// # Example
158 ///
159 - /// ```
160 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
161 /// use regex_automata::Regex;
162 ///
163 /// # fn example() -> Result<(), regex_automata::Error> {
164 @@ -313,7 +313,7 @@
165 ///
166 /// # Example
167 ///
168 - /// ```
169 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
170 /// use regex_automata::Regex;
171 ///
172 /// # fn example() -> Result<(), regex_automata::Error> {
173 @@ -342,7 +342,7 @@
174 /// would involve serializing `initial_re` somewhere and then deserializing
175 /// it later to build a regex.
176 ///
177 - /// ```
178 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
179 /// use regex_automata::Regex;
180 ///
181 /// # fn example() -> Result<(), regex_automata::Error> {
182 @@ -358,7 +358,7 @@
183 /// This example shows how you might build smaller DFAs, and then use those
184 /// smaller DFAs to build a new regex.
185 ///
186 - /// ```
187 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
188 /// use regex_automata::Regex;
189 ///
190 /// # fn example() -> Result<(), regex_automata::Error> {
191 @@ -375,7 +375,7 @@
192 /// This example shows how to build a `Regex` that uses sparse DFAs instead
193 /// of dense DFAs:
194 ///
195 - /// ```
196 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
197 /// use regex_automata::Regex;
198 ///
199 /// # fn example() -> Result<(), regex_automata::Error> {
200 --- a/src/sparse.rs
201 +++ b/src/sparse.rs
202 @@ -86,7 +86,7 @@
203 /// This type implements the [`DFA`](trait.DFA.html) trait, which means it
204 /// can be used for searching. For example:
205 ///
206 -/// ```
207 +#[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
208 /// use regex_automata::{DFA, SparseDFA};
209 ///
210 /// # fn example() -> Result<(), regex_automata::Error> {
211 @@ -393,7 +393,7 @@
212 /// decrease the size of the DFA and to avoid platform specific pitfalls
213 /// such as differing pointer sizes.
214 ///
215 - /// ```
216 + #[cfg_attr(feature = "std", doc = "```")] #[cfg_attr(not(feature = "std"), doc = "```ignore")]
217 /// use regex_automata::{DFA, DenseDFA, SparseDFA};
218 ///
219 /// # fn example() -> Result<(), regex_automata::Error> {
+0
-1
src/regex-automata/debian/patches/series less more
0 ignore-std-tests.patch
0 rust-unicode-bidi (0.3.7-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package unicode-bidi 0.3.7 from crates.io using debcargo 2.4.4
4
5 -- Ximin Luo <infinity0@debian.org> Sat, 23 Oct 2021 21:53:53 +0100
6
07 rust-unicode-bidi (0.3.4-2) unstable; urgency=medium
18
29 * Package unicode-bidi 0.3.4 from crates.io using debcargo 2.2.7
88
99 Files: debian/*
1010 Copyright:
11 2018 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
11 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
1212 2018 Paride Legovini <paride@debian.org>
1313 License: MIT or Apache-2.0
1414
8383
8484 Files: debian/*
8585 Copyright:
86 2018 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
87 2018 Paride Legovini <pl@ninthfloor.org>
88 2018 kpcyrd <git@rxv.cc>
86 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
87 2018-2021 Paride Legovini <paride@debian.org>
88 2018-2021 kpcyrd <git@rxv.cc>
8989 License: MIT or Apache-2.0
9090
9191 License: Apache-2.0
0 --- a/Cargo.toml 2017-07-06 23:45:07.000000000 +0000
1 +++ b/Cargo.toml 2018-09-15 18:09:13.913086470 +0000
2 @@ -23,13 +23,6 @@
0 --- a/Cargo.toml
1 +++ b/Cargo.toml
2 @@ -25,13 +25,6 @@
33
44 [lib]
55 name = "unicode_bidi"
66 -[dependencies.flame]
7 -version = "0.1"
7 -version = "0.2"
88 -optional = true
99 -
1010 -[dependencies.flamer]
11 -version = "0.1"
11 -version = "0.4"
1212 -optional = true
1313
14 [dependencies.matches]
15 version = "0.1"
16 @@ -44,6 +37,5 @@
14 [dependencies.serde]
15 version = ">=0.8, <2.0"
16 @@ -44,7 +37,6 @@
1717 [features]
1818 bench_it = []
19 default = []
19 default = ["std"]
2020 -flame_it = ["flame", "flamer"]
21 std = []
2122 unstable = []
2223 with_serde = ["serde"]