summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2023-03-17 10:50:56 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2023-03-17 10:50:56 +0900
commit8b4d452088e440f34bb61a341e7cf83b01ac3d67 (patch)
tree68ad9a5f574e1ae94d4f4b2b16fb51167e0fdd61
downloadrust-bssl-sys-upstream.tar.gz
rust-bssl-sys-upstream.tar.bz2
rust-bssl-sys-upstream.zip
Import bssl-sys 0.1.0upstream/0.1.0upstream
-rw-r--r--.cargo_vcs_info.json6
-rw-r--r--.gitignore2
-rw-r--r--Cargo.toml19
-rw-r--r--Cargo.toml.orig7
-rw-r--r--README.md9
-rw-r--r--src/lib.rs1
6 files changed, 44 insertions, 0 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
new file mode 100644
index 0000000..3f7857e
--- /dev/null
+++ b/.cargo_vcs_info.json
@@ -0,0 +1,6 @@
+{
+ "git": {
+ "sha1": "0d2780c02a2f7ad9057c91899fe09dff60de2fb3"
+ },
+ "path_in_vcs": ""
+} \ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4fffb2f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/target
+/Cargo.lock
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..5421419
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,19 @@
+# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
+#
+# When uploading crates to the registry Cargo will automatically
+# "normalize" Cargo.toml files for maximal compatibility
+# with all versions of Cargo and also rewrite `path` dependencies
+# to registry (e.g., crates.io) dependencies.
+#
+# If you are reading this file be aware that the original Cargo.toml
+# will likely look very different (and much more reasonable).
+# See Cargo.toml.orig for the original contents.
+
+[package]
+edition = "2021"
+name = "bssl-sys"
+version = "0.1.0"
+description = "Placeholder package for boringssl bindings"
+readme = "README.md"
+license = "MIT"
+resolver = "2"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
new file mode 100644
index 0000000..efb520a
--- /dev/null
+++ b/Cargo.toml.orig
@@ -0,0 +1,7 @@
+[package]
+name = "bssl-sys"
+version = "0.1.0"
+edition = "2021"
+license = "MIT"
+description = "Placeholder package for boringssl bindings"
+readme = "README.md"
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..7a87d79
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+`bssl-sys` is generated by building `boringssl` with `-DRUST_BINDINGS=<target>`.
+
+You are intended to inject the resulting package into your build, either by path
+if you depend on it directly, or via `.cargo/config` if you depend indirectly
+through `openssl` or a similar package.
+
+This placeholder package is here to prevent others from populating this crate on
+crates.io and tricking users who have not configured their build properly into
+downloading it.
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..da5a59d
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1 @@
+compile_error!("This is a placeholder package not intended for use - see README.md");