diff options
Diffstat (limited to 'toolkit/library/rust/shared')
-rw-r--r-- | toolkit/library/rust/shared/Cargo.toml | 20 | ||||
-rw-r--r-- | toolkit/library/rust/shared/lib.rs | 7 |
2 files changed, 27 insertions, 0 deletions
diff --git a/toolkit/library/rust/shared/Cargo.toml b/toolkit/library/rust/shared/Cargo.toml new file mode 100644 index 000000000..07e735755 --- /dev/null +++ b/toolkit/library/rust/shared/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "gkrust-shared" +version = "0.1.0" +authors = ["nobody@mozilla.org"] +license = "MPL-2.0" +description = "Shared Rust code for libxul" + +[dependencies] +mp4parse_capi = { path = "../../../../media/libstagefright/binding/mp4parse_capi" } +nsstring = { path = "../../../../xpcom/rust/nsstring" } +rust_url_capi = { path = "../../../../netwerk/base/rust-url-capi" } + +[lib] +path = "lib.rs" +test = false +doctest = false +bench = false +doc = false +plugin = false +harness = false diff --git a/toolkit/library/rust/shared/lib.rs b/toolkit/library/rust/shared/lib.rs new file mode 100644 index 000000000..838b9f379 --- /dev/null +++ b/toolkit/library/rust/shared/lib.rs @@ -0,0 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +extern crate mp4parse_capi; +extern crate nsstring; +extern crate rust_url_capi; |