1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
# 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 = "sourceview5"
version = "0.10.0"
authors = ["Bilal Elmoussaoui <bil.elmoussaoui@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for GtkSourceView 5"
homepage = "https://world.pages.gitlab.gnome.org/Rust/sourceview5-rs/"
documentation = "https://world.pages.gitlab.gnome.org/Rust/sourceview5-rs/stable/latest/docs/sourceview5"
readme = "README.md"
keywords = [
"gtk4-rs",
"gnome",
"sourceview",
"ffi",
"GUI",
]
categories = [
"api-bindings",
"gui",
]
license-file = "LICENSE"
repository = "https://gitlab.gnome.org/World/Rust/sourceview5-rs/"
[package.metadata.docs.rs]
all-features = true
rustc-args = [
"--cfg",
"docsrs",
]
rustdoc-args = [
"--cfg",
"docsrs",
"--generate-link-to-definition",
]
[features]
default = []
gtk_v4_12 = ["gtk/v4_12"]
gtk_v4_14 = ["gtk/v4_14"]
gtk_v4_18 = ["gtk/v4_18"]
gtk_v4_6 = [
"gtk/v4_6",
"pango/v1_50",
]
v5_10 = [
"v5_6",
"ffi/v5_10",
]
v5_12 = [
"v5_10",
"ffi/v5_12",
]
v5_16 = [
"v5_12",
"ffi/v5_16",
]
v5_18 = [
"v5_16",
"ffi/v5_18",
]
v5_2 = ["ffi/v5_2"]
v5_4 = [
"v5_2",
"ffi/v5_4",
"gtk_v4_6",
]
v5_6 = [
"v5_4",
"ffi/v5_6",
]
[lib]
name = "sourceview5"
path = "src/lib.rs"
[dependencies.ffi]
version = "0.10"
package = "sourceview5-sys"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-core]
version = "0.3"
default-features = false
[dependencies.gdk]
version = "0.10"
package = "gdk4"
[dependencies.gdk-pixbuf]
version = "0.21"
[dependencies.gio]
version = "0.21"
[dependencies.glib]
version = "0.21"
[dependencies.gtk]
version = "0.10"
package = "gtk4"
[dependencies.libc]
version = "0.2"
[dependencies.pango]
version = "0.21"
|