diff --git a/Cargo.lock b/Cargo.lock index d548549f..eca78ec1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -470,7 +470,7 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cozo" -version = "0.1.7" +version = "0.2.0" dependencies = [ "approx", "base64", @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "cozo-lib-wasm" -version = "0.1.0" +version = "0.2.0" dependencies = [ "console_error_panic_hook", "cozo", @@ -530,7 +530,7 @@ dependencies = [ [[package]] name = "cozo-node" -version = "0.1.6" +version = "0.2.0" dependencies = [ "cozo", "lazy_static", @@ -539,7 +539,7 @@ dependencies = [ [[package]] name = "cozo-swift" -version = "0.1.0" +version = "0.2.0" dependencies = [ "cozo", "swift-bridge", @@ -548,7 +548,7 @@ dependencies = [ [[package]] name = "cozo_c" -version = "0.1.3" +version = "0.2.0" dependencies = [ "cbindgen", "cozo", @@ -557,7 +557,7 @@ dependencies = [ [[package]] name = "cozo_java" -version = "0.1.3" +version = "0.2.0" dependencies = [ "cozo", "jni", @@ -566,7 +566,7 @@ dependencies = [ [[package]] name = "cozo_py_module" -version = "0.1.7" +version = "0.2.0" dependencies = [ "cozo", "pyo3", @@ -589,7 +589,7 @@ dependencies = [ [[package]] name = "cozoserver" -version = "0.1.0" +version = "0.2.0" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 17c211b1..77858b2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,3 @@ -#[profile.release] -#lto = true - [workspace] members = [ "cozo-core", diff --git a/VERSION b/VERSION new file mode 100644 index 00000000..341cf11f --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.2.0 \ No newline at end of file diff --git a/build-release-mac.sh b/build-release-mac.sh index b229808f..f0b91570 100755 --- a/build-release-mac.sh +++ b/build-release-mac.sh @@ -2,20 +2,35 @@ set -e -VERSION=$(cat ./Cargo.toml | grep -E "^version" | grep -Eo '[0-9.]+') -ARCH=$(uname -m) +VERSION=$(cat ./VERSION) -rm -fr release -mkdir release +#rm -fr release +mkdir -p release -cargo build --release -cargo build --release --manifest-path=cozo-lib-c/Cargo.toml -cargo build --release --manifest-path=cozo-lib-java/Cargo.toml +for TARGET in x86_64-apple-darwin aarch64-apple-darwin; do + # standalone, c, java, nodejs + CARGO_PROFILE_RELEASE_LTO=fat cargo build --release -p cozoserver -p cozo_c -p cozo_java -p cozo-node -F compact -F storage-rocksdb --target $TARGET + cp target/$TARGET/release/cozoserver release/cozoserver-$VERSION-$TARGET # standalone + cp target/$TARGET/release/libcozo_c.a release/libcozo_c-$VERSION-$TARGET.a # c static + cp target/$TARGET/release/libcozo_c.dylib release/libcozo_c-$VERSION-$TARGET.dylib # c dynamic + cp target/$TARGET/release/libcozo_java.dylib release/libcozo_java-$VERSION-$TARGET.dylib # java + cp target/$TARGET/release/libcozo_node.dylib release/libcozo_node-$VERSION-$TARGET.dylib # nodejs -cp target/release/cozoserver release/cozoserver-${VERSION}-mac-${ARCH} -cp target/release/libcozo_c.a release/libcozo_c-${VERSION}-mac-${ARCH}.a -cp target/release/libcozo_c.dylib release/libcozo_c-${VERSION}-mac-${ARCH}.dylib -cp target/release/libcozo_java.dylib release/libcozo_java-${VERSION}-mac-${ARCH}.dylib -strip release/cozoserver-${VERSION}-mac-${ARCH} + # python + cd cozo-lib-python + CARGO_PROFILE_RELEASE_LTO=fat PYO3_NO_PYTHON=1 maturin build -F compact -F storage-rocksdb --release --strip --target $TARGET + cd .. +done -gzip release/* \ No newline at end of file +# copy python +cp target/wheels/*.whl release/ + +# swift +cd cozo-lib-swift +CARGO_PROFILE_RELEASE_LTO=fat ./build-rust.sh +cd .. + +# WASM +cd cozo-lib-wasm +CARGO_PROFILE_RELEASE_LTO=fat ./build.sh +cd .. diff --git a/cozo-core/Cargo.toml b/cozo-core/Cargo.toml index be9a4277..16e7ba6f 100644 --- a/cozo-core/Cargo.toml +++ b/cozo-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo" -version = "0.1.7" +version = "0.2.0" edition = "2021" description = "A general-purpose, transactional, relational database that uses Datalog and focuses on graph data and algorithms" authors = ["Ziyang Hu"] @@ -9,12 +9,9 @@ homepage = "https://github.com/cozodb/cozo" repository = "https://github.com/cozodb/cozo" documentation = "https://cozodb.github.io/current/manual" exclude = [ - "docs/*", "tests/*", ] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [features] #! # Features diff --git a/cozo-lib-c/Cargo.toml b/cozo-lib-c/Cargo.toml index 7d76d6bf..9b599650 100644 --- a/cozo-lib-c/Cargo.toml +++ b/cozo-lib-c/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo_c" -version = "0.1.3" +version = "0.2.0" edition = "2021" license = "MPL-2.0" homepage = "https://github.com/cozodb/cozo" @@ -42,7 +42,7 @@ nothread = ["cozo/nothread"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cozo = { version = "0.1.2", path = "../cozo-core", default_features = false } +cozo = { version = "0.2.0", path = "../cozo-core", default_features = false } lazy_static = "1.4.0" [build-dependencies] diff --git a/cozo-lib-java/Cargo.toml b/cozo-lib-java/Cargo.toml index 7ec5c17b..c5181752 100644 --- a/cozo-lib-java/Cargo.toml +++ b/cozo-lib-java/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cozo_java" -version = "0.1.3" +version = "0.2.0" edition = "2021" license = "MPL-2.0" homepage = "https://github.com/cozodb/cozo" @@ -21,5 +21,5 @@ io-uring = ["cozo/io-uring"] [dependencies] jni = "0.20.0" # , features = ["compact"] -cozo = { version = "0.1.3", path = "../cozo-core", default_features = false, features = ["compact"] } +cozo = { version = "0.2.0", path = "../cozo-core", default_features = false, features = ["compact"] } lazy_static = "1.4.0" diff --git a/cozo-lib-nodejs/Cargo.toml b/cozo-lib-nodejs/Cargo.toml index b8e99481..f77f819a 100644 --- a/cozo-lib-nodejs/Cargo.toml +++ b/cozo-lib-nodejs/Cargo.toml @@ -1,9 +1,12 @@ [package] name = "cozo-node" -version = "0.1.6" +version = "0.2.0" description = "Cozo database for NodeJS" authors = ["Ziyang Hu"] -license = "MIT/Apache-2.0/BSD-3-Clause" +license = "MPL-2.0" +homepage = "https://github.com/cozodb/cozo" +repository = "https://github.com/cozodb/cozo" +documentation = "https://cozodb.github.io/current/manual" edition = "2021" exclude = ["index.node"] @@ -41,7 +44,7 @@ nothread = ["cozo/nothread"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cozo = { version = "0.1.7", path = "../cozo-core", default-features = false } +cozo = { version = "0.2.0", path = "../cozo-core", default-features = false } lazy_static = "1.4.0" [dependencies.neon] diff --git a/cozo-lib-nodejs/LICENSE.txt b/cozo-lib-nodejs/LICENSE.txt deleted file mode 100644 index 82d84369..00000000 --- a/cozo-lib-nodejs/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Ziyang Hu - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/cozo-lib-nodejs/index.js b/cozo-lib-nodejs/index.js index 962555cd..1463693c 100644 --- a/cozo-lib-nodejs/index.js +++ b/cozo-lib-nodejs/index.js @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + const binary = require('@mapbox/node-pre-gyp'); const path = require('path'); const binding_path = binary.find(path.resolve(path.join(__dirname, './package.json'))); diff --git a/cozo-lib-nodejs/src/lib.rs b/cozo-lib-nodejs/src/lib.rs index c3e76980..93d6bc60 100644 --- a/cozo-lib-nodejs/src/lib.rs +++ b/cozo-lib-nodejs/src/lib.rs @@ -1,5 +1,9 @@ /* - * Copyright 2022, The Cozo Project Authors. Licensed under MIT/Apache-2.0/BSD-3-Clause. + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. */ use std::collections::BTreeMap; use std::sync::atomic::{AtomicU32, Ordering}; diff --git a/cozo-lib-python/Cargo.toml b/cozo-lib-python/Cargo.toml index fba86de5..5ee824b5 100644 --- a/cozo-lib-python/Cargo.toml +++ b/cozo-lib-python/Cargo.toml @@ -1,7 +1,13 @@ [package] name = "cozo_py_module" -version = "0.1.7" +version = "0.2.0" edition = "2021" +description = "Cozo database for python" +authors = ["Ziyang Hu"] +license = "MPL-2.0" +homepage = "https://github.com/cozodb/cozo" +repository = "https://github.com/cozodb/cozo" +documentation = "https://cozodb.github.io/current/manual" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -39,5 +45,5 @@ nothread = ["cozo/nothread"] [dependencies] +cozo = { version = "0.2.0", path = "../cozo-core", default-features = false } pyo3 = { version = "0.17.1", features = ["extension-module", "abi3", "abi3-py37"] } -cozo = { version = "0.1.7", path = "../cozo-core", default-features = false } diff --git a/cozo-lib-python/LICENSE.txt b/cozo-lib-python/LICENSE.txt deleted file mode 100644 index 82d84369..00000000 --- a/cozo-lib-python/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Ziyang Hu - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/cozo-lib-python/src/lib.rs b/cozo-lib-python/src/lib.rs index a3e98a83..6d416287 100644 --- a/cozo-lib-python/src/lib.rs +++ b/cozo-lib-python/src/lib.rs @@ -1,5 +1,9 @@ /* - * Copyright 2022, The Cozo Project Authors. Licensed under MIT/Apache-2.0/BSD-3-Clause. + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. */ use pyo3::exceptions::PyException; diff --git a/cozo-lib-swift/Cargo.toml b/cozo-lib-swift/Cargo.toml index d2ee49eb..955778a0 100644 --- a/cozo-lib-swift/Cargo.toml +++ b/cozo-lib-swift/Cargo.toml @@ -1,7 +1,13 @@ [package] name = "cozo-swift" -version = "0.1.0" +version = "0.2.0" edition = "2021" +description = "Cozo database for Swift" +authors = ["Ziyang Hu"] +license = "MPL-2.0" +homepage = "https://github.com/cozodb/cozo" +repository = "https://github.com/cozodb/cozo" +documentation = "https://cozodb.github.io/current/manual" [lib] crate-type = ["staticlib"] @@ -17,5 +23,5 @@ io-uring = ["cozo/io-uring"] swift-bridge-build = "0.1.41" [dependencies] +cozo = { version = "0.2.0", path = "../cozo-core", default-features = false, features = ["compact"] } swift-bridge = "0.1.41" -cozo = { version = "0.1.7", path = "../cozo-core", default-features = false, features = ["compact"] } diff --git a/cozo-lib-swift/build-rust.sh b/cozo-lib-swift/build-rust.sh index ef0b3ab5..ff110fa2 100755 --- a/cozo-lib-swift/build-rust.sh +++ b/cozo-lib-swift/build-rust.sh @@ -6,8 +6,8 @@ cd $THISDIR export SWIFT_BRIDGE_OUT_DIR="$(pwd)/generated" # Build the project for the desired platforms: -cargo build -p cozo-swift --target x86_64-apple-darwin --release -cargo build -p cozo-swift --target aarch64-apple-darwin --release +cargo build -p cozo-swift -F storage-rocksdb --target x86_64-apple-darwin --release +cargo build -p cozo-swift -F storage-rocksdb --target aarch64-apple-darwin --release mkdir -p ../target/universal-macos/release lipo \ @@ -16,9 +16,9 @@ lipo \ ../target/universal-macos/release/libcozo_swift.a cargo build -p cozo-swift --target aarch64-apple-ios --release - cargo build -p cozo-swift --target x86_64-apple-ios --release cargo build -p cozo-swift --target aarch64-apple-ios-sim --release + mkdir -p ../target/universal-ios/release lipo \ diff --git a/cozo-lib-swift/src/lib.rs b/cozo-lib-swift/src/lib.rs index ef3bfae7..4697656c 100644 --- a/cozo-lib-swift/src/lib.rs +++ b/cozo-lib-swift/src/lib.rs @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + use cozo::*; #[swift_bridge::bridge] diff --git a/cozo-lib-wasm/Cargo.toml b/cozo-lib-wasm/Cargo.toml index 34cd350d..f9b3d3f8 100644 --- a/cozo-lib-wasm/Cargo.toml +++ b/cozo-lib-wasm/Cargo.toml @@ -1,9 +1,13 @@ [package] name = "cozo-lib-wasm" -version = "0.1.0" -authors = ["Ziyang Hu "] +version = "0.2.0" edition = "2021" +description = "Cozo database for WASM" +authors = ["Ziyang Hu"] license = "MPL-2.0" +homepage = "https://github.com/cozodb/cozo" +repository = "https://github.com/cozodb/cozo" +documentation = "https://cozodb.github.io/current/manual" [lib] crate-type = ["cdylib", "rlib"] @@ -13,7 +17,7 @@ default = ["console_error_panic_hook"] [dependencies] wasm-bindgen = "0.2.63" -cozo = { version = "0.1.7", path = "../cozo-core", default-features = false, features = ["wasm", "graph-algo", "nothread"] } +cozo = { version = "0.2.0", path = "../cozo-core", default-features = false, features = ["wasm", "graph-algo", "nothread"] } # The `console_error_panic_hook` crate provides better debugging of panics by # logging them with `console.error`. This is great for development, but requires diff --git a/cozo-lib-wasm/wasm-react-demo/public/index.html b/cozo-lib-wasm/wasm-react-demo/public/index.html index 39ceedcb..9b127af5 100644 --- a/cozo-lib-wasm/wasm-react-demo/public/index.html +++ b/cozo-lib-wasm/wasm-react-demo/public/index.html @@ -1,3 +1,11 @@ + + diff --git a/cozo-lib-wasm/wasm-react-demo/src/App.css b/cozo-lib-wasm/wasm-react-demo/src/App.css index 4901669c..4093f56b 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/App.css +++ b/cozo-lib-wasm/wasm-react-demo/src/App.css @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + @import "~normalize.css"; @import "~@blueprintjs/core/lib/css/blueprint.css"; diff --git a/cozo-lib-wasm/wasm-react-demo/src/App.js b/cozo-lib-wasm/wasm-react-demo/src/App.js index 3278cdcf..da9d8e1e 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/App.js +++ b/cozo-lib-wasm/wasm-react-demo/src/App.js @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + import './App.css'; import {Button, Intent, Tag, TextArea} from "@blueprintjs/core"; import {Cell, Column, Table2} from "@blueprintjs/table"; diff --git a/cozo-lib-wasm/wasm-react-demo/src/App.test.js b/cozo-lib-wasm/wasm-react-demo/src/App.test.js index 1f03afee..134dcc00 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/App.test.js +++ b/cozo-lib-wasm/wasm-react-demo/src/App.test.js @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + import { render, screen } from '@testing-library/react'; import App from './App'; diff --git a/cozo-lib-wasm/wasm-react-demo/src/index.css b/cozo-lib-wasm/wasm-react-demo/src/index.css index ec2585e8..9dc1c7ae 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/index.css +++ b/cozo-lib-wasm/wasm-react-demo/src/index.css @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', diff --git a/cozo-lib-wasm/wasm-react-demo/src/index.js b/cozo-lib-wasm/wasm-react-demo/src/index.js index d563c0fb..be95b604 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/index.js +++ b/cozo-lib-wasm/wasm-react-demo/src/index.js @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; diff --git a/cozo-lib-wasm/wasm-react-demo/src/logo.svg b/cozo-lib-wasm/wasm-react-demo/src/logo.svg deleted file mode 100644 index 9dfc1c05..00000000 --- a/cozo-lib-wasm/wasm-react-demo/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/cozo-lib-wasm/wasm-react-demo/src/reportWebVitals.js b/cozo-lib-wasm/wasm-react-demo/src/reportWebVitals.js index 5253d3ad..a3182e32 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/reportWebVitals.js +++ b/cozo-lib-wasm/wasm-react-demo/src/reportWebVitals.js @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { diff --git a/cozo-lib-wasm/wasm-react-demo/src/setupTests.js b/cozo-lib-wasm/wasm-react-demo/src/setupTests.js index 8f2609b7..e80415f2 100644 --- a/cozo-lib-wasm/wasm-react-demo/src/setupTests.js +++ b/cozo-lib-wasm/wasm-react-demo/src/setupTests.js @@ -1,3 +1,11 @@ +/* + * Copyright 2022, The Cozo Project Authors. + * + * 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 https://mozilla.org/MPL/2.0/. + */ + // jest-dom adds custom jest matchers for asserting on DOM nodes. // allows you to do things like: // expect(element).toHaveTextContent(/react/i) diff --git a/cozoserver/Cargo.toml b/cozoserver/Cargo.toml index ef7f2321..4e7e1e5f 100644 --- a/cozoserver/Cargo.toml +++ b/cozoserver/Cargo.toml @@ -1,8 +1,13 @@ [package] name = "cozoserver" -version = "0.1.0" +version = "0.2.0" edition = "2021" license = "MPL-2.0" +description = "Standalone Cozo database" +authors = ["Ziyang Hu"] +homepage = "https://github.com/cozodb/cozo" +repository = "https://github.com/cozodb/cozo" +documentation = "https://cozodb.github.io/current/manual" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -37,7 +42,7 @@ nothread = ["cozo/nothread"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cozo = { version = "0.1.7", path = "../cozo-core", default-features = false } +cozo = { version = "0.2.0", path = "../cozo-core", default-features = false } clap = { version = "3.2.8", features = ["derive"] } rouille = "3.5.0" env_logger = "0.9.3"