Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd600e03 authored by Carlos Martinez Romero's avatar Carlos Martinez Romero Committed by Android (Google) Code Review
Browse files

Merge "Add the basic files needed for an empty library." into main

parents c655e036 43d9afcc
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
# libbufferstreams: Reactive Streams for Graphics Buffers

This library is currently **experimental** and **under active development**.
It is not production ready yet.

For more information on reactive streams, please see <https://www.reactive-streams.org/>

## Contributing

This library is natively written in Rust and exposes a C API. If you make changes to the Rust API,
you **must** update the C API in turn. To do so, with cbindgen installed, run:

```$ ./update_include.sh```
+13 −0
Original line number Diff line number Diff line
/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */

#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>


/**
 * This function will print Hello World.
 */
bool hello(void);
+23 −0
Original line number Diff line number Diff line
// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

rust_library {
    name: "libbufferstreams",
    crate_name: "bufferstreams",
    srcs: ["src/lib.rs"],
    edition: "2021",
    vendor_available: true,
    host_supported: true,
    min_sdk_version: "30",
}
+7 −0
Original line number Diff line number Diff line
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3

[[package]]
name = "bufferstreams"
version = "0.1.0"
+6 −0
Original line number Diff line number Diff line
[package]
name = "bufferstreams"
version = "0.1.0"
edition = "2021"

[dependencies]
Loading