Skip to content

Commit 6dc62ca

Browse files
authored
merge: pull request #11 from namib-project/bump-version-022
Bump version to 0.2.2 and update copyright notices
2 parents 658efa6 + 9e9f491 commit 6dc62ca

30 files changed

+142
-39
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# SPDX-License-Identifier: EPL-1.0 OR BSD-3-CLAUSE
1+
# SPDX-License-Identifier: BSD-2-Clause
2+
# Cargo.toml for the libcoap-rs repository.
3+
# This file is part of the libcoap-rs library, see the README and LICENSE files for
4+
# more information and terms of use.
5+
# Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
6+
# See the README as well as the LICENSE file for more information.
27
[workspace]
38
members = [
49
"libcoap",

LICENSE-BSD-2-CLAUSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2021 The NAMIB Project Developers
3+
Copyright © 2021-2023 The NAMIB Project Developers
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without
@@ -22,4 +22,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2222
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2323
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2424
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

libcoap-sys/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# SPDX-License-Identifier: BSD-2-Clause
22
# Cargo.toml for libcoap-sys
3-
# Copyright (c) 2021-2022 The NAMIB Project Developers, all rights reserved.
4-
# See the README as well as the LICENSE file for more information.
3+
# This file is part of the libcoap-sys crate, see the README and LICENSE files for
4+
# more information and terms of use.
5+
# Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
56

67
[package]
78
name = "libcoap-sys"
89
description = "Raw bindings to the libcoap CoAP library."
9-
version = "0.2.1+libcoap-4.3.1"
10+
version = "0.2.2+libcoap-4.3.1"
1011
edition = "2021"
1112
license = "BSD-2-Clause AND BSD-1-Clause"
1213
links = "coap-3"

libcoap-sys/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// SPDX-License-Identifier: BSD-2-CLAUSE
22
/*
33
* build.rs - build script for libcoap Rust bindings.
4-
* Copyright (c) 2021 The NAMIB Project Developers, all rights reserved.
4+
* This file is part of the libcoap-sys crate, see the README and LICENSE files for
5+
* more information and terms of use.
6+
* Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
57
* See the README as well as the LICENSE file for more information.
68
*/
79

libcoap-sys/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
// SPDX-License-Identifier: BSD-2-Clause
22
/*
33
* lib.rs - Main library entry point for raw libcoap bindings.
4-
* Copyright (c) 2021-2022 The NAMIB Project Developers, all rights reserved.
4+
* This file is part of the libcoap-sys crate, see the README and LICENSE files for
5+
* more information and terms of use.
6+
* Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
57
* See the README as well as the LICENSE file for more information.
68
*/
9+
710
//! Auto-generated unsafe bindings to [libcoap](https://github.com/obgm/libcoap), generated using
811
//! [bindgen](https://crates.io/crates/bindgen).
912
//!

libcoap-sys/src/wrapper.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// SPDX-License-Identifier: BSD-2-Clause
22
/*
33
* wrapper.h - wrapper header to generate libcoap Rust bindings using bindgen
4-
* Copyright (c) 2021 The NAMIB Project Developers, all rights reserved.
4+
* This file is part of the libcoap-sys crate, see the README and LICENSE files for
5+
* more information and terms of use.
6+
* Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
57
* See the README as well as the LICENSE file for more information.
68
*/
9+
710
#include <coap3/coap.h>

libcoap/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# SPDX-License-Identifier: BSD-2-Clause
22
# Cargo.toml for libcoap
3-
# Copyright (c) 2022 The NAMIB Project Developers, all rights reserved.
4-
# See the README as well as the LICENSE file for more information.
3+
# This file is part of the libcoap-rs crate, see the README and LICENSE files for
4+
# more information and terms of use.
5+
# Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
56

67
[package]
78
name = "libcoap-rs"
89
description = "An idiomatic wrapper around the libcoap CoAP library for Rust."
9-
version = "0.2.1"
10+
version = "0.2.2"
1011
edition = "2021"
1112
license = "BSD-2-Clause"
1213
readme = "README.md"
@@ -27,7 +28,7 @@ nightly = []
2728
vendored = ["libcoap-sys/vendored"]
2829

2930
[dependencies]
30-
libcoap-sys = { version = "^0.2.1", path = "../libcoap-sys" }
31+
libcoap-sys = { version = "^0.2.2", path = "../libcoap-sys" }
3132
libc = { version = "^0.2.95" }
3233
num-derive = { version = "^0.3.3" }
3334
num-traits = { version = "^0.2.14" }

libcoap/src/context.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
// SPDX-License-Identifier: BSD-2-Clause
22
/*
33
* context.rs - CoAP context related code.
4-
* Copyright (c) 2022 The NAMIB Project Developers, all rights reserved.
4+
* This file is part of the libcoap-rs crate, see the README and LICENSE files for
5+
* more information and terms of use.
6+
* Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
57
* See the README as well as the LICENSE file for more information.
68
*/
9+
710
//! Module containing context-internal types and traits.
811
912
use std::{any::Any, ffi::c_void, fmt::Debug, marker::PhantomData, net::SocketAddr, ops::Sub, time::Duration};

libcoap/src/crypto.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
// SPDX-License-Identifier: BSD-2-Clause
22
/*
33
* crypto.rs - CoAP cryptography provider interfaces and types.
4-
* Copyright (c) 2022 The NAMIB Project Developers, all rights reserved.
4+
* This file is part of the libcoap-rs crate, see the README and LICENSE files for
5+
* more information and terms of use.
6+
* Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
57
* See the README as well as the LICENSE file for more information.
68
*/
9+
710
//! Cryptography provider interfaces and types
811
912
use std::{

libcoap/src/error.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
// SPDX-License-Identifier: BSD-2-Clause
22
/*
33
* error.rs - CoAP error types.
4-
* Copyright (c) 2022 The NAMIB Project Developers, all rights reserved.
4+
* This file is part of the libcoap-rs crate, see the README and LICENSE files for
5+
* more information and terms of use.
6+
* Copyright © 2021-2023 The NAMIB Project Developers, all rights reserved.
57
* See the README as well as the LICENSE file for more information.
68
*/
9+
710
//! Error types
11+
812
use std::string::FromUtf8Error;
913

1014
use thiserror::Error;

0 commit comments

Comments
 (0)