mirror of
https://git.proxmox.com/git/debcargo-conf
synced 2025-04-28 11:42:14 +00:00
package schemars, needed for cargo-auditable
This commit is contained in:
parent
4a16f67c9b
commit
196deb51ed
2
src/schemars/debian/RFS
Normal file
2
src/schemars/debian/RFS
Normal file
@ -0,0 +1,2 @@
|
||||
depends on serde-derive-internals and schemars-derive
|
||||
needed for cargo-auditable, please upload after the freeze
|
5
src/schemars/debian/changelog
Normal file
5
src/schemars/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
rust-schemars (0.8.11-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
||||
|
||||
* Package schemars 0.8.11 from crates.io using debcargo 2.6.0
|
||||
|
||||
-- Alexander Kjäll <alexander.kjall@gmail.com> Sat, 25 Feb 2023 13:08:59 +0100
|
33
src/schemars/debian/copyright
Normal file
33
src/schemars/debian/copyright
Normal file
@ -0,0 +1,33 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: schemars
|
||||
Upstream-Contact: Graham Esau <gesau@hotmail.co.uk>
|
||||
Source: https://github.com/GREsau/schemars
|
||||
|
||||
Files: *
|
||||
Copyright: 2019-2022 Graham Esau <gesau@hotmail.co.uk>
|
||||
License: MIT
|
||||
|
||||
Files: debian/*
|
||||
Copyright:
|
||||
2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
||||
2023 Alexander Kjäll <alexander.kjall@gmail.com>
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
45
src/schemars/debian/copyright.debcargo.hint
Normal file
45
src/schemars/debian/copyright.debcargo.hint
Normal file
@ -0,0 +1,45 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: schemars
|
||||
Upstream-Contact: Graham Esau <gesau@hotmail.co.uk>
|
||||
Source: https://github.com/GREsau/schemars
|
||||
|
||||
Files: *
|
||||
Copyright: FIXME (overlay) UNKNOWN-YEARS Graham Esau <gesau@hotmail.co.uk>
|
||||
License: MIT
|
||||
Comment:
|
||||
FIXME (overlay): Since upstream copyright years are not available in
|
||||
Cargo.toml, they were extracted from the upstream Git repository. This may not
|
||||
be correct information so you should review and fix this before uploading to
|
||||
the archive.
|
||||
|
||||
Files: LICENSE
|
||||
Copyright: 2019 Graham Esau
|
||||
License: UNKNOWN-LICENSE; FIXME (overlay)
|
||||
Comment:
|
||||
FIXME (overlay): These notices are extracted from files. Please review them
|
||||
before uploading to the archive.
|
||||
|
||||
Files: debian/*
|
||||
Copyright:
|
||||
2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
||||
2023 Alexander Kjäll <alexander.kjall@gmail.com>
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
54
src/schemars/debian/debcargo.toml
Normal file
54
src/schemars/debian/debcargo.toml
Normal file
@ -0,0 +1,54 @@
|
||||
overlay = "."
|
||||
uploaders = ["Alexander Kjäll <alexander.kjall@gmail.com>"]
|
||||
collapse_features = true
|
||||
|
||||
[packages."lib+@"]
|
||||
test_is_broken = false
|
||||
|
||||
[packages."lib+default"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+arrayvec07"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+bigdecimal"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+bytes"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+chrono"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+either"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+enumset"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+indexmap"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+rust-decimal"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+schemars-derive"]
|
||||
test_is_broken = false
|
||||
|
||||
[packages."lib+smallvec"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+url"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+uuid1"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+rust_decimal"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib+ui_test"]
|
||||
test_is_broken = true
|
||||
|
||||
[packages."lib"]
|
||||
test_is_broken = true
|
@ -0,0 +1,98 @@
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index c12b53d..67c21af 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -45,7 +45,6 @@ required-features = ["either"]
|
||||
[[test]]
|
||||
name = "uuid"
|
||||
required-features = [
|
||||
- "uuid08",
|
||||
"uuid1",
|
||||
]
|
||||
|
||||
@@ -60,7 +59,6 @@ required-features = ["bytes"]
|
||||
[[test]]
|
||||
name = "arrayvec"
|
||||
required-features = [
|
||||
- "arrayvec05",
|
||||
"arrayvec07",
|
||||
]
|
||||
|
||||
@@ -80,12 +78,6 @@ required-features = ["url"]
|
||||
name = "enumset"
|
||||
required-features = ["enumset"]
|
||||
|
||||
-[dependencies.arrayvec05]
|
||||
-version = "0.5"
|
||||
-optional = true
|
||||
-default-features = false
|
||||
-package = "arrayvec"
|
||||
-
|
||||
[dependencies.arrayvec07]
|
||||
version = "0.7"
|
||||
optional = true
|
||||
@@ -148,12 +140,6 @@ version = "2.0"
|
||||
optional = true
|
||||
default-features = false
|
||||
|
||||
-[dependencies.uuid08]
|
||||
-version = "0.8"
|
||||
-optional = true
|
||||
-default-features = false
|
||||
-package = "uuid"
|
||||
-
|
||||
[dependencies.uuid1]
|
||||
version = "1.0"
|
||||
optional = true
|
||||
@@ -167,7 +153,7 @@ version = "1.2.1"
|
||||
version = "1.0"
|
||||
|
||||
[features]
|
||||
-arrayvec = ["arrayvec05"]
|
||||
+#arrayvec = ["arrayvec05"]
|
||||
default = ["derive"]
|
||||
derive = ["schemars_derive"]
|
||||
derive_json_schema = ["impl_json_schema"]
|
||||
@@ -175,4 +161,4 @@ impl_json_schema = ["derive"]
|
||||
indexmap1 = ["indexmap"]
|
||||
preserve_order = ["indexmap"]
|
||||
ui_test = []
|
||||
-uuid = ["uuid08"]
|
||||
+#uuid = ["uuid08"]
|
||||
diff --git a/tests/arrayvec.rs b/tests/arrayvec.rs
|
||||
index b00b395..e32d1a7 100644
|
||||
--- a/tests/arrayvec.rs
|
||||
+++ b/tests/arrayvec.rs
|
||||
@@ -1,16 +1,6 @@
|
||||
mod util;
|
||||
use util::*;
|
||||
|
||||
-#[test]
|
||||
-fn arrayvec05() -> TestResult {
|
||||
- test_default_generated_schema::<arrayvec05::ArrayVec<[i32; 16]>>("arrayvec")
|
||||
-}
|
||||
-
|
||||
-#[test]
|
||||
-fn arrayvec05_string() -> TestResult {
|
||||
- test_default_generated_schema::<arrayvec05::ArrayString<[u8; 16]>>("arrayvec_string")
|
||||
-}
|
||||
-
|
||||
#[test]
|
||||
fn arrayvec07() -> TestResult {
|
||||
test_default_generated_schema::<arrayvec07::ArrayVec<i32, 16>>("arrayvec")
|
||||
diff --git a/tests/uuid.rs b/tests/uuid.rs
|
||||
index bd673b5..77e92c2 100644
|
||||
--- a/tests/uuid.rs
|
||||
+++ b/tests/uuid.rs
|
||||
@@ -1,11 +1,6 @@
|
||||
mod util;
|
||||
use util::*;
|
||||
|
||||
-#[test]
|
||||
-fn uuid08() -> TestResult {
|
||||
- test_default_generated_schema::<uuid08::Uuid>("uuid")
|
||||
-}
|
||||
-
|
||||
#[test]
|
||||
fn uuid1() -> TestResult {
|
||||
test_default_generated_schema::<uuid1::Uuid>("uuid")
|
1
src/schemars/debian/patches/series
Normal file
1
src/schemars/debian/patches/series
Normal file
@ -0,0 +1 @@
|
||||
disable-old-version-features.patch
|
Loading…
Reference in New Issue
Block a user