1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies
7#
8# If you believe there's an error in this file please file an
9# issue against the rust-lang/cargo repository. If you're
10# editing this file be aware that the upstream Cargo.toml
11# will likely look very different (and much more reasonable)
12
13[package]
14edition = "2018"
15name = "oso"
16version = "0.12.4"
17authors = ["Oso Security, Inc. <support@osohq.com>"]
18description = "oso is an open source policy engine for authorization that’s embedded in your application"
19homepage = "https://github.com/osohq/oso"
20readme = "README.md"
21license = "Apache-2.0"
22
23[lib]
24bench = false
25
26[[bin]]
27name = "oso"
28path = "src/repl.rs"
29required-features = ["cli"]
30
31[[example]]
32name = "blog"
33path = "examples/blog.rs"
34required-features = ["anyhow"]
35
36[[bench]]
37name = "bench"
38harness = false
39[dependencies.anyhow]
40version = "1.0.38"
41optional = true
42
43[dependencies.clap]
44version = "2.33.3"
45optional = true
46
47[dependencies.impl-trait-for-tuples]
48version = "0.2.0"
49
50[dependencies.lazy_static]
51version = "1.4.0"
52
53[dependencies.maplit]
54version = "1.0.2"
55
56[dependencies.oso-derive]
57version = "=0.12.4"
58optional = true
59
60[dependencies.polar-core]
61version = "=0.12.4"
62
63[dependencies.rustyline]
64version = "7.1.0"
65optional = true
66
67[dependencies.rustyline-derive]
68version = "0.4.0"
69optional = true
70
71[dependencies.thiserror]
72version = "1.0.23"
73
74[dependencies.tracing]
75version = "0.1.22"
76features = ["log"]
77
78[dependencies.tracing-subscriber]
79version = "0.2.15"
80features = ["fmt"]
81
82[dependencies.uuid-06]
83version = "0.6.5"
84optional = true
85package = "uuid"
86
87[dependencies.uuid-07]
88version = ">=0.7.0, <0.9.0"
89optional = true
90package = "uuid"
91[dev-dependencies.anyhow]
92version = "1.0.38"
93
94[dev-dependencies.criterion]
95version = "0.3.3"
96
97[dev-dependencies.oso-derive]
98version = "=0.12.4"
99
100[dev-dependencies.static_assertions]
101version = "1.1.0"
102
103[dev-dependencies.tempfile]
104version = "3.2.0"
105
106[features]
107cli = ["rustyline", "rustyline-derive", "anyhow", "clap"]
108default = ["derive"]
109derive = ["oso-derive"]
110